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:
ewasylishen 2014-09-22 03:32:19 +00:00
parent 0555bd692e
commit 9ed4c5fd0e
1 changed files with 2 additions and 0 deletions

View File

@ -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
};