I bought the new Microsoft Ergonamic Keyboard 4000, and I want the back and forward buttons to launch View.NavigateBackwards ( Ctrl+ -) and View.NavigateForwards ( Ctrl+ Shift+ -).
By default, the keyboard sends Alt + Right / left arrow for these buttons, but I already have those that are mapped to different commands, so I don’t want to use it.
My first attempt was to edit the keyboard driver with the contrived file "commands.xml" and add
<Application UniqueName="HwndWrapper" >
<C100 Type="5" KeySeq="ctrl -" />
<C101 Type="5" KeySeq="ctrl shift -" />
</Application>
(since I saw that UniqueName should be the target window class, and according to Spy ++, "HwndWrapper" is the name of the window class devenv.exe).
This did not work unfortunately :( Any other ideas>
source
share