public static Vector3 getAccelerometerData() {
        return new Vector3(Gdx.input.getAccelerometerX(), Gdx.input.getAccelerometerY(), Gdx.input.getAccelerometerZ());
    }
public static Vector3 getAccelerometerData ( ) { return new Vector3 ( Gdx . input . getAccelerometerX ( ) , Gdx . input . getAccelerometerY ( ) , Gdx . input . getAccelerometerZ ( ) ) ; }
@return a new {@link Vector3} storing current accelerometer data.