83 memset(buf, 0,
sizeof(buf));
104 HID_Command(buf,
sizeof(buf));
109 void enable_sixaxis() {
117 void HID_Command(uint8_t *data, uint8_t nbytes) {
void setLed(uint8_t r, uint8_t g, uint8_t b)
void Parse(uint8_t len, uint8_t *buf)
virtual void ParseBTHIDData(uint8_t len, uint8_t *buf)
void(* pFuncOnInit)(void)
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)