mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-20 07:24:00 +00:00
x11: Handle Mouse scroll wheel events
This commit is contained in:
1 parent
d54d348cc4
commit
7a2f7130dd
1 file changed
+6
@@ -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