Skip to content

Commit 4ddcadc

Browse files
committed
format
1 parent e929905 commit 4ddcadc

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

commands2/button/commandgenerichid.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -189,19 +189,18 @@ def getRawAxis(self, axis: int) -> float:
189189

190190
def setRumble(type: GenericHID.RumbleType, value: double):
191191
"""
192-
Set the rumble output for the HID.
193-
The DS currently supports 2 rumble values, left rumble and right rumble.
192+
Set the rumble output for the HID.
193+
The DS currently supports 2 rumble values, left rumble and right rumble.
194194
195-
:param type: Which rumble value to set.
196-
:param value: The normalized value (0 to 1) to set the rumble to.
195+
:param type: Which rumble value to set.
196+
:param value: The normalized value (0 to 1) to set the rumble to.
197197
"""
198198
this._hid.setRumble(type, value)
199199

200-
201200
def isConnected():
202201
"""
203-
Get if the HID is connected.
202+
Get if the HID is connected.
204203
205-
:returns: True if the HID is connected.
204+
:returns: True if the HID is connected.
206205
"""
207206
return this._hid.isConnected()

0 commit comments

Comments
 (0)