diff options
author | Christoph Heinrich <christoph.heinrich@student.tugraz.at> | 2023-11-11 21:09:05 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-11-11 20:43:12 +0000 |
commit | 7302f871d121610ccf81f0ee3fb1f3ad62524d6f (patch) | |
tree | ebfcc0a1869213a043628d310c18df11be6d9438 /video/out/wayland_common.c | |
parent | 5db7dc08601fe857cfbc59704a2a1078d750e61e (diff) | |
download | mpv-7302f871d121610ccf81f0ee3fb1f3ad62524d6f.tar.bz2 mpv-7302f871d121610ccf81f0ee3fb1f3ad62524d6f.tar.xz |
wayland: fix shift+tab keyboard input
When pressing shift+tab we get 0xfe20 instead of 0xff09, which
corresponds to the XKB_KEY_ISO_Left_Tab define.
Diffstat (limited to 'video/out/wayland_common.c')
-rw-r--r-- | video/out/wayland_common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index c75a1db5de..589135f45f 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -71,10 +71,10 @@ static const struct mp_keymap keymap[] = { /* Special keys */ - {XKB_KEY_Pause, MP_KEY_PAUSE}, {XKB_KEY_Escape, MP_KEY_ESC}, - {XKB_KEY_BackSpace, MP_KEY_BS}, {XKB_KEY_Tab, MP_KEY_TAB}, - {XKB_KEY_Return, MP_KEY_ENTER}, {XKB_KEY_Menu, MP_KEY_MENU}, - {XKB_KEY_Print, MP_KEY_PRINT}, + {XKB_KEY_Pause, MP_KEY_PAUSE}, {XKB_KEY_Escape, MP_KEY_ESC}, + {XKB_KEY_BackSpace, MP_KEY_BS}, {XKB_KEY_Tab, MP_KEY_TAB}, + {XKB_KEY_Return, MP_KEY_ENTER}, {XKB_KEY_Menu, MP_KEY_MENU}, + {XKB_KEY_Print, MP_KEY_PRINT}, {XKB_KEY_ISO_Left_Tab, MP_KEY_TAB}, /* Cursor keys */ {XKB_KEY_Left, MP_KEY_LEFT}, {XKB_KEY_Right, MP_KEY_RIGHT}, |