squidge
April 20th, 2003, 15:38
I've gone and purchased a Logitech Navigator keyboard. Mainly because it was black and suited the rest of my setup.
It comes with several special added function keys along the top, labeled with things like "Email", "Messenger", "Webcam", "Shopping", etc, and also contains some multi media type buttons in the middle for volume control, volume mute/etc.
I figured I could use some of these buttons for something of more use, like frequently accessed webpages and programs. This is fine as the keyboard comes with a configuration program that allows you to redefine these keys.
However, the response to these keys is very sluggish, and the program itself also turns my function keys into annoying "enhanced keys" by giving them commands like "My Documents folder", "My Pictures Folder". This I hate.
So my first idea was to write a keyboard hook routine that would give me the scan codes of these keys so I can modify them in the hook to do what I want and get rid of the utility program. One small snag with this is that even with the WH_KEYBOARD_LL (lowlevel) keyboard hooks, no scan codes are reported for these keys.
I'm now thinking that these keys must either be filtered off by the driver and passed to the utility program in some other method (perhaps windows messages or events). So my best cause of action would be to hack up the driver to add scan codes for these keys so my keyboard hook routine can parse them.
Now, I've never hacked a keyboard driver before, so just wondering if anyone has any clues as to how they work, or possibly any URL's of websites that may help?
It comes with several special added function keys along the top, labeled with things like "Email", "Messenger", "Webcam", "Shopping", etc, and also contains some multi media type buttons in the middle for volume control, volume mute/etc.
I figured I could use some of these buttons for something of more use, like frequently accessed webpages and programs. This is fine as the keyboard comes with a configuration program that allows you to redefine these keys.
However, the response to these keys is very sluggish, and the program itself also turns my function keys into annoying "enhanced keys" by giving them commands like "My Documents folder", "My Pictures Folder". This I hate.
So my first idea was to write a keyboard hook routine that would give me the scan codes of these keys so I can modify them in the hook to do what I want and get rid of the utility program. One small snag with this is that even with the WH_KEYBOARD_LL (lowlevel) keyboard hooks, no scan codes are reported for these keys.
I'm now thinking that these keys must either be filtered off by the driver and passed to the utility program in some other method (perhaps windows messages or events). So my best cause of action would be to hack up the driver to add scan codes for these keys so my keyboard hook routine can parse them.
Now, I've never hacked a keyboard driver before, so just wondering if anyone has any clues as to how they work, or possibly any URL's of websites that may help?