diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-17 13:02:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-17 13:02:19 +0200 |
commit | a60e2085b64eb9f16dc275a49585b31e061b0e43 (patch) | |
tree | c01999e39daae08687a55135787c340102fc1e1a /platform/windows/key_mapping_windows.cpp | |
parent | 8b66a12820a4d6a1148cabbd60fa94c9db204da9 (diff) | |
parent | 42e619c01e26bdf85f458a8f86498112adf2eee2 (diff) |
Merge pull request #62000 from gregcsokas/master
Diffstat (limited to 'platform/windows/key_mapping_windows.cpp')
-rw-r--r-- | platform/windows/key_mapping_windows.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/platform/windows/key_mapping_windows.cpp b/platform/windows/key_mapping_windows.cpp index e32dc0d1a6..2d8d68a575 100644 --- a/platform/windows/key_mapping_windows.cpp +++ b/platform/windows/key_mapping_windows.cpp @@ -179,7 +179,14 @@ static _WinTranslatePair _vk_to_keycode[] = { { Key::F14, VK_F14 }, // (0x7D) { Key::F15, VK_F15 }, // (0x7E) { Key::F16, VK_F16 }, // (0x7F) - // We have no mappings for F17-F24. (0x80-87) + { Key::F17, VK_F17 }, // (0x80) + { Key::F18, VK_F18 }, // (0x81) + { Key::F19, VK_F19 }, // (0x82) + { Key::F20, VK_F20 }, // (0x83) + { Key::F21, VK_F21 }, // (0x84) + { Key::F22, VK_F22 }, // (0x85) + { Key::F23, VK_F23 }, // (0x86) + { Key::F24, VK_F24 }, // (0x87) // 0x88-8F are reserved for UI navigation. { Key::NUMLOCK, VK_NUMLOCK }, // (0x90) { Key::SCROLLLOCK, VK_SCROLL }, // (0x91) @@ -409,6 +416,14 @@ static _WinTranslatePair _scancode_to_keycode[] = { { Key::F14, 0x65 }, { Key::F15, 0x66 }, { Key::F16, 0x67 }, + { Key::F17, 0x68 }, + { Key::F18, 0x69 }, + { Key::F19, 0x6A }, + { Key::F20, 0x6B }, + { Key::F21, 0x6C }, + { Key::F22, 0x6D }, + { Key::F23, 0x6E }, + { Key::F24, 0x76 }, { Key::UNKNOWN, 0 } }; |