Change:
<!-- Do Not Delete This! bugreporttemplate --<!-- Please read our Rules of Conduct: --<!-- Read our guide about submitting issues: --<!-- Search existing issues to avoid creating duplicates. --<!-- Test using the latest Insiders build to see if your issue has already been fixed: --<!-- Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --<!-- Launch with to check. --Does this issue occur when all extensions are disabled?: Yes/No Yes <!-- If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --<!-- Issues caused by an extension need to be reported directly to the extension publisher. The 'Help Report Issue' dialog can assist with this. --- VS Code Version: 1.78.1 OS Version: Windows 11 x64 Steps to Reproduce: Try to map a key to F20 through F24 to any command. "Unknown" will show when pressing that key to capture a keybinding The key is not mapped. Issue comes from this pull request - , F20 thru F24 should be mapped. See attached video that F19 works fine, the remaining button presses that show 'unknown' are F20 through F24.
can you please do , press F19, then F20, then copy the output here?
Keyboard Shortcuts Troubleshooting Output 2023-05-11 10:12:44.670 [info] [KeybindingService]: / Soft dispatching keyboard event 2023-05-11 10:12:44.670 [info] [KeybindingService]: | Resolving F19 2023-05-11 10:12:44.670 [info] [KeybindingService]:  No keybinding entries. 2023-05-11 10:12:44.671 [info] [KeybindingService]: / Received keydown event - modifiers: [], code: F19, keyCode: 130, key: F19 2023-05-11 10:12:44.671 [info] [KeybindingService]: | Converted keydown event - modifiers: [], code: F19, keyCode: 77 ('F19') 2023-05-11 10:12:44.672 [info] [KeybindingService]: | Resolving F19 2023-05-11 10:12:44.672 [info] [KeybindingService]:  No keybinding entries. 2023-05-11 10:12:45.341 [info] [KeybindingService]: / Soft dispatching keyboard event 2023-05-11 10:12:45.342 [info] [KeybindingService]:  Keyboard event cannot be dispatched 2023-05-11 10:12:45.342 [info] [KeybindingService]: / Received keydown event - modifiers: [], code: F20, keyCode: 131, key: F20 2023-05-11 10:12:45.342 [info] [KeybindingService]: | Converted keydown event - modifiers: [], code: F20, keyCode: 0 ('unknown') 2023-05-11 10:12:45.342 [info] [KeybindingService]:  Keyboard event cannot be dispatched in keydown phase.
perfect
<!-- AUTHORVERIFICATIONREQUEST --This bug has been fixed in the latest release of ! you can help us out by commenting if things are now working as expected. If things still don't seem right, please ensure you're on version of Insiders (today's or later - you can use in the command palette to check), and leave a comment letting us know what isn't working as expected. Happy Coding!

Discussion:
(function () { // See https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx <del> // See https://github.com/microsoft/node-native-keymap/blob/master/deps/chromium/keyboard_codes_win.h </del> <ins> // See https://github.com/microsoft/node-native-keymap/blob/88c0b0e5/deps/chromium/keyboard_codes_win.h </ins> const empty = ''; type IMappingEntry = [0 | 1, ScanCode, string, KeyCode, string, number, string, string, string];

[1, ScanCode.F17, 'F17', KeyCode.F17, 'F17', 128, 'VK_F17', empty, empty], [1, ScanCode.F18, 'F18', KeyCode.F18, 'F18', 129, 'VK_F18', empty, empty], [1, ScanCode.F19, 'F19', KeyCode.F19, 'F19', 130, 'VK_F19', empty, empty], <del> [1, ScanCode.F20, 'F20', KeyCode.F20, 'F20', 0, 'VK_F20', empty, empty], [1, ScanCode.F21, 'F21', KeyCode.F21, 'F21', 0, 'VK_F21', empty, empty], [1, ScanCode.F22, 'F22', KeyCode.F22, 'F22', 0, 'VK_F22', empty, empty], [1, ScanCode.F23, 'F23', KeyCode.F23, 'F23', 0, 'VK_F23', empty, empty], [1, ScanCode.F24, 'F24', KeyCode.F24, 'F24', 0, 'VK_F24', empty, empty], </del> <ins> [1, ScanCode.F20, 'F20', KeyCode.F20, 'F20', 131, 'VK_F20', empty, empty], [1, ScanCode.F21, 'F21', KeyCode.F21, 'F21', 132, 'VK_F21', empty, empty], [1, ScanCode.F22, 'F22', KeyCode.F22, 'F22', 133, 'VK_F22', empty, empty], [1, ScanCode.F23, 'F23', KeyCode.F23, 'F23', 134, 'VK_F23', empty, empty], [1, ScanCode.F24, 'F24', KeyCode.F24, 'F24', 135, 'VK_F24', empty, empty], </ins> [1, ScanCode.Open, 'Open', KeyCode.Unknown, empty, 0, empty, empty, empty], [1, ScanCode.Help, 'Help', KeyCode.Unknown, empty, 0, empty, empty, empty], [1, ScanCode.Select, 'Select', KeyCode.Unknown, empty, 0, empty, empty, empty],