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

A structure containing information on a game controller axis motion event. More...

#include <Event.hpp>

Public Attributes

JoystickID id
 The joystick instance identifier.
int8 axis
 Index of the axis on the device.
int16 value
 The axis value.

Detailed Description

A structure containing information on a game controller axis motion event.

Definition at line 292 of file Event.hpp.

Member Data Documentation

◆ axis

int8 nom::GameControllerAxisEvent::axis

Index of the axis on the device.

See also
nom::GameControllerAxis

Definition at line 300 of file Event.hpp.

◆ id

JoystickID nom::GameControllerAxisEvent::id

The joystick instance identifier.

Definition at line 295 of file Event.hpp.

◆ value

int16 nom::GameControllerAxisEvent::value

The axis value.

Remarks
The range of this value is between -32,768 to 32,767.

Definition at line 305 of file Event.hpp.


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