Note: This isn't working now that Microsoft dropped the old Microsoft JVM.
The program just does what this MSDN article describes.
Or just put this in a text file, import it with the registry editor, and reboot.
[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