mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 22:53:23 +00:00
wayland: Set APPLICATION scancode name to Menu
This mimics the behavior of the other platforms.
This commit is contained in:
parent
14695a714f
commit
6c06f5ce93
1 changed files with 2 additions and 0 deletions
|
|
@ -25,6 +25,7 @@
|
|||
#include "../SDL_sysvideo.h"
|
||||
#include "SDL_waylandvideo.h"
|
||||
#include "SDL_waylandevents_c.h"
|
||||
#include "../../events/SDL_keyboard_c.h"
|
||||
#include "text-input-unstable-v3-client-protocol.h"
|
||||
|
||||
int Wayland_InitKeyboard(_THIS)
|
||||
|
|
@ -35,6 +36,7 @@ int Wayland_InitKeyboard(_THIS)
|
|||
SDL_IME_Init();
|
||||
}
|
||||
#endif
|
||||
SDL_SetScancodeName(SDL_SCANCODE_APPLICATION, "Menu");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue