pygameControls 0.1.4__tar.gz → 0.1.6__tar.gz

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.
Files changed (20) hide show
  1. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/PKG-INFO +1 -1
  2. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/pygameControls/controller.py +1 -1
  3. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/pygameControls/controlsbase.py +4 -0
  4. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/pygameControls/generic_controller.py +3 -0
  5. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/pygameControls/logitech_dual_action_controller.py +3 -0
  6. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/pygameControls/logitech_f310_controller.py +3 -0
  7. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/pygameControls/logitech_f510_controller.py +3 -0
  8. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/pygameControls/logitech_f710_controller.py +3 -0
  9. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/pygameControls/xbox_series_x_controller.py +2 -3
  10. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/pygameControls.egg-info/PKG-INFO +1 -1
  11. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/setup.py +1 -1
  12. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/LICENSE +0 -0
  13. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/README.md +0 -0
  14. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/pygameControls/__init__.py +0 -0
  15. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/pygameControls/dualsense_controller.py +0 -0
  16. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/pygameControls/dualsense_edge_controller.py +0 -0
  17. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/pygameControls.egg-info/SOURCES.txt +0 -0
  18. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/pygameControls.egg-info/dependency_links.txt +0 -0
  19. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/pygameControls.egg-info/top_level.txt +0 -0
  20. {pygamecontrols-0.1.4 → pygamecontrols-0.1.6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pygameControls
3
- Version: 0.1.4
3
+ Version: 0.1.6
4
4
  Summary: A simple controller class for pygame.
5
5
  Home-page:
6
6
  Author: Jan Lerking
@@ -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.4"
12
+ __version__ = "0.1.6"
13
13
 
14
14
  CONTROLLERS = {
15
15
  "DualSense Wireless Controller": DualSenseController,
@@ -30,4 +30,8 @@ class ControlsBase(ABC):
30
30
 
31
31
  @abstractmethod
32
32
  def rumble(self):
33
+ pass
34
+
35
+ @abstractmethod
36
+ def stop_rumble(self):
33
37
  pass
@@ -57,6 +57,9 @@ class GenericController(ControlsBase):
57
57
  def rumble(self):
58
58
  pass
59
59
 
60
+ def stop_rumble(self):
61
+ pass
62
+
60
63
  @property
61
64
  def name(self) -> str:
62
65
  return self._name
@@ -78,6 +78,9 @@ class LogitechDualActionController(ControlsBase):
78
78
  def rumble(self):
79
79
  pass
80
80
 
81
+ def stop_rumble(self):
82
+ pass
83
+
81
84
  @property
82
85
  def name(self) -> str:
83
86
  return self._name
@@ -78,6 +78,9 @@ class LogitechF310Controller(ControlsBase):
78
78
  def rumble(self):
79
79
  pass
80
80
 
81
+ def stop_rumble(self):
82
+ pass
83
+
81
84
  @property
82
85
  def name(self) -> str:
83
86
  return self._name
@@ -80,6 +80,9 @@ class LogitechF510Controller(ControlsBase):
80
80
  def rumble(self):
81
81
  pass
82
82
 
83
+ def stop_rumble(self):
84
+ pass
85
+
83
86
  @property
84
87
  def name(self) -> str:
85
88
  return self._name
@@ -80,6 +80,9 @@ class LogitechF710Controller(ControlsBase):
80
80
  def rumble(self):
81
81
  pass
82
82
 
83
+ def stop_rumble(self):
84
+ pass
85
+
83
86
  @property
84
87
  def name(self) -> str:
85
88
  return self._name
@@ -1,7 +1,6 @@
1
- import time
2
- import threading
1
+ from pygameControls.controlsbase import ControlsBase
3
2
 
4
- class XboxSeriesXController:
3
+ class XboxSeriesXController(ControlsBase):
5
4
  def __init__(self, joy):
6
5
  self.device = joy
7
6
  self.instance_id: int = self.device.get_instance_id()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pygameControls
3
- Version: 0.1.4
3
+ Version: 0.1.6
4
4
  Summary: A simple controller class for pygame.
5
5
  Home-page:
6
6
  Author: Jan Lerking
@@ -3,7 +3,7 @@ if __name__ == "__main__":
3
3
 
4
4
  setup(
5
5
  name='pygameControls',
6
- version='0.1.4',
6
+ version='0.1.6',
7
7
  packages=find_packages(),
8
8
  install_requires=[],
9
9
  author='Jan Lerking',
File without changes
File without changes
File without changes