Get the current state of an axis control.
SDL Docs
int getAxis(final int axis) { final value = sdl.sdl.SDL_JoystickGetAxis(handle, axis); if (value == 0) { throw SdlError(0, sdl.getError()); } return value; }