Add SDL_SCANCODE_SOFTLEFT and SDL_SCANCODE_SOFTRIGHT

This commit is contained in:
Cameron Cawley 2022-05-05 13:31:26 +01:00 committed by Sam Lantinga
parent f871c178b9
commit 2bc373622b
5 changed files with 30 additions and 5 deletions

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() */