Update pygameControls/dualsense_controller.py
This commit is contained in:
@@ -15,6 +15,7 @@ class DualSenseController(ControlsBase):
|
|||||||
self.device = pydualsense()
|
self.device = pydualsense()
|
||||||
self.device.init()
|
self.device.init()
|
||||||
self.name = self.device.device.get_product_string()
|
self.name = self.device.device.get_product_string()
|
||||||
|
self.guid = self.device.get_guid()
|
||||||
self.connection_type = connection_type
|
self.connection_type = connection_type
|
||||||
self.powerlevel = self.device.battery.Level
|
self.powerlevel = self.device.battery.Level
|
||||||
self.batterystate = BATTERY_STATE[str(self.device.battery.State)]
|
self.batterystate = BATTERY_STATE[str(self.device.battery.State)]
|
||||||
|
Reference in New Issue
Block a user