Advanced Mouse Hook

Posted 26 October 2006 - 01:23 PM

I was planning to build a key hook for my new logitech mouse. It's an advanced laser mouse with 7 extra buttons apart from the left right and middle button. The reason for building it myself is that as good as the logitech hardware is, as crappy is their software and i just don't want it in my system (there are easier ways of killing your computer, like surfing the web without a firewall). The problem is that windows doesn't seem to see more than the usual buttons and the scrollwheel (using SetWindowsHookEx with WH_MOUSE_LL as hookid) and perhaps two other buttons if XBUTTON1 and XBUTTON2 is what I think they are.

So the question is: Is there any way to get hold of the rest of the buttons?

Replies To: Advanced Mouse Hook

Re: Advanced Mouse Hook

Posted 26 October 2006 - 01:36 PM

Investigate writing a DirectX module that utilizes DirectInput if you're just using windows. DirectInput has all sorts of nifty mouse things in it, though I'm not familiar with this sort of problem so it may not work for writing something that actually hooks on your mouse.