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 464 - Add SDL_BUTTON_X1 and SDL_BUTTON_X2
Summary: Add SDL_BUTTON_X1 and SDL_BUTTON_X2
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 1.2.12
Hardware: x86 Windows (All)
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-20 22:52 UTC by hexapodia
Modified: 2007-12-28 22:09 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 hexapodia 2007-07-20 22:52:55 UTC
WM_XBUTTON support was added to SDL 1.2.12, but no new macros were added to SDL_mouse.h.  As a result, users have to say SDL_BUTTON_WHEELDOWN + XBUTTON1 or SDL_BUTTON_WHEELDOWN + XBUTTON2.  Instead, SDL_BUTTON_X1 and SDL_BUTTON_X2 macros (or whatever) should be provided.
Comment 1 hexapodia 2007-07-20 23:06:22 UTC
Also, users have to say SDL_BUTTON_RIGHT + XBUTTON1 (etc.) in SDL SVN.
Comment 2 Sam Lantinga 2007-12-28 22:09:56 UTC
This is fixed with revision 3479.  Thanks!