Skip to content

Commit

Permalink
Update commandgenerichid.py
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebeaulac authored Jan 27, 2024
1 parent e5b4e24 commit c3f3d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands2/button/commandgenerichid.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def button(self, button: int, loop: Optional[EventLoop] = None) -> Trigger:
"""
if loop is None:
loop = CommandScheduler.getInstance().getDefaultButtonLoop()
return Trigger(loop, lambda: self._hid.getRawButtonPressed(button))
return Trigger(loop, lambda: self._hid.getRawButton(button))

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

0 comments on commit c3f3d80

Please sign in to comment.