nomlib
Loading...
Searching...
No Matches
nom::JoystickHatEvent Struct Reference

Internal representation of a joystick hat position. More...

#include <Event.hpp>

Public Attributes

JoystickID id
 The joystick instance identifier.
uint8 hat
 The index of the joystick hat.
uint8 value
 The hat position value.

Detailed Description

Internal representation of a joystick hat position.

Definition at line 265 of file Event.hpp.

Member Data Documentation

◆ hat

uint8 nom::JoystickHatEvent::hat

The index of the joystick hat.

See also
nom::JoystickHat

Definition at line 273 of file Event.hpp.

◆ id

JoystickID nom::JoystickHatEvent::id

The joystick instance identifier.

Definition at line 268 of file Event.hpp.

◆ value

uint8 nom::JoystickHatEvent::value

The hat position value.

See also
nom::JoystickHatPosition

Definition at line 278 of file Event.hpp.


The documentation for this struct was generated from the following file: