18.7Class SDLKMOD
Enumeration for SDL Key Modifiers.
Class SDLKMOD
This enumeration contains the scan key codes that are returned by SDL when querying for a certain key.
The key modifiers are actually bitfields that can be combined through the binary "|" (or) operator.
Key modifiers in this enumeration are:
- SDLKMOD.NONE: No modifiers applicable
- SDLKMOD.NUM: Numlock is down
- SDLKMOD.CAPS: Capslock is down
- SDLKMOD.LCTRL: Left Control is down
- SDLKMOD.RCTRL: Right Control is down
- SDLKMOD.RSHIFT: Right Shift is down
- SDLKMOD.LSHIFT: Left Shift is down
- SDLKMOD.RALT: Right Alt is down
- SDLKMOD.LALT: Left Alt is down
- SDLKMOD.RMETA: Right Meta is down
- SDLKMOD.LMETA: Left Meta is down
- SDLKMOD.CTRL: A Control key is down ( LCTRL | RCTRL )
- SDLKMOD.SHIFT: A Shift key is down ( LSHIFT | RSHIFT )
- SDLKMOD.ALT: An Alt key is down ( LALT | RALT )
- SDLKMOD.META: A meta key is down ( LMETA | RMETA )