Sfoglia il codice sorgente

wayland: Add an xkb_keysym_t->SDL_Keycode mapping for backspace

Ethan Lee 3 anni fa
parent
commit
a75c6150e0
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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 {