From d5790b538ced3f181deb093b27855799ff1d7ad1 Mon Sep 17 00:00:00 2001 From: Lerking Date: Mon, 5 May 2025 09:06:02 +0200 Subject: [PATCH] Update pygameControls/logitech_f710_controller.py --- pygameControls/logitech_f710_controller.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pygameControls/logitech_f710_controller.py b/pygameControls/logitech_f710_controller.py index 8cabfa5..29345cc 100644 --- a/pygameControls/logitech_f710_controller.py +++ b/pygameControls/logitech_f710_controller.py @@ -25,10 +25,11 @@ class ConnectionType(Enum): WIRELESS = 2 class LogitechF710Controller(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()