예제 #1
0
파일: GamePad.java 프로젝트: a0r10n/Robot9
 /**
  * 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();
 }
예제 #3
0
 public boolean get() {
   return (joy.getPOV(0) == 90);
 }
예제 #4
0
 @Override
 public DirectionalAxis getDPad(int pad) {
   return () -> joystick.getPOV(pad);
 }