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