mirror of https://github.com/encounter/SDL.git
Restore KMOD_RESERVED for backward compatibility
Some applications check for KMOD_RESERVED but it was replaced with
KMOD_SCROLL in cb1e20b058
.
This commit is contained in:
parent
b161c9ba44
commit
83bb136619
|
@ -343,7 +343,9 @@ typedef enum
|
||||||
KMOD_CTRL = KMOD_LCTRL | KMOD_RCTRL,
|
KMOD_CTRL = KMOD_LCTRL | KMOD_RCTRL,
|
||||||
KMOD_SHIFT = KMOD_LSHIFT | KMOD_RSHIFT,
|
KMOD_SHIFT = KMOD_LSHIFT | KMOD_RSHIFT,
|
||||||
KMOD_ALT = KMOD_LALT | KMOD_RALT,
|
KMOD_ALT = KMOD_LALT | KMOD_RALT,
|
||||||
KMOD_GUI = KMOD_LGUI | KMOD_RGUI
|
KMOD_GUI = KMOD_LGUI | KMOD_RGUI,
|
||||||
|
|
||||||
|
KMOD_RESERVED = KMOD_SCROLL /* This is for source-level compatibility with SDL 2.0.0. */
|
||||||
} SDL_Keymod;
|
} SDL_Keymod;
|
||||||
|
|
||||||
#endif /* SDL_keycode_h_ */
|
#endif /* SDL_keycode_h_ */
|
||||||
|
|
Loading…
Reference in New Issue