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.
uint32_t pressed_buttons
 A bit field of enabled buttons.
float axis_x [4]
 X values of axes.
float axis_y [4]
 Y values of axes.

Detailed Description

Internal data storage, do NOT modify!


Member Data Documentation

X values of axes.

Definition at line 90 of file JoystickInterface.h.

Y values of axes.

Definition at line 91 of file JoystickInterface.h.

The number of axes of this joystick.

Definition at line 79 of file JoystickInterface.h.

The number of buttons of this joystick.

Definition at line 82 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 85 of file JoystickInterface.h.

Interface Unix timestamp, seconds.

Definition at line 77 of file JoystickInterface.h.

Interface Unix timestamp, micro-seconds.

Definition at line 78 of file JoystickInterface.h.


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