Give new name to left-Backslash key on 102-keys keyboard
Original Reporter info from Mantis: Alextp
-
Reporter name: CudaText man
Original Reporter info from Mantis: Alextp
- Reporter name: CudaText man
Description:
https://github.com/Alexey-T/CudaText/issues/2923
User wants to use left Backslash for special action.
Key code for it: 226=$E2
ShortcutToText maps it to ''.
Bad!
Let's map it to new name.
https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.keys?view=netcore-3.1
From this page I suggest "OemBackslash'.
Patch is easy. LCLProc.pas
This line is ok:
'\', // 0xdc - VK_OEM_5 - Can vary by keyboard, US keyboard, the '\|' key
This line to fix:
'\', // 0xe2 - VK_OEM_102 - Either the angle bracket key or the backslash key on the RT 102-key keyboard
Mantis conversion info:
- Mantis ID: 37966
- Version: 2.1 (SVN)
- Fixed in revision: r64304 (#ac604986)