mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-02-16 02:20:42 +00:00
x11: Handle Mouse scroll wheel events
This commit is contained in:
@@ -104,6 +104,12 @@ static int x11_handler(int fd) {
|
||||
case Button3:
|
||||
button = BUTTON_RIGHT;
|
||||
break;
|
||||
case Button4:
|
||||
LiSendScrollEvent(1);
|
||||
break;
|
||||
case Button5:
|
||||
LiSendScrollEvent(-1);
|
||||
break;
|
||||
}
|
||||
|
||||
if (button != 0)
|
||||
|
||||
Reference in New Issue
Block a user