pygameControls 0.1.5__py3-none-any.whl → 0.1.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ from .xbox_series_x_controller import XboxSeriesXController
9
9
  from .generic_controller import GenericController
10
10
  from .logitech_dual_action_controller import LogitechDualActionController
11
11
 
12
- __version__ = "0.1.5"
12
+ __version__ = "0.1.7"
13
13
 
14
14
  CONTROLLERS = {
15
15
  "DualSense Wireless Controller": DualSenseController,
@@ -30,4 +30,12 @@ class ControlsBase(ABC):
30
30
 
31
31
  @abstractmethod
32
32
  def rumble(self):
33
+ pass
34
+
35
+ @abstractmethod
36
+ def stop_rumble(self):
37
+ pass
38
+
39
+ @abstractmethod
40
+ def close(self):
33
41
  pass
@@ -36,6 +36,9 @@ class GenericController(ControlsBase):
36
36
  }
37
37
  print(f"{self.name} connected.")
38
38
 
39
+ def close(self):
40
+ pass
41
+
39
42
  def handle_input(self, event):
40
43
  pass
41
44
 
@@ -57,6 +60,9 @@ class GenericController(ControlsBase):
57
60
  def rumble(self):
58
61
  pass
59
62
 
63
+ def stop_rumble(self):
64
+ pass
65
+
60
66
  @property
61
67
  def name(self) -> str:
62
68
  return self._name
@@ -56,7 +56,10 @@ class LogitechDualActionController(ControlsBase):
56
56
  "logo button": None
57
57
  }
58
58
  print(f"{self.name} connected.")
59
-
59
+
60
+ def close(self):
61
+ pass
62
+
60
63
  def handle_input(self, event):
61
64
  pass
62
65
 
@@ -78,6 +81,9 @@ class LogitechDualActionController(ControlsBase):
78
81
  def rumble(self):
79
82
  pass
80
83
 
84
+ def stop_rumble(self):
85
+ pass
86
+
81
87
  @property
82
88
  def name(self) -> str:
83
89
  return self._name
@@ -57,6 +57,9 @@ class LogitechF310Controller(ControlsBase):
57
57
  }
58
58
  print(f"{self.name} connected.")
59
59
 
60
+ def close(self):
61
+ pass
62
+
60
63
  def handle_input(self, event):
61
64
  pass
62
65
 
@@ -78,6 +81,9 @@ class LogitechF310Controller(ControlsBase):
78
81
  def rumble(self):
79
82
  pass
80
83
 
84
+ def stop_rumble(self):
85
+ pass
86
+
81
87
  @property
82
88
  def name(self) -> str:
83
89
  return self._name
@@ -59,6 +59,9 @@ class LogitechF510Controller(ControlsBase):
59
59
  }
60
60
  print(f"{self.name} connected.")
61
61
 
62
+ def close(self):
63
+ pass
64
+
62
65
  def handle_input(self, event):
63
66
  pass
64
67
 
@@ -80,6 +83,9 @@ class LogitechF510Controller(ControlsBase):
80
83
  def rumble(self):
81
84
  pass
82
85
 
86
+ def stop_rumble(self):
87
+ pass
88
+
83
89
  @property
84
90
  def name(self) -> str:
85
91
  return self._name
@@ -59,6 +59,9 @@ class LogitechF710Controller(ControlsBase):
59
59
  }
60
60
  print(f"{self.name} connected.")
61
61
 
62
+ def close(self):
63
+ pass
64
+
62
65
  def handle_input(self, event):
63
66
  pass
64
67
 
@@ -80,6 +83,9 @@ class LogitechF710Controller(ControlsBase):
80
83
  def rumble(self):
81
84
  pass
82
85
 
86
+ def stop_rumble(self):
87
+ pass
88
+
83
89
  @property
84
90
  def name(self) -> str:
85
91
  return self._name
@@ -36,6 +36,9 @@ class XboxSeriesXController(ControlsBase):
36
36
  }
37
37
  print(f"{self.name} connected.")
38
38
 
39
+ def close(self):
40
+ pass
41
+
39
42
  def handle_input(self, event):
40
43
  pass
41
44
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pygameControls
3
- Version: 0.1.5
3
+ Version: 0.1.7
4
4
  Summary: A simple controller class for pygame.
5
5
  Home-page:
6
6
  Author: Jan Lerking
@@ -0,0 +1,16 @@
1
+ pygameControls/__init__.py,sha256=Ivl6jPIP4xfrBe5kokd2FXP_CLV0bATuV3rorKfDcHI,25
2
+ pygameControls/controller.py,sha256=NN32TDaDGBKRFIspLQKRkIxo81Qd7I4V_gnqHj6SUfY,1257
3
+ pygameControls/controlsbase.py,sha256=2o4gxsbP50IesYv9dye_RKA_2gzStVSH5G0BG5hgnG8,668
4
+ pygameControls/dualsense_controller.py,sha256=Q8zPrkXHp2FCvMof1RFEeHGhhiYbwkEU7WoFSmPfO3c,3453
5
+ pygameControls/dualsense_edge_controller.py,sha256=zV09j3BHffSHsRXI--DH4Cc-h65mBquuAM1NQtQlyhU,3285
6
+ pygameControls/generic_controller.py,sha256=fKMc_ibvm4HeVQwL3xs1SIB2ww0K1XrVlbLNguKC0Co,2162
7
+ pygameControls/logitech_dual_action_controller.py,sha256=zjuNi6rBJNXlflKsEFUjkMOjVp2vd4MKFFzMp6wB75Q,2730
8
+ pygameControls/logitech_f310_controller.py,sha256=gH9ZvAuqpfQXmoDPs3gmkUtE3CLHfgQnwFG_b8VNl5w,2723
9
+ pygameControls/logitech_f510_controller.py,sha256=hiF0unxAcV5FlomUnpCmbZEMWn9DN76jO49TWUsxW7c,3359
10
+ pygameControls/logitech_f710_controller.py,sha256=8lEA95i__M2i7q1_h-JgT6B-hbu5lXbiXRu7O4I_VE8,3359
11
+ pygameControls/xbox_series_x_controller.py,sha256=Vzj_oFDd0grjYXidvQQ08TyGVXRkNfcBds7CR80-pfs,2400
12
+ pygamecontrols-0.1.7.dist-info/licenses/LICENSE,sha256=KQMYrAM921Oeawv1XkqKG3PxDJy9v7wuu1vhr63d2CY,1070
13
+ pygamecontrols-0.1.7.dist-info/METADATA,sha256=yxrQKgYmP-dHvAX4JrDef91us7UWHH9QL6vL5sblkOA,617
14
+ pygamecontrols-0.1.7.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
15
+ pygamecontrols-0.1.7.dist-info/top_level.txt,sha256=Tg86INulVO2XDGUPiQCC68Zsl36kBlr0My-Bn-q04V8,15
16
+ pygamecontrols-0.1.7.dist-info/RECORD,,
@@ -1,16 +0,0 @@
1
- pygameControls/__init__.py,sha256=Ivl6jPIP4xfrBe5kokd2FXP_CLV0bATuV3rorKfDcHI,25
2
- pygameControls/controller.py,sha256=sdverDYQLgPS5VATVepByjEZzdVhOzxuFdqz5ssxow4,1257
3
- pygameControls/controlsbase.py,sha256=dy7AzIjw4ZFP14Dq4QmQdQps5XgoH55vbAacVZYMXRQ,544
4
- pygameControls/dualsense_controller.py,sha256=Q8zPrkXHp2FCvMof1RFEeHGhhiYbwkEU7WoFSmPfO3c,3453
5
- pygameControls/dualsense_edge_controller.py,sha256=zV09j3BHffSHsRXI--DH4Cc-h65mBquuAM1NQtQlyhU,3285
6
- pygameControls/generic_controller.py,sha256=cLcTPq6ghx-GQffdyV4vr-dox-eh12lZ4mD0yyWgy8I,2078
7
- pygameControls/logitech_dual_action_controller.py,sha256=DrkAJrf8QvJlzJSdjes1kwRRjMV87BGyRvv4d9QIH44,2650
8
- pygameControls/logitech_f310_controller.py,sha256=h4ma-ewZfg2w4sKQbrnkMU1IDIWbJOU90sWtpWQcCzE,2639
9
- pygameControls/logitech_f510_controller.py,sha256=Wq8lpYa4yVNwLg72pESa2EszIrCaYFhc6x3JkenZ__8,3275
10
- pygameControls/logitech_f710_controller.py,sha256=Se_0LfcTunzsix0sSx7kNqnuKL5hzybRrnJC3j9LLaw,3275
11
- pygameControls/xbox_series_x_controller.py,sha256=rZQRMIMuVGx71dUb1DEpY9Y8nnI-aftMz5MTdiJxbXo,2361
12
- pygamecontrols-0.1.5.dist-info/licenses/LICENSE,sha256=KQMYrAM921Oeawv1XkqKG3PxDJy9v7wuu1vhr63d2CY,1070
13
- pygamecontrols-0.1.5.dist-info/METADATA,sha256=-PaXYvw6M7RM4n3uyNAi1WFijTr6NDkwNQM9z93D-SE,617
14
- pygamecontrols-0.1.5.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
15
- pygamecontrols-0.1.5.dist-info/top_level.txt,sha256=Tg86INulVO2XDGUPiQCC68Zsl36kBlr0My-Bn-q04V8,15
16
- pygamecontrols-0.1.5.dist-info/RECORD,,