Update pygameControls/logitech_f710_controller.py

This commit is contained in:
2025-05-05 09:06:02 +02:00
parent 4c4aed6fa8
commit d5790b538c

View File

@@ -25,10 +25,11 @@ class ConnectionType(Enum):
WIRELESS = 2
class LogitechF710Controller(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.numaxis: int = self.device.get_numaxis()
self.axis: list = []
self.numhats: int = self.device.get_numhats()