Update pygameControls/logitech_f510_controller.py
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user