By editing “HKLMSYSTEMCurrentControlSetControlKeyboard LayoutScancode Map”, I can remap the scancode passed to the applications.
But each time the modification is applied, I must reboot my pc to make the change effecitive.
So is there any method such as a winapi call or restarting the relative process to notify the system that the scancode map is changed and adopt the new remappings?
I have tried restarting the explorer.exe, but it seems doesn’t matter.
The following code block also makes no effect.
SendNotifyMessage( HWND_BROADCAST, WM_SETTINGCHANGE, 0, 0 );
Maybe the scancode map was loaded into the kernel when the system started?
Zymelaii Ryer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.