platform: sdl: fix right mouse button issuing wrong key code
This commit is contained in:
parent
6f2fda427e
commit
81c4acab66
1 changed files with 2 additions and 2 deletions
|
@ -283,10 +283,10 @@ static void SDLash_MouseEvent( SDL_MouseButtonEvent button )
|
||||||
case SDL_BUTTON_LEFT:
|
case SDL_BUTTON_LEFT:
|
||||||
IN_MouseEvent( 0, down );
|
IN_MouseEvent( 0, down );
|
||||||
break;
|
break;
|
||||||
case SDL_BUTTON_MIDDLE:
|
case SDL_BUTTON_RIGHT:
|
||||||
IN_MouseEvent( 1, down );
|
IN_MouseEvent( 1, down );
|
||||||
break;
|
break;
|
||||||
case SDL_BUTTON_RIGHT:
|
case SDL_BUTTON_MIDDLE:
|
||||||
IN_MouseEvent( 2, down );
|
IN_MouseEvent( 2, down );
|
||||||
break;
|
break;
|
||||||
case SDL_BUTTON_X1:
|
case SDL_BUTTON_X1:
|
||||||
|
|
Loading…
Add table
Reference in a new issue