mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-04-21 18:50:44 +00:00
Correct the buttonremap table for SDL2 so K_MOUSE4/K_MOUSE5 work.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1056 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
b4a3fa34a4
commit
3be35611b5
1 changed files with 2 additions and 0 deletions
|
@ -52,8 +52,10 @@ static int buttonremap[] =
|
|||
K_MOUSE1,
|
||||
K_MOUSE3, /* right button */
|
||||
K_MOUSE2, /* middle button */
|
||||
#if !defined(USE_SDL2) /* mousewheel up/down not counted as buttons in SDL2 */
|
||||
K_MWHEELUP,
|
||||
K_MWHEELDOWN,
|
||||
#endif
|
||||
K_MOUSE4,
|
||||
K_MOUSE5
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue