mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-07 20:09:59 +03:00
fix formatting
This commit is contained in:
@@ -182,7 +182,8 @@ impl VirtualInput {
|
|||||||
}
|
}
|
||||||
PointerEvent::AxisDiscrete120 { axis, value } => {
|
PointerEvent::AxisDiscrete120 { axis, value } => {
|
||||||
let axis: Axis = (axis as u32).try_into()?;
|
let axis: Axis = (axis as u32).try_into()?;
|
||||||
self.pointer.axis_discrete(0, axis, value as f64 / 6., value / 120);
|
self.pointer
|
||||||
|
.axis_discrete(0, axis, value as f64 / 6., value / 120);
|
||||||
self.pointer.frame();
|
self.pointer.frame();
|
||||||
}
|
}
|
||||||
PointerEvent::Frame {} => self.pointer.frame(),
|
PointerEvent::Frame {} => self.pointer.frame(),
|
||||||
|
|||||||
Reference in New Issue
Block a user