Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Suggestion] Support for extra mouse buttons
UCyborg Offline
Junior Member

Posts: 2
Threads: 2
Joined: Sep 2013
Reputation: 0
#1
Solved: 10 Years, 2 Months ago [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
Find




Users browsing this thread: 1 Guest(s)