Update pygameControls/logitech_f310_controller.py

This commit is contained in:
2025-05-05 09:05:13 +02:00
parent 1342f281d7
commit baa3675406

View File

@@ -21,10 +21,11 @@ class InputMode(Enum):
XInput = 2
class LogitechF310Controller(ControlsBase):
def __init__(self, joy):
def __init__(self, joy, connection_type):
self.device = joy
self.instance_id: int = self.device.get_instance_id()
self.name = self.device.get_name()
self.connection_type = connection_type
self.guid = self.device.get_guid()
self.powerlevel = self.device.get_power_level()
self.numaxis: int = self.device.get_numaxes()