|
| PS4BT (BTD *p, bool pair=false, const char *pin="0000") |
|
bool | connected () |
|
void | attachOnInit (void(*funcOnInit)(void)) |
|
| BTHID (BTD *p, bool pair=false, const char *pin="0000") |
|
HIDReportParser * | GetReportParser (uint8_t id) |
|
bool | SetReportParser (uint8_t id, HIDReportParser *prs) |
|
void | setProtocolMode (uint8_t mode) |
|
void | setLeds (uint8_t data) |
|
void | pair (void) |
|
void | attachOnInit (void(*funcOnInit)(void)) |
|
virtual void | ACLData (uint8_t *ACLData) |
|
virtual void | Run () |
|
virtual void | Reset () |
|
virtual void | disconnect () |
|
| PS4Parser () |
|
bool | getButtonPress (ButtonEnum b) |
|
bool | getButtonClick (ButtonEnum b) |
|
uint8_t | getAnalogButton (ButtonEnum b) |
|
uint8_t | getAnalogHat (AnalogHatEnum a) |
|
uint16_t | getX (uint8_t finger=0, uint8_t xyId=0) |
|
uint16_t | getY (uint8_t finger=0, uint8_t xyId=0) |
|
bool | isTouching (uint8_t finger=0, uint8_t xyId=0) |
|
uint8_t | getTouchCounter (uint8_t finger=0, uint8_t xyId=0) |
|
double | getAngle (AngleEnum a) |
|
int16_t | getSensor (SensorEnum s) |
|
uint8_t | getBatteryLevel () |
|
bool | getUsbStatus () |
|
bool | getAudioStatus () |
|
bool | getMicStatus () |
|
void | setAllOff () |
|
void | setRumbleOff () |
|
void | setRumbleOn (RumbleEnum mode) |
|
void | setRumbleOn (uint8_t bigRumble, uint8_t smallRumble) |
|
void | setLedOff () |
|
void | setLed (uint8_t r, uint8_t g, uint8_t b) |
|
void | setLed (ColorsEnum color) |
|
void | setLedFlash (uint8_t flashOn, uint8_t flashOff) |
|
This class implements support for the PS4 controller via Bluetooth. It uses the BTHID class for all the Bluetooth communication.
Definition at line 28 of file PS4BT.h.