JoyButtonEvent constructor

const JoyButtonEvent(
  1. Sdl sdl,
  2. int timestamp,
  3. int joystickId,
  4. int button,
  5. PressedState state,
)

Create an event.

Implementation

const JoyButtonEvent(
  final Sdl sdl,
  final int timestamp,
  final int joystickId,
  this.button,
  this.state,
) : super(sdl: sdl, timestamp: timestamp, joystickId: joystickId);