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;