diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2022-09-02 12:54:34 +0200 |
---|---|---|
committer | Niklas Haas <github-daiK1o@haasn.dev> | 2022-09-02 14:05:46 +0200 |
commit | c5e5fba632399e166aa768c1b5666ea3a3c3e923 (patch) | |
tree | de9018a2164951f692be6fcd6eb3ca42ce26a0e4 | |
parent | 103efdd6142d727b495d07993469d7ffd639ae9c (diff) | |
download | mpv-c5e5fba632399e166aa768c1b5666ea3a3c3e923.tar.bz2 mpv-c5e5fba632399e166aa768c1b5666ea3a3c3e923.tar.xz |
w32: add support for F13-F24 keys
Fixes #10595
-rw-r--r-- | osdep/w32_keyboard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/osdep/w32_keyboard.c b/osdep/w32_keyboard.c index c298f1f6bd..7423f87a5e 100644 --- a/osdep/w32_keyboard.c +++ b/osdep/w32_keyboard.c @@ -51,6 +51,10 @@ static const struct keymap vk_map[] = { {VK_F4, MP_KEY_F+4}, {VK_F5, MP_KEY_F+5}, {VK_F6, MP_KEY_F+6}, {VK_F7, MP_KEY_F+7}, {VK_F8, MP_KEY_F+8}, {VK_F9, MP_KEY_F+9}, {VK_F10, MP_KEY_F+10}, {VK_F11, MP_KEY_F+11}, {VK_F12, MP_KEY_F+12}, + {VK_F13, MP_KEY_F+13}, {VK_F14, MP_KEY_F+14}, {VK_F15, MP_KEY_F+15}, + {VK_F16, MP_KEY_F+16}, {VK_F17, MP_KEY_F+17}, {VK_F18, MP_KEY_F+18}, + {VK_F19, MP_KEY_F+19}, {VK_F20, MP_KEY_F+20}, {VK_F21, MP_KEY_F+21}, + {VK_F22, MP_KEY_F+22}, {VK_F13, MP_KEY_F+23}, {VK_F24, MP_KEY_F+24}, // numpad with numlock {VK_NUMPAD0, MP_KEY_KP0}, {VK_NUMPAD1, MP_KEY_KP1}, |