joystick property

Joystick joystick

Get the value of a joystick on this controller. SDL Docs

Implementation

Joystick get joystick {
  final ptr = sdl.sdl.SDL_GameControllerGetJoystick(handle);
  return Joystick(sdl, ptr);
}