Making a mouse driver/handler..
I have a 4-button logitech mouse and I wanted to customize the buttons alittle more than the driver that I have allows. Or, if you know of a driver that I can download that already does this, please let me know.
I'm a Starcraft fan and I thought it would be cool to customize the 4th button to do A+click (which would do an "attack-move" in the game). Though the driver only allows for stuff like double click, scrolling, etc. So, I thought I could add that functionality.
What kind of functions and API calls would I need to use to make an event handler for when the 4th button is pressed? And how would you put the "A" key in the keyboard buffer? Code would be very helpful, but all I would need would just be what functions and such to use so I can look them up on the internet and stuff.