PySDL2 is a wrapper around the SDL2 library, a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.
https://github.com/marcusva/py-sdl2
Known issues (pull requests are welcome):
- There are issues when running on slow machine - key events are being
lost (noticed on Mac only so far), see comments in this issue for more details
- Performance is still not perfect, see comments in this issue for further details
- Keyboard modifiers that are not yet handled in this example:
ctrl, marking text inputs with the shift key.
- Backspace key doesn't work on Mac
- Dragging with mouse not implemented
- Window size is fixed, cannot be resized
PySDL2 is a wrapper around the SDL2 library, a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.
https://github.com/marcusva/py-sdl2
Known issues (pull requests are welcome):
lost (noticed on Mac only so far), see comments in this issue for more details
ctrl, marking text inputs with the shift key.