Public Member Functions | |
void | update (bool isButton, int index, int value) |
void | calibrate () |
bool | buttonPressed (int button) |
bool | buttonHeld (int button) |
int | getPreviousJSValue (int axis) |
int | getCurrentJSValue (int axis) |
bool | needCalibration () |
void | assignInput (int index) |
void | setCalibration (bool needed) |
Public Attributes | |
int | BUTTON_A |
int | BUTTON_B |
int | BUTTON_X |
int | BUTTON_Y |
int | RIGHT_TRIGGER |
int | LEFT_TRIGGER |
int | RIGHT_BUMPER |
int | LEFT_BUMPER |
int | RIGHT_STICK |
int | LEFT_STICK |
int | JS_X_AXIS |
int | JS_Y_AXIS |
Static Public Attributes | |
static const int | BUTTON = 0 |
static const int | AXIS = 1 |
Definition at line 10 of file Controller.h.