ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Common::JoystickState Struct Reference

Data structure for joystick events. More...

#include <events.h>

List of all members.

Public Member Functions

 JoystickState ()

Public Attributes

byte axis
 The axis for EVENT_JOYAXIS_MOTION events.
int16 position
 The new axis position for EVENT_JOYAXIS_MOTION events.
uint8 button
 The button index for EVENT_JOYBUTTON_DOWN/UP events.

Detailed Description

Data structure for joystick events.

Definition at line 124 of file events.h.


Constructor & Destructor Documentation

Common::JoystickState::JoystickState (  )  [inline]

Definition at line 137 of file events.h.


Member Data Documentation

The axis for EVENT_JOYAXIS_MOTION events.

Definition at line 126 of file events.h.

The button index for EVENT_JOYBUTTON_DOWN/UP events.

Some of the button indices match well-known game controller buttons. See JoystickButton.

Definition at line 135 of file events.h.

The new axis position for EVENT_JOYAXIS_MOTION events.

Definition at line 128 of file events.h.


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


Generated on Sat Jul 11 2020 05:03:02 for ResidualVM by doxygen 1.7.1
curved edge   curved edge