USB_Host_Shield_2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
PS3BT Class Reference

#include <PS3BT.h>

Inheritance diagram for PS3BT:
Inheritance graph
[legend]
Collaboration diagram for PS3BT:
Collaboration graph
[legend]

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
 

Constructor & Destructor Documentation

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 
)

Member Function Documentation

void PS3BT::ACLData ( uint8_t *  ACLData)
virtual

Reimplemented from BluetoothService.

void PS3BT::disconnect ( )
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)
void PS3BT::Reset ( )
virtual

Reimplemented from BluetoothService.

void PS3BT::Run ( )
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)

Member Data Documentation

bool PS3BT::PS3Connected
bool PS3BT::PS3MoveConnected
bool PS3BT::PS3NavigationConnected

The documentation for this class was generated from the following files: