USB_Host_Shield_2.0
|
#include <PS3BT.h>
Public Member Functions | |
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) | |
virtual void | ACLData (uint8_t *ACLData) |
virtual void | Run () |
virtual void | Reset () |
virtual void | disconnect () |
bool | getButtonPress (Button b) |
bool | getButtonClick (Button b) |
uint8_t | getAnalogButton (Button a) |
uint8_t | getAnalogHat (AnalogHat a) |
int16_t | getSensor (Sensor a) |
double | getAngle (Angle a) |
double | get9DOFValues (Sensor a) |
bool | getStatus (Status c) |
String | getStatusString () |
String | getTemperature () |
void | setAllOff () |
void | setRumbleOff () |
void | setRumbleOn (Rumble mode) |
void | setLedOff (LED a) |
void | setLedOn (LED a) |
void | setLedToggle (LED a) |
void | moveSetBulb (uint8_t r, uint8_t g, uint8_t b) |
void | moveSetBulb (Colors color) |
void | moveSetRumble (uint8_t rumble) |
Public Attributes | |
bool | PS3Connected |
bool | PS3MoveConnected |
bool | PS3NavigationConnected |
PS3BT::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 |
||
) |
|
virtual |
Reimplemented from BluetoothService.
|
virtual |
Reimplemented from BluetoothService.
double PS3BT::get9DOFValues | ( | Sensor | a | ) |
uint8_t PS3BT::getAnalogButton | ( | Button | a | ) |
uint8_t PS3BT::getAnalogHat | ( | AnalogHat | a | ) |
double PS3BT::getAngle | ( | Angle | a | ) |
bool PS3BT::getButtonClick | ( | Button | b | ) |
bool PS3BT::getButtonPress | ( | Button | b | ) |
int16_t PS3BT::getSensor | ( | Sensor | a | ) |
bool PS3BT::getStatus | ( | Status | c | ) |
String PS3BT::getStatusString | ( | ) |
String PS3BT::getTemperature | ( | ) |
void PS3BT::moveSetBulb | ( | uint8_t | r, |
uint8_t | g, | ||
uint8_t | b | ||
) |
void PS3BT::moveSetBulb | ( | Colors | color | ) |
void PS3BT::moveSetRumble | ( | uint8_t | rumble | ) |
|
virtual |
Reimplemented from BluetoothService.
|
virtual |
Reimplemented from BluetoothService.
void PS3BT::setAllOff | ( | ) |
void PS3BT::setLedOff | ( | LED | a | ) |
void PS3BT::setLedOn | ( | LED | a | ) |
void PS3BT::setLedToggle | ( | LED | a | ) |
void PS3BT::setRumbleOff | ( | ) |
void PS3BT::setRumbleOn | ( | Rumble | mode | ) |
bool PS3BT::PS3Connected |
bool PS3BT::PS3MoveConnected |
bool PS3BT::PS3NavigationConnected |