Explorar el Código

wayland: Add an xkb_keysym_t->SDL_Keycode mapping for backspace

Ethan Lee hace 3 años
padre
commit
a75c6150e0
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/video/wayland/SDL_waylandevents.c

+ 1 - 0
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 {