mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-19 08:23:01 +08:00
fix: mouse forward back (#8705)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
9adc083def
commit
d18e95703e
@ -154,8 +154,8 @@ impl MouseControllable for Enigo {
|
||||
}
|
||||
},
|
||||
match button {
|
||||
MouseButton::Back => XBUTTON1 as u32 * WHEEL_DELTA as u32,
|
||||
MouseButton::Forward => XBUTTON2 as u32 * WHEEL_DELTA as u32,
|
||||
MouseButton::Back => XBUTTON1 as u32,
|
||||
MouseButton::Forward => XBUTTON2 as u32,
|
||||
_ => 0,
|
||||
},
|
||||
0,
|
||||
|
Loading…
Reference in New Issue
Block a user