#include <FalconGripFourButton.h>
Inherits libnifalcon::FalconGrip.
Public Types | |
enum | { BUTTON_1 = 0x1, BUTTON_2 = 0x2, BUTTON_3 = 0x4, BUTTON_4 = 0x8 } |
Public Member Functions | |
FalconGripFourButton () | |
~FalconGripFourButton () | |
bool | runGripLoop (int size, const uint8_t *data) |
Public Attributes | |
enum libnifalcon::FalconGripFourButton:: { ... } | FourButtonGripButtons |
anonymous enum |
libnifalcon::FalconGripFourButton::FalconGripFourButton | ( | ) | [inline] |
Constructor
libnifalcon::FalconGripFourButton::~FalconGripFourButton | ( | ) | [inline] |
Destructor
bool libnifalcon::FalconGripFourButton::runGripLoop | ( | int | size, | |
const uint8_t * | data | |||
) | [inline, virtual] |
Parses data that the firmware retrieved, stores button status internally
size | Size of data buffer being passed in | |
data | Raw buffer of grip data, taken from data received from falcon |
Implements libnifalcon::FalconGrip.
Enumeration for the default 4 button grip that comes with the falcon