pygameControls 0.0.7__tar.gz → 0.1.0__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.0.7 → pygamecontrols-0.1.0}/PKG-INFO +1 -1
  2. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/pygameControls/controller.py +1 -1
  3. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/pygameControls/dualsense_controller.py +3 -0
  4. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/pygameControls/dualsense_edge_controller.py +3 -0
  5. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/pygameControls.egg-info/PKG-INFO +1 -1
  6. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/setup.py +1 -1
  7. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/LICENSE +0 -0
  8. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/README.md +0 -0
  9. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/pygameControls/__init__.py +0 -0
  10. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/pygameControls/controlsbase.py +0 -0
  11. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/pygameControls/generic_controller.py +0 -0
  12. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/pygameControls/logitech_dual_action_controller.py +0 -0
  13. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/pygameControls/logitech_f310_controller.py +0 -0
  14. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/pygameControls/logitech_f510_controller.py +0 -0
  15. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/pygameControls/logitech_f710_controller.py +0 -0
  16. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/pygameControls/xbox_series_x_controller.py +0 -0
  17. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/pygameControls.egg-info/SOURCES.txt +0 -0
  18. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/pygameControls.egg-info/dependency_links.txt +0 -0
  19. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/pygameControls.egg-info/top_level.txt +0 -0
  20. {pygamecontrols-0.0.7 → pygamecontrols-0.1.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pygameControls
3
- Version: 0.0.7
3
+ Version: 0.1.0
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.0.7"
12
+ __version__ = "0.1.0"
13
13
 
14
14
  CONTROLLERS = {
15
15
  "DualSense Wireless Controller": DualSenseController,
@@ -49,6 +49,9 @@ class DualSenseController(ControlsBase):
49
49
  print(f"Power level: {self.powerlevel}")
50
50
  print(f"Battery state: {self.batterystate}")
51
51
 
52
+ def __leave__(self):
53
+ self.device.close()
54
+
52
55
  def handle_input(self, event):
53
56
  pass
54
57
 
@@ -41,6 +41,9 @@ class DualSenseEdgeController(ControlsBase):
41
41
  print(f"Power level: {self.powerlevel}")
42
42
  print(f"Battery state: {self.batterystate}")
43
43
 
44
+ def __leave__(self):
45
+ self.device.close()
46
+
44
47
  def handle_input(self, event):
45
48
  pass
46
49
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pygameControls
3
- Version: 0.0.7
3
+ Version: 0.1.0
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.0.7',
6
+ version='0.1.0',
7
7
  packages=find_packages(),
8
8
  install_requires=[],
9
9
  author='Jan Lerking',
File without changes
File without changes
File without changes