Enumeration of valid key mods (possibly OR'd together).
Defined in SDL_keycode.h
typedef enum SDL_Keymod
{0x0000,
KMOD_NONE = 0x0001,
KMOD_LSHIFT = 0x0002,
KMOD_RSHIFT = 0x0040,
KMOD_LCTRL = 0x0080,
KMOD_RCTRL = 0x0100,
KMOD_LALT = 0x0200,
KMOD_RALT = 0x0400,
KMOD_LGUI = 0x0800,
KMOD_RGUI = 0x1000,
KMOD_NUM = 0x2000,
KMOD_CAPS = 0x4000,
KMOD_MODE = 0x8000,
KMOD_SCROLL =
KMOD_CTRL = KMOD_LCTRL | KMOD_RCTRL,
KMOD_SHIFT = KMOD_LSHIFT | KMOD_RSHIFT,
KMOD_ALT = KMOD_LALT | KMOD_RALT,
KMOD_GUI = KMOD_LGUI | KMOD_RGUI,
/* This is for source-level compatibility with SDL 2.0.0. */
KMOD_RESERVED = KMOD_SCROLL } SDL_Keymod;