diff --git a/Stub/miniwin_msg_sdl.cpp b/Stub/miniwin_msg_sdl.cpp index 39b62553a..bcf0b8eff 100644 --- a/Stub/miniwin_msg_sdl.cpp +++ b/Stub/miniwin_msg_sdl.cpp @@ -75,10 +75,11 @@ static int translate_sdl_key(SDL_Keysym key) } } -WPARAM keystate_for_mouse(WPARAM ret) +static WPARAM keystate_for_mouse(WPARAM ret) { const Uint8 *keystate = SDL_GetKeyboardState(NULL); ret |= keystate[SDL_SCANCODE_LSHIFT] ? MK_SHIFT : 0; + ret |= keystate[SDL_SCANCODE_RSHIFT] ? MK_SHIFT : 0; // XXX: other MK_* codes not implemented return ret; }