Skip to content

Commit c3f3d80

Browse files
Update commandgenerichid.py
1 parent e5b4e24 commit c3f3d80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands2/button/commandgenerichid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def button(self, button: int, loop: Optional[EventLoop] = None) -> Trigger:
3939
"""
4040
if loop is None:
4141
loop = CommandScheduler.getInstance().getDefaultButtonLoop()
42-
return Trigger(loop, lambda: self._hid.getRawButtonPressed(button))
42+
return Trigger(loop, lambda: self._hid.getRawButton(button))
4343

4444
def pov(
4545
self, angle: int, *, pov: int = 0, loop: Optional[EventLoop] = None

0 commit comments

Comments
 (0)