Package com.badlogic.gdx.controllers.desktop.ois.OisJoystick

Examples of com.badlogic.gdx.controllers.desktop.ois.OisJoystick.OisPov


    public float getAxis (int axisIndex) {
      return joystick.getAxis(axisIndex);
    }

    public PovDirection getPov (int povIndex) {
      OisPov pov = joystick.getPov(povIndex);
      switch (pov) {
      case Centered:
        return PovDirection.center;
      case East:
        return PovDirection.east;
View Full Code Here

TOP

Related Classes of com.badlogic.gdx.controllers.desktop.ois.OisJoystick.OisPov

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.