Change:
(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];

Discussion:
<!-- 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!