Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

SDL Middle mouse button issue

4: Adsense

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   

254
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




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.