JoyButtonEvent constructor
const
JoyButtonEvent(
- Sdl sdl,
- int timestamp,
- int joystickId,
- int button,
- 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);