Add SDL_SCANCODE_CALL and SDL_SCANCODE_ENDCALL

This commit is contained in:
Cameron Cawley
2022-05-05 20:12:07 +01:00
committed by Sam Lantinga
parent 2bc373622b
commit 2f924020e8
5 changed files with 13 additions and 5 deletions

View File

@@ -284,6 +284,8 @@ static const SDL_Keycode SDL_default_keymap[SDL_NUM_SCANCODES] = {
SDLK_AUDIOFASTFORWARD,
SDLK_SOFTLEFT,
SDLK_SOFTRIGHT,
SDLK_CALL,
SDLK_ENDCALL,
};
static const char *SDL_scancode_names[SDL_NUM_SCANCODES] = {
@@ -522,6 +524,8 @@ static const char *SDL_scancode_names[SDL_NUM_SCANCODES] = {
"AudioFastForward",
"SoftLeft",
"SoftRight",
"Call",
"EndCall",
};
/* Taken from SDL_iconv() */