Add SDL_SCANCODE_SOFTLEFT and SDL_SCANCODE_SOFTRIGHT

This commit is contained in:
Cameron Cawley authored and Sam Lantinga committed 2022-05-10 16:12:10 -07:00
1 parent f871c178b9
commit 2bc373622b
5 files changed
+30 -5

No files matched your search

+4
View File
@@ -282,6 +282,8 @@ static const SDL_Keycode SDL_default_keymap[SDL_NUM_SCANCODES] = {
SDLK_APP2,
SDLK_AUDIOREWIND,
SDLK_AUDIOFASTFORWARD,
SDLK_SOFTLEFT,
SDLK_SOFTRIGHT,
};
static const char *SDL_scancode_names[SDL_NUM_SCANCODES] = {
@@ -518,6 +520,8 @@ static const char *SDL_scancode_names[SDL_NUM_SCANCODES] = {
"App2",
"AudioRewind",
"AudioFastForward",
"SoftLeft",
"SoftRight",
};
/* Taken from SDL_iconv() */