Beispiel #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();
 }
Beispiel #3
0
 public boolean get() {
   return (joy.getPOV(0) == 90);
 }
Beispiel #4
0
 @Override
 public DirectionalAxis getDPad(int pad) {
   return () -> joystick.getPOV(pad);
 }