mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-05 23:46:17 +00:00
Handle deadzone better
This commit is contained in:
@@ -38,6 +38,9 @@ public class EvdevHandler extends EvdevReader {
|
||||
this.conn = conn;
|
||||
this.mapping = mapping;
|
||||
|
||||
// We want limelight-common to scale the axis values to match Xinput values
|
||||
ControllerPacket.enableAxisScaling = true;
|
||||
|
||||
absLX = new EvdevAbsolute(device, mapping.abs_x, mapping.reverse_x);
|
||||
absLY = new EvdevAbsolute(device, mapping.abs_y, !mapping.reverse_y);
|
||||
absRX = new EvdevAbsolute(device, mapping.abs_rx, mapping.reverse_rx);
|
||||
|
||||
Reference in New Issue
Block a user