remap ctrl key to capslock in win 10 code example
Example: remap caps lock to ctrl windows 10
// paste the below into a new text file, save it with the .reg extension, double click the file to apply the changes to the registry, then reboot
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00