54 pFuncOnInit = funcOnInit;
91 memset(buf, 0,
sizeof(buf));
112 HID_Command(buf,
sizeof(buf));
117 void enable_sixaxis() {
125 void HID_Command(uint8_t *data, uint8_t nbytes) {
129 void (*pFuncOnInit)(void);
void setLed(uint8_t r, uint8_t g, uint8_t b)
void attachOnInit(void(*funcOnInit)(void))
void Parse(uint8_t len, uint8_t *buf)
virtual void ParseBTHIDData(uint8_t len, uint8_t *buf)
virtual void sendOutputReport(PS4Output *output)
virtual void ResetBTHID()
PS4BT(BTD *p, bool pair=false, const char *pin="0000")
virtual void OnInitBTHID()
void L2CAP_Command(uint16_t handle, uint8_t *data, uint8_t nbytes, uint8_t channelLow=0x01, uint8_t channelHigh=0x00)