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

A structure containing information on a game controller button event. More...

#include <Event.hpp>

Public Attributes

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

Detailed Description

A structure containing information on a game controller button event.

Definition at line 308 of file Event.hpp.

Member Data Documentation

◆ button

int8 nom::GameControllerButtonEvent::button

The index of the button.

See also
nom::GameControllerButton

Definition at line 316 of file Event.hpp.

◆ id

JoystickID nom::GameControllerButtonEvent::id

The joystick instance identifier.

Definition at line 311 of file Event.hpp.

◆ state

uint8 nom::GameControllerButtonEvent::state

The state of the button.

See also
nom::InputState

Definition at line 321 of file Event.hpp.


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