Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

munkie

Any way to universally hook events from entire mouse?

This topic is 5827 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

It''s fairly easy to intercept messages from the left and right mouse buttons, but there are hundreds of different brands/models of mouse controllers out there these days, some with more buttons than others, some with two scroll wheels, etc.. Is there any possible way to find out and create hooks for all the known input points of a mouse controller? Without writing a driver specifically for every mouse out there, that is.. I''m doubtful..but curious..

Share this post


Link to post
Share on other sites
Advertisement
Not really, most mice which have more than three buttons require you to "bind" the other button(s) to special key sequences. You probably couldn''t write your game (or whatever) to specifically use those extra buttons, but a user would bind the extra buttons to special keys (in the mouse driver) and then bind those keys in your game to whatever function they wanted.



If I had my way, I''d have all of you shot!


codeka.com - Just click it.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!