Commit a75c6150e08a89ae9eb653c105a35cacf317be5d

Ethan Lee 2022-03-25T01:33:40

wayland: Add an xkb_keysym_t->SDL_Keycode mapping for backspace

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/video/wayland/SDL_waylandevents.c b/src/video/wayland/SDL_waylandevents.c
index 85c46f8..1aac970 100644
--- a/src/video/wayland/SDL_waylandevents.c
+++ b/src/video/wayland/SDL_waylandevents.c
@@ -84,6 +84,7 @@ static const struct {
     { XKB_KEY_Super_R, SDLK_RGUI },
     { XKB_KEY_Hyper_L, SDLK_LGUI },
     { XKB_KEY_Hyper_R, SDLK_RGUI },
+    { XKB_KEY_BackSpace, SDLK_BACKSPACE },
 };
 
 struct SDL_WaylandTouchPoint {