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 e9856e2 commit 0a37dcbCopy full SHA for 0a37dcb
input-emulation/src/evdev.rs
@@ -67,7 +67,7 @@ impl Emulation for EvdevEmulation {
67
};
68
// TODO check that the conversion for `value` is right
69
self.dev
70
- .emit(&[*evdev::RelativeAxisEvent::new(axis, value as i32 * 120)])?;
+ .emit(&[*evdev::RelativeAxisEvent::new(axis, value * 120)])?;
71
}
72
},
73
input_event::Event::Keyboard(k) => match k {
0 commit comments