Merge pull request #1668 from Cacodemon345/patch-5

Add Windows key mappings to Unix backend
This commit is contained in:
Miran Grča
2021-09-06 20:40:47 +02:00
committed by GitHub

View File

@@ -154,7 +154,11 @@ static const uint16_t sdl_to_xt[0x200] =
[SDL_SCANCODE_KP_2] = 0x50,
[SDL_SCANCODE_KP_1] = 0x4F,
[SDL_SCANCODE_KP_0] = 0x52,
[SDL_SCANCODE_KP_PERIOD] = 0x53
[SDL_SCANCODE_KP_PERIOD] = 0x53,
[SDL_SCANCODE_LGUI] = 0x15B,
[SDL_SCANCODE_RGUI] = 0x15C,
[SDL_SCANCODE_APPLICATION] = 0x15D
};
typedef struct sdl_blit_params