CrystalSpace

Public API Reference

csJoystickEventData Struct Reference
[Event handling]

Structure that collects the data a joystick event carries. More...

#include <iutil/event.h>

List of all members.

Public Attributes

int32 axes [CS_MAX_JOYSTICK_AXES]
 Joystick axis values.
uint32 axesChanged
 Axes change mask.
uint Button
 Joystick button number.
uint32 Modifiers
 Control key state.
uint numAxes
 Axes count.
uint number
 Joystick number (0, 1, 2, ...).


Detailed Description

Structure that collects the data a joystick event carries.

The event it self doesn't transfer the data in this structure; it is merely meant to pass around joystick event data in a compact way within client code without having to pass around the event itself.

See also:
csJoystickEventHelper

Definition at line 201 of file event.h.


Member Data Documentation

int32 csJoystickEventData::axes[CS_MAX_JOYSTICK_AXES]
 

Joystick axis values.

Definition at line 206 of file event.h.

uint32 csJoystickEventData::axesChanged
 

Axes change mask.

Definition at line 210 of file event.h.

uint csJoystickEventData::Button
 

Joystick button number.

Definition at line 212 of file event.h.

uint32 csJoystickEventData::Modifiers
 

Control key state.

Definition at line 214 of file event.h.

uint csJoystickEventData::numAxes
 

Axes count.

Definition at line 208 of file event.h.

uint csJoystickEventData::number
 

Joystick number (0, 1, 2, ...).

Definition at line 204 of file event.h.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.4.6