pygameControls 0.1.3__tar.gz → 0.1.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.
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/PKG-INFO +1 -1
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/pygameControls/controller.py +1 -1
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/pygameControls/xbox_series_x_controller.py +7 -2
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/pygameControls.egg-info/PKG-INFO +1 -1
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/setup.py +1 -1
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/LICENSE +0 -0
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/README.md +0 -0
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/pygameControls/__init__.py +0 -0
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/pygameControls/controlsbase.py +0 -0
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/pygameControls/dualsense_controller.py +0 -0
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/pygameControls/dualsense_edge_controller.py +0 -0
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/pygameControls/generic_controller.py +0 -0
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/pygameControls/logitech_dual_action_controller.py +0 -0
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/pygameControls/logitech_f310_controller.py +0 -0
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/pygameControls/logitech_f510_controller.py +0 -0
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/pygameControls/logitech_f710_controller.py +0 -0
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/pygameControls.egg-info/SOURCES.txt +0 -0
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/pygameControls.egg-info/dependency_links.txt +0 -0
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/pygameControls.egg-info/top_level.txt +0 -0
- {pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/setup.cfg +0 -0
@@ -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.
|
12
|
+
__version__ = "0.1.4"
|
13
13
|
|
14
14
|
CONTROLLERS = {
|
15
15
|
"DualSense Wireless Controller": DualSenseController,
|
@@ -55,9 +55,14 @@ class XboxSeriesXController:
|
|
55
55
|
def pause(self):
|
56
56
|
pass
|
57
57
|
|
58
|
-
def rumble(self):
|
59
|
-
|
58
|
+
def rumble(self, left, right):
|
59
|
+
if not left in range(256) or not right in range(256):
|
60
|
+
raise ValueError("left and right values must be in the range 0 - 255")
|
61
|
+
self.joy.rumble(left, right)
|
60
62
|
|
63
|
+
def stop_rumble(self):
|
64
|
+
self.joy.rumble(0, 0)
|
65
|
+
|
61
66
|
@property
|
62
67
|
def name(self) -> str:
|
63
68
|
return self._name
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pygamecontrols-0.1.3 → pygamecontrols-0.1.4}/pygameControls/logitech_dual_action_controller.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|