Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


SDL Middle mouse button issue


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 Ender1618   Members   -  Reputation: 243

Like
0Likes
Like

Posted 24 May 2012 - 02:06 PM

I am writing an app with the latest stable SDL and I am having a problem consistently detecting the middle mouse button event. I am on Win7 64bit, but this is a 32-bit app for now.

The problem is that I have (and alot of people have), a 3 button mouse, where the middle mouse button is also the mouse wheel. I have an action that takes place during a drag of the middle mouse. What I am finding is that due to the middle mouse button also being the wheel that the wheel is often moving slightly when i press middle mouse. This causes me not to receive a middle mouse event. It is happening sporadically but is really annoying to the user. I have confirmed that if the wheel in rolling during a depression of the middle mouse button, that the middle mouse event never gets registered.

Has anyone ever encountered this problem? Any possible solution?

Thanks for any assistance,
Ryan

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS