Exemple #1
0
 /**
  * Get the actual instantaneous POV angle value directly from the GamePad.
  *
  * @return Angle in degrees.
  */
 public int GetPOVAngle() {
   return joyStick.getPOV();
 }
 @Override
 public int getPOVAngle() {
   return joystick.getPOV();
 }
Exemple #3
0
 public boolean get() {
   return (joy.getPOV(0) == 90);
 }
 @Override
 public DirectionalAxis getDPad(int pad) {
   return () -> joystick.getPOV(pad);
 }