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

Summary: Right and middle mouse buttons not shown by SDL_GetMouseState
Product: SDL Reporter: roger.levy
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: x86_64   
OS: Windows 7   

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