We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b835877 commit b5313eaCopy full SHA for b5313ea
1 file changed
JoycontrolPlugin/commands.py
@@ -13,7 +13,11 @@ class JoycontrolCommands:
13
def __init__(self, controller_state):
14
self.cli = ControllerCLI(controller_state)
15
self.controller_state = controller_state
16
- self.max_stick_power = MAX_STICK_POWER
+ self.__max_stick_power = MAX_STICK_POWER
17
+
18
+ @property
19
+ def max_stick_power(self):
20
+ return self.__max_stick_power
21
22
def __calc_stick_position(self, angle, power):
23
angle = (angle + 180) % 360 * -1
0 commit comments