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 Attributes

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

Detailed Description

Data structure for joystick events.

Definition at line 103 of file common/events.h.


Member Data Documentation

The axis for EVENT_JOYAXIS_MOTION events.

Definition at line 105 of file common/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 114 of file common/events.h.

The new axis position for EVENT_JOYAXIS_MOTION events.

Definition at line 107 of file common/events.h.


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


Generated on Sat Mar 23 2019 05:06:56 for ResidualVM by doxygen 1.7.1
curved edge   curved edge