mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 19:10:37 +00:00
platform: sdl: fix right mouse button issuing wrong key code
This commit is contained in:
parent
6f2fda427e
commit
81c4acab66
@ -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…
x
Reference in New Issue
Block a user