0.2.0 #23

Merged
Lerking merged 57 commits from 0.2.0 into main 2025-05-06 20:50:16 +02:00
Showing only changes of commit 4c4aed6fa8 - Show all commits

View File

@@ -25,10 +25,11 @@ class ConnectionType(Enum):
WIRELESS = 2
class LogitechF510Controller(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()