mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
SDL: Don't use SDLK_UNDO prior to its introduction in SDL-1.2.3
This commit is contained in:
parent
58e96a8755
commit
17c5a0ce44
@ -318,7 +318,9 @@ Common::KeyCode SdlEventSource::SDLToOSystemKeycode(const SDL_Keycode key) {
|
||||
case SDLK_SYSREQ: return Common::KEYCODE_SYSREQ;
|
||||
case SDLK_MENU: return Common::KEYCODE_MENU;
|
||||
case SDLK_POWER: return Common::KEYCODE_POWER;
|
||||
#if SDL_VERSION_ATLEAST(1, 2, 3)
|
||||
case SDLK_UNDO: return Common::KEYCODE_UNDO;
|
||||
#endif
|
||||
#if SDL_VERSION_ATLEAST(2, 0, 0)
|
||||
case SDLK_SCROLLLOCK: return Common::KEYCODE_SCROLLOCK;
|
||||
case SDLK_NUMLOCKCLEAR: return Common::KEYCODE_NUMLOCK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user