Browse Source

wayland: Add an xkb_keysym_t->SDL_Keycode mapping for backspace

Ethan Lee 3 năm trước cách đây
mục cha
commit
a75c6150e0
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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 {