Fawkes API  Fawkes Development Version
fawkes::JoystickInterface::JoystickInterface_data_t Struct Reference

Internal data storage, do NOT modify! More...

List of all members.

Public Attributes

int64_t timestamp_sec
 Interface Unix timestamp, seconds.
int64_t timestamp_usec
 Interface Unix timestamp, micro-seconds.
uint8_t num_axes
 The number of axes of this joystick.
uint8_t num_buttons
 The number of buttons of this joystick.
uint8_t supported_ff_effects
 Bit field indicating available force-feedback effects.
uint32_t pressed_buttons
 A bit field of enabled buttons.
float axis [8]
 Values of axes.
uint8_t ff_effects
 Currently running effects.

Detailed Description

Internal data storage, do NOT modify!


Member Data Documentation

Values of axes.

Definition at line 110 of file JoystickInterface.h.

Currently running effects.

Either 0 if no effect is running, or a bit-wise ored field of the JFF constants.

Definition at line 111 of file JoystickInterface.h.

The number of axes of this joystick.

Definition at line 96 of file JoystickInterface.h.

The number of buttons of this joystick.

Definition at line 99 of file JoystickInterface.h.

A bit field of enabled buttons.

For each currently clicked button the corresponding bit is set to 1. Use the BUTTON_* constants for bit-wise comparisons.

Definition at line 105 of file JoystickInterface.h.

Bit field indicating available force-feedback effects.

Definition at line 102 of file JoystickInterface.h.

Interface Unix timestamp, seconds.

Definition at line 94 of file JoystickInterface.h.

Interface Unix timestamp, micro-seconds.

Definition at line 95 of file JoystickInterface.h.


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