|
|
|
| My servos lock up just thinking of you |
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Joystick Buttons
How would i make an if statement to check the status of the buttons on the joystick.
if (joystick button 9 is pressed){ //do something } Many Thanks ![]() |
|
#2
|
|||||
|
|||||
|
Re: Joystick Buttons
The getRawButton method is what you are looking for.
Last edited by connor.worley : 27-01-2012 at 17:31. Reason: casing. |
|
#3
|
||||
|
||||
|
Re: Joystick Buttons
Thanks you answered my question. It worked
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|