Skip to content

Commit

Permalink
update left and right joystick button ids
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewChoulas committed Feb 20, 2025
1 parent f53b8fb commit 510a883
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/org/team4099/lib/joystick/XboxOneGamepad.kt
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ class XboxOneGamepad(port: Int) : Joystick(port), Gamepad {
get() = this.getRawButton(4)

override val leftJoystickButton: Boolean
get() = this.getRawButton(6)
get() = this.getRawButton(9)

override val rightJoystickButton: Boolean
get() = this.getRawButton(7)
get() = this.getRawButton(10)

override val leftShoulderButton: Boolean
get() = this.getRawButton(5)
Expand Down

0 comments on commit 510a883

Please sign in to comment.