Skip to content

Instantly share code, notes, and snippets.

@ichn-hu
Last active August 5, 2018 16:43
Show Gist options
  • Save ichn-hu/9ada0308698fecd40bcfa7e76ca093aa to your computer and use it in GitHub Desktop.
Save ichn-hu/9ada0308698fecd40bcfa7e76ca093aa to your computer and use it in GitHub Desktop.
Win10 Configuration

Run in powershell:

$hexified = "00,00,00,00,00,00,00,00,03,00,00,00,1d,00,3a,00,3a,00,1d,00,00,00,00,00".Split(',') | % { "0x$_"};
$kbLayout = 'HKLM:\System\CurrentControlSet\Control\Keyboard Layout';
New-ItemProperty -Path $kbLayout -Name "Scancode Map" -PropertyType Binary -Value ([byte[]]$hexified);

Scan code can be found here.

$hexified = "00,00,00,00,00,00,00,00,05,00,00,00,1d,00,3a,00,3a,00,1d,00,55,00,36,00,36,00,55,00,00,00,00,00".Split(',') | % { "0x$_"};
$kbLayout = 'HKLM:\System\CurrentControlSet\Control\Keyboard Layout';
New-ItemProperty -Path $kbLayout -Name "Scancode Map" -PropertyType Binary -Value ([byte[]]$hexified);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment