Bundle SDL2 multimedia library for 2D graphics, input handling, audio playback, and window management. Core types: Window, Renderer, Texture, Surface, Event, and Mixer. Compile with -lib sdl2.
Keymod
Keyboard modifier codes
Items
- KMOD_NONE = 0
- KMOD_LSHIFT = 1
- KMOD_RSHIFT = 2
- KMOD_LCTRL = 64
- KMOD_RCTRL = 128
- KMOD_LALT = 256
- KMOD_RALT = 512
- KMOD_LGUI = 1024
- KMOD_RGUI = 2048
- KMOD_NUM = 4096
- KMOD_CAPS = 8192
- KMOD_MODE = 16384
- KMOD_RESERVED = 32768