JoyHatEvent constructor

const JoyHatEvent({
  1. required Sdl sdl,
  2. required int timestamp,
  3. required int joystickId,
  4. required int hat,
  5. required JoyHatValue value,
})

Create an event.

Implementation

const JoyHatEvent({
  required super.sdl,
  required super.timestamp,
  required super.joystickId,
  required this.hat,
  required this.value,
});