mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 05:34:17 +00:00
Add support for sending X1 and X2 mouse buttons. Fixes #91
This commit is contained in:
parent
22ed7f4e49
commit
1b4e75f49e
2 changed files with 5 additions and 3 deletions
|
@ -426,9 +426,11 @@ void SdlInputHandler::handleMouseButtonEvent(SDL_MouseButtonEvent* event)
|
|||
button = BUTTON_RIGHT;
|
||||
break;
|
||||
case SDL_BUTTON_X1:
|
||||
button = BUTTON_X1;
|
||||
break;
|
||||
case SDL_BUTTON_X2:
|
||||
// Unsupported by GameStream
|
||||
return;
|
||||
button = BUTTON_X2;
|
||||
break;
|
||||
default:
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
||||
"Unhandled button event: %d",
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 487a62f58ce79a4ff455129e0dfcd2ee9da30dd0
|
||||
Subproject commit 558ba488e8eb7a614b6d9a93968c7c69683f942d
|
Loading…
Reference in a new issue