Removed debug prints. /JL
This commit is contained in:
@@ -9,7 +9,7 @@ from .xbox_series_x_controller import XboxSeriesXController
|
||||
from .generic_controller import GenericController
|
||||
from .logitech_dual_action_controller import LogitechDualActionController
|
||||
|
||||
__version__ = "0.0.1"
|
||||
__version__ = "0.0.2"
|
||||
|
||||
CONTROLLERS = {
|
||||
"DualSense Wireless Controller": DualSenseController,
|
||||
|
@@ -13,11 +13,6 @@ class GenericController(ControlsBase):
|
||||
self.hats: list = [self.device.get_hat(h) for h in range(self.numhats)]
|
||||
self.numbuttons: int = self.device.get_numbuttons()
|
||||
self.buttons: list = [self.device.get_button(b) for b in range(self.numbuttons)]
|
||||
print(f"{self.name} connected")
|
||||
print("GUID:", self.guid)
|
||||
print("Axis:", self.numaxis, self.axis)
|
||||
print("Hats:", self.numhats, self.hats)
|
||||
print("Buttons:", self.numbuttons, self.buttons)
|
||||
|
||||
def handle_input(self, event):
|
||||
pass
|
||||
|
@@ -34,12 +34,6 @@ class LogitechDualActionController(ControlsBase):
|
||||
self.numbuttons: int = self.device.get_numbuttons()
|
||||
self.buttons: list = [self.device.get_button(b) for b in range(self.numbuttons)]
|
||||
self.input_mode = InputMode.DirectInput
|
||||
print(f"{self.name} connected")
|
||||
print("GUID:", self.guid)
|
||||
print("Axis:", self.numaxis, self.axis)
|
||||
print("Hats:", self.numhats, self.hats)
|
||||
print("Buttons:", self.numbuttons, self.buttons)
|
||||
print("Input mode:", self.input_mode)
|
||||
|
||||
def handle_input(self, event):
|
||||
pass
|
||||
|
@@ -34,12 +34,6 @@ class LogitechF310Controller(ControlsBase):
|
||||
self.numbuttons: int = self.device.get_numbuttons()
|
||||
self.buttons: list = [self.device.get_button(b) for b in range(self.numbuttons)]
|
||||
self.input_mode = InputMode.XInput
|
||||
print(f"{self.name} connected")
|
||||
print("GUID:", self.guid)
|
||||
print("Axis:", self.numaxis, self.axis)
|
||||
print("Hats:", self.numhats, self.hats)
|
||||
print("Buttons:", self.numbuttons, self.buttons)
|
||||
print("Input mode:", self.input_mode)
|
||||
|
||||
def handle_input(self, event):
|
||||
pass
|
||||
|
@@ -13,11 +13,6 @@ class XboxSeriesXController:
|
||||
self.hats: list = [self.device.get_hat(h) for h in range(self.numhats)]
|
||||
self.numbuttons: int = self.device.get_numbuttons()
|
||||
self.buttons: list = [self.device.get_button(b) for b in range(self.numbuttons)]
|
||||
print(f"{self.name} connected")
|
||||
print("GUID:", self.guid)
|
||||
print("Axis:", self.numaxis, self.axis)
|
||||
print("Hats:", self.numhats, self.hats)
|
||||
print("Buttons:", self.numbuttons, self.buttons)
|
||||
|
||||
def handle_input(self, event):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user