mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-07 20:09:59 +03:00
Compare commits
1 Commits
reset-doub
...
revert-scr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
24ce5803d5 |
@@ -210,7 +210,7 @@ impl VirtualInput {
|
||||
PointerEvent::AxisDiscrete120 { axis, value } => {
|
||||
let axis: Axis = (axis as u32).try_into()?;
|
||||
self.pointer
|
||||
.axis_discrete(now, axis, value as f64 / 8., value);
|
||||
.axis_discrete(now, axis, value as f64 / 8., value / 120);
|
||||
self.pointer.axis_source(AxisSource::Wheel);
|
||||
self.pointer.frame();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user