JoyAxisEvent constructor
const
JoyAxisEvent({})
Create an event.
Implementation
const JoyAxisEvent({
required super.sdl,
required super.timestamp,
required super.joystickId,
required this.axis,
required this.value,
}) : smallValue =
value < 0 ? (value / 32768) : (value == 0 ? 0.0 : (value / 32767));