DIT168 Group9
0.9
Miniature remote-controlled vehicle using OpenDavinci and Libcluon
|
#include <PS4Controller.hpp>
Public Attributes | |
uint32_t | timestamp |
int16_t | data |
uint8_t | type |
uint8_t | id |
A struct. Contains information on events read from PS4's input file. Timestamp corresponds to the time when the event was sent. Data is the value of the event (for buttons, a value of 1 will correspond to a press, 0 a release) Type differentiates between the type of Event (Axis or Button) Id corresponds to the specific Type, (Which button or which axis is being used specifically)
Definition at line 66 of file PS4Controller.hpp.