We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a0d91b commit 4e5a663Copy full SHA for 4e5a663
input-emulation/src/wlroots.rs
@@ -210,7 +210,7 @@ impl VirtualInput {
210
PointerEvent::AxisDiscrete120 { axis, value } => {
211
let axis: Axis = (axis as u32).try_into()?;
212
self.pointer
213
- .axis_discrete(now, axis, value as f64 / 8., value);
+ .axis_discrete(now, axis, value as f64 / 8., value / 120);
214
self.pointer.axis_source(AxisSource::Wheel);
215
self.pointer.frame();
216
}
0 commit comments