UCyborg
Junior Member
Posts: 2
Threads: 2
Joined: Sep 2013
Reputation:
0
|
[Suggestion] Support for extra mouse buttons
Couldn't decide where to post this since it's a suggestion for an engine feature which would benefit both Amnesia games on all platfroms but anyway, could you guys add support for more mouse buttons? (SDL_BUTTON_X1, SDL_BUTTON_X2, ...)
At least on Windows, for typical 5-button mouse, it's as simple as checking for either SDL_BUTTON_X1 or SDL_BUTTON_X2 when responding to SDL_MOUSEBUTTONDOWN and SDL_MOUSEBUTTONUP events. A bit different for Linux though since those exact same buttons generate a different number for button member of SDL_MouseButtonEvent struct.
(This post was last modified: 09-12-2013, 10:15 PM by UCyborg.)
|
|
09-12-2013, 09:48 PM |
|