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