diff --git a/MAVProxy/modules/mavproxy_joystick/controls.py b/MAVProxy/modules/mavproxy_joystick/controls.py index a42bf124bb..146ff5984f 100644 --- a/MAVProxy/modules/mavproxy_joystick/controls.py +++ b/MAVProxy/modules/mavproxy_joystick/controls.py @@ -79,7 +79,7 @@ def value(self): if self.invert: val = -val - return scale(val, outlow=self.outlow, outhigh=self.outhigh) + return scale(val, inlow=self.inlow, inhigh=self.inhigh, outlow=self.outlow, outhigh=self.outhigh) class Hat (Control):