mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
Correct the buttonremap table for SDL2 so K_MOUSE4/K_MOUSE5 work.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1056 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
0555bd692e
commit
9ed4c5fd0e
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