起初,我偶然能够将Page Up和Page Down重新映射为Volume Down和Volume Up。但是,如果我尝试将Volume Down映射到Page Up和Volume Up映射到Page Down相反,则没有效果。是否因为下面的powershell命令仅用于键盘输入?我这样做的原因是因为触摸屏停止在我的Surface RT上工作(以后再也不要购买它了。)
Set-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Keyboard Layout" -name "Scancode Map" -Value ([byte[]](0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x49,0xe0,0x2e,0xe0,0x51,0xe0,0x30,0xe0,0x00,0x00,0x00,0x00))
src:https://wiki.edgarbv.com/index.php/Remapping_Keyboard_Keys