Whenever I call pygame.init()
, the default English keyboard is added to my layout switcher. How can I prevent that? I have tried the answer here, but it doesn't help.
EDIT 2016/12/07: After further testing, I have determined that, of the six modules that pygame initializes in its init method, pygame.display.init
is definitely at least partially to blame. import pygame.display as dsp; dsp.init()
results in the addition of the layout. pygame_sdl2, however, does not exhibit this behavior, although I don't know whether that is simply because whatever part of the pygame.display
module causes this hasn't been implemented yet or because of a meaningful difference in implementation.