We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1078 - Right and middle mouse buttons not shown by SDL_GetMouseState
Summary: Right and middle mouse buttons not shown by SDL_GetMouseState
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.0
Hardware: x86_64 Windows 7
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-21 08:54 UTC by roger.levy
Modified: 2011-02-16 03:43 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description roger.levy 2010-11-21 08:54:36 UTC
Left mouse button is reported, but the other bits are always zero.
Comment 1 Nathaniel J Fries 2011-01-07 17:59:42 UTC
Mouse button state is set by SDL_SendMouseButton, which is set in the win32 event handler, which only handles the left button at presently. Fixing bug #1046 will fix this.
Comment 2 Sam Lantinga 2011-02-16 03:43:45 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/28003ba91f57