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

A structure containing information on a joystick button event. More...

#include <Event.hpp>

Public Attributes

JoystickID id
 The joystick instance identifier.
uint8 button
 The index of the button.
uint8 state
 The state of the button.

Detailed Description

A structure containing information on a joystick button event.

Definition at line 249 of file Event.hpp.

Member Data Documentation

◆ button

uint8 nom::JoystickButtonEvent::button

The index of the button.

Definition at line 255 of file Event.hpp.

◆ id

JoystickID nom::JoystickButtonEvent::id

The joystick instance identifier.

Definition at line 252 of file Event.hpp.

◆ state

uint8 nom::JoystickButtonEvent::state

The state of the button.

See also
nom::InputState

Definition at line 260 of file Event.hpp.


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