Allow the binding of every mouse button by the hotkey system.
This commit is contained in:
parent
ebe2b446ec
commit
2b0770daee
1 changed files with 1 additions and 1 deletions
|
@ -561,7 +561,7 @@ void hotkey_preferences_dialog::show_binding_dialog(
|
|||
|
||||
while ( event.type != SDL_KEYDOWN && event.type != SDL_JOYBUTTONDOWN
|
||||
&& event.type != SDL_JOYHATMOTION
|
||||
&& (event.type != SDL_MOUSEBUTTONDOWN || event.button.button < 4)
|
||||
&& (event.type != SDL_MOUSEBUTTONDOWN )
|
||||
)
|
||||
SDL_PollEvent(&event);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue