24 #define HID_BUFFERSIZE 50 // Size of the buffer for the Playstation Motion Controller 41 PS3BT(
BTD *
pBtd, uint8_t btadr5 = 0, uint8_t btadr4 = 0, uint8_t btadr3 = 0, uint8_t btadr2 = 0, uint8_t btadr1 = 0, uint8_t btadr0 = 0);
129 void setRumbleOn(uint8_t rightDuration, uint8_t rightPower, uint8_t leftDuration, uint8_t leftPower);
175 return lastMessageTime;
210 char remote_name_first;
211 bool activeConnection;
216 uint32_t lastMessageTime;
218 uint32_t ButtonState;
219 uint32_t OldButtonState;
220 uint32_t ButtonClickState;
230 uint8_t control_scid[2];
231 uint8_t control_dcid[2];
232 uint8_t interrupt_scid[2];
233 uint8_t interrupt_dcid[2];
236 void HID_Command(uint8_t* data, uint8_t nbytes);
237 void HIDMove_Command(uint8_t* data, uint8_t nbytes);
238 void enable_sixaxis();
bool PS3NavigationConnected
bool getStatus(StatusEnum c)
void moveSetRumble(uint8_t rumble)
bool getButtonPress(ButtonEnum b)
int16_t getSensor(SensorEnum a)
uint8_t getAnalogHat(AnalogHatEnum a)
void moveSetBulb(uint8_t r, uint8_t g, uint8_t b)
void setRumbleOn(RumbleEnum mode)
float get9DOFValues(SensorEnum a)
void ACLData(uint8_t *ACLData)
void setLedToggle(LEDEnum a)
uint8_t getAnalogButton(ButtonEnum a)
float getAngle(AngleEnum a)
void setLedRaw(uint8_t value)
PS3BT(BTD *pBtd, uint8_t btadr5=0, uint8_t btadr4=0, uint8_t btadr3=0, uint8_t btadr2=0, uint8_t btadr1=0, uint8_t btadr0=0)
uint32_t getLastMessageTime()
bool getButtonClick(ButtonEnum b)