pygameControls 0.2.3__tar.gz → 0.2.5__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.3 → pygamecontrols-0.2.5}/PKG-INFO +2 -2
  2. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/README.md +1 -1
  3. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/controller.py +2 -4
  4. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls.egg-info/PKG-INFO +2 -2
  5. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/setup.py +1 -1
  6. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/LICENSE +0 -0
  7. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/__init__.py +0 -0
  8. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/controlsbase.py +0 -0
  9. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/dualsense_controller.py +0 -0
  10. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/dualsense_edge_controller.py +0 -0
  11. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/enums.py +0 -0
  12. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/generic_controller.py +0 -0
  13. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/globals.py +0 -0
  14. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/logitech_dual_action_controller.py +0 -0
  15. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/logitech_f310_controller.py +0 -0
  16. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/logitech_f510_controller.py +0 -0
  17. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/logitech_f710_controller.py +0 -0
  18. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/playstation3_controller.py +0 -0
  19. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/playstation4_controller.py +0 -0
  20. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/sony_playstation3_controller.py +0 -0
  21. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/sony_playstation4_controller.py +0 -0
  22. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/xbox_360_controller.py +0 -0
  23. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls/xbox_series_x_controller.py +0 -0
  24. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls.egg-info/SOURCES.txt +0 -0
  25. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls.egg-info/dependency_links.txt +0 -0
  26. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/pygameControls.egg-info/top_level.txt +0 -0
  27. {pygamecontrols-0.2.3 → pygamecontrols-0.2.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pygameControls
3
- Version: 0.2.3
3
+ Version: 0.2.5
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.3-blue)
27
+ ![Version](https://img.shields.io/badge/version-0.2.5-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.3-blue)
6
+ ![Version](https://img.shields.io/badge/version-0.2.5-blue)
@@ -1,20 +1,18 @@
1
1
  import pygame
2
2
  from . import globals
3
3
 
4
- __version__ = "0.2.3"
4
+ __version__ = "0.2.5"
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
- print(cont)
11
11
  self.controllers.append(cont(joy))
12
12
 
13
13
  def detect_controller(self, guid):
14
14
  for gp in globals.GAMEPADS:
15
- print(gp)
16
15
  for p in globals.GAMEPADS[gp]:
17
- print(p)
18
16
  if p["guid"] != guid:
19
17
  continue
20
18
  return p["class"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pygameControls
3
- Version: 0.2.3
3
+ Version: 0.2.5
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.3-blue)
27
+ ![Version](https://img.shields.io/badge/version-0.2.5-blue)
@@ -3,7 +3,7 @@ if __name__ == "__main__":
3
3
 
4
4
  setup(
5
5
  name='pygameControls',
6
- version='0.2.3',
6
+ version='0.2.5',
7
7
  packages=find_packages(),
8
8
  install_requires=[],
9
9
  author='Jan Lerking',
File without changes
File without changes