pygameControls 0.2.2__tar.gz → 0.2.4__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 (27) hide show
  1. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/PKG-INFO +2 -2
  2. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/README.md +1 -1
  3. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/controller.py +2 -1
  4. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/globals.py +2 -2
  5. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/sony_playstation4_controller.py +2 -6
  6. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls.egg-info/PKG-INFO +2 -2
  7. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/setup.py +1 -1
  8. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/LICENSE +0 -0
  9. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/__init__.py +0 -0
  10. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/controlsbase.py +0 -0
  11. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/dualsense_controller.py +0 -0
  12. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/dualsense_edge_controller.py +0 -0
  13. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/enums.py +0 -0
  14. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/generic_controller.py +0 -0
  15. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/logitech_dual_action_controller.py +0 -0
  16. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/logitech_f310_controller.py +0 -0
  17. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/logitech_f510_controller.py +0 -0
  18. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/logitech_f710_controller.py +0 -0
  19. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/playstation3_controller.py +0 -0
  20. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/playstation4_controller.py +0 -0
  21. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/sony_playstation3_controller.py +0 -0
  22. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/xbox_360_controller.py +0 -0
  23. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls/xbox_series_x_controller.py +0 -0
  24. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls.egg-info/SOURCES.txt +0 -0
  25. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls.egg-info/dependency_links.txt +0 -0
  26. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/pygameControls.egg-info/top_level.txt +0 -0
  27. {pygamecontrols-0.2.2 → pygamecontrols-0.2.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pygameControls
3
- Version: 0.2.2
3
+ Version: 0.2.4
4
4
  Summary: A simple controller class for pygame.
5
5
  Home-page:
6
6
  Author: Jan Lerking
@@ -24,4 +24,4 @@ Dynamic: summary
24
24
  Small module to make it easy to add controller support.
25
25
 
26
26
  ![Tests](https://gitpot-lerking.servehttp.com/api/v1/badges/CodingPirates/PyGame-Controller/workflows/test.yml)
27
- ![Version](https://img.shields.io/badge/version-0.2.2-blue)
27
+ ![Version](https://img.shields.io/badge/version-0.2.4-blue)
@@ -3,4 +3,4 @@
3
3
  Small module to make it easy to add controller support.
4
4
 
5
5
  ![Tests](https://gitpot-lerking.servehttp.com/api/v1/badges/CodingPirates/PyGame-Controller/workflows/test.yml)
6
- ![Version](https://img.shields.io/badge/version-0.2.2-blue)
6
+ ![Version](https://img.shields.io/badge/version-0.2.4-blue)
@@ -1,10 +1,11 @@
1
1
  import pygame
2
2
  from . import globals
3
3
 
4
- __version__ = "0.2.2"
4
+ __version__ = "0.2.4"
5
5
 
6
6
  class Controllers:
7
7
  def __init__(self, joy):
8
+ globals.init()
8
9
  self.controllers = []
9
10
  cont = self.detect_controller(joy.get_guid())
10
11
  print(cont)
@@ -126,10 +126,10 @@ def init():
126
126
  },
127
127
  {
128
128
  "vidpid": "054c:09cc",
129
- "guid": "",
129
+ "guid": "05009b514c050000cc09000000810000",
130
130
  "connection": ConnectionType.BLUETOOTH,
131
131
  "input": InputType.DirectInput,
132
- "name": ["DualShock 4 v2 Controller"],
132
+ "name": ["Wireless Controller"],
133
133
  "class": CONTROLLERS["Sony PLAYSTATION(R)4 Controller"]
134
134
  }
135
135
  ],
@@ -23,12 +23,8 @@ class SonyPlayStation4Controller(ControlsBase):
23
23
  "left stick button": 11,
24
24
  "right stick button": 12,
25
25
  "logo button": 10,
26
- "select button": 8,
27
- "start button": 9,
28
- "down button": 14,
29
- "up button": 13,
30
- "left button": 15,
31
- "right button": 16
26
+ "share button": 8,
27
+ "options button": 9
32
28
  }
33
29
  print(f"{self.name} connected.")
34
30
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pygameControls
3
- Version: 0.2.2
3
+ Version: 0.2.4
4
4
  Summary: A simple controller class for pygame.
5
5
  Home-page:
6
6
  Author: Jan Lerking
@@ -24,4 +24,4 @@ Dynamic: summary
24
24
  Small module to make it easy to add controller support.
25
25
 
26
26
  ![Tests](https://gitpot-lerking.servehttp.com/api/v1/badges/CodingPirates/PyGame-Controller/workflows/test.yml)
27
- ![Version](https://img.shields.io/badge/version-0.2.2-blue)
27
+ ![Version](https://img.shields.io/badge/version-0.2.4-blue)
@@ -3,7 +3,7 @@ if __name__ == "__main__":
3
3
 
4
4
  setup(
5
5
  name='pygameControls',
6
- version='0.2.2',
6
+ version='0.2.4',
7
7
  packages=find_packages(),
8
8
  install_requires=[],
9
9
  author='Jan Lerking',
File without changes
File without changes