Quote:
Originally Posted by wickzam
We tried to use getRawButton in our code but every time we use it there is a problem.
if you could show us an example of a code using getRawButton that would be very helpful.
|
i dont get it. whats your problem
Joystick j = new Joystick(1);
JoystickButton a = new JoystickButton(j,1);
a.whileHeld(new YourCommand());
in command based or
Joystick j = new Joystick(1)
if(j.getRawButton(1)){
do stuff
}
in iterative. both will run when A is pressed