Lines Matching full:gamepad
74 def store_axes(self, which, gamepad, data): argument
77 setattr(gamepad, amap["x"].hid, x)
78 setattr(gamepad, amap["y"].hid, y)
138 gamepad = GamepadData()
140 gamepad.__setattr__(f"b{i}", int(b) if b is not None else 0)
142 self.store_axes("left_stick", gamepad, left)
143 self.store_axes("right_stick", gamepad, right)
144 gamepad.hatswitch = hat_switch # type: ignore ### gamepad is by default empty
146 gamepad, reportID=reportID, application=application
237 def store_right_joystick(self, gamepad, data): argument
238 gamepad.rudder, gamepad.throttle = data