in response to my original intellipoint hacking post, a user with the nym "piyo" submitted even more info on how to bind other custom keystrokes to mouse buttons in intellipoint:

>i am mostly posting this as a courtesy to others who might be googling
>for the same info i was, and coming up empty...


Your post was the first "intellipoint hacking" result on Google. and it helped me with my Intellipoint 6.x problem. I'd like to return the favor:

The keystroke values are actually "virtual key codes". This is documented by Microsoft, for example, VK_TAB is equal to 0x09, VK_BACK (backspace) is equal to 0x08, etc. If you ever wanted to map a mouse key to some rare key like F24 (!) and then get some other key message handler such as AutoHotKey to catch it, you can do so if you know the "virtual key code".

Here is the documentation:
http://msdn2.microsoft.com/en-us/library/ms645540.aspx
http://msdn.microsoft.com/library/...(longassurl).../VirtualKeyCodes.asp

The ALT, CONTROL, SHIFT keys are as follows which I found by experimentation. Add these hexidecimal values with your desired normal key's virtual key code.

ALT == 0x400
CONTROL == 0x200
SHIFT == 0x100

Intellipoint 6.x seems to use the same Registry layout as your example.

Thanks and best regards.


thank you, piyo! im sure this info will help mouse-software-hackers everywhere! :)

i suspect that the key modifiers (alt, shift, control) work like they do in other apps, by adding them together... that is, if you wanted to modify a key with ctrl-alt, you would add 0x600 (0x400 + 0x200) to the keystroke code...