mirror of https://github.com/libsdl-org/SDL
Added missing Windows scancodes
Based on the scancode list at https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_code_values, which is correct for all other scancodes
This commit is contained in:
parent
306c4164bc
commit
00ab4a8eba
|
@ -164,7 +164,7 @@ static const SDL_Scancode windows_scancode_table[] = {
|
|||
/*0xe007*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe008*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe009*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe00a*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe00a*/ SDL_SCANCODE_PASTE,
|
||||
/*0xe00b*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe00c*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe00d*/ SDL_SCANCODE_UNKNOWN,
|
||||
|
@ -177,8 +177,8 @@ static const SDL_Scancode windows_scancode_table[] = {
|
|||
/*0xe014*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe015*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe016*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe017*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe018*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe017*/ SDL_SCANCODE_CUT,
|
||||
/*0xe018*/ SDL_SCANCODE_COPY,
|
||||
/*0xe019*/ SDL_SCANCODE_AUDIONEXT,
|
||||
/*0xe01a*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe01b*/ SDL_SCANCODE_UNKNOWN,
|
||||
|
@ -198,7 +198,7 @@ static const SDL_Scancode windows_scancode_table[] = {
|
|||
/*0xe029*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe02a*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe02b*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe02c*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe02c*/ SDL_SCANCODE_EJECT,
|
||||
/*0xe02d*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe02e*/ SDL_SCANCODE_VOLUMEDOWN,
|
||||
/*0xe02f*/ SDL_SCANCODE_UNKNOWN,
|
||||
|
@ -213,7 +213,7 @@ static const SDL_Scancode windows_scancode_table[] = {
|
|||
/*0xe038*/ SDL_SCANCODE_RALT,
|
||||
/*0xe039*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe03a*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe03b*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe03b*/ SDL_SCANCODE_HELP,
|
||||
/*0xe03c*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe03d*/ SDL_SCANCODE_UNKNOWN,
|
||||
/*0xe03e*/ SDL_SCANCODE_UNKNOWN,
|
||||
|
|
Loading…
Reference in New Issue