#include <bt/PSController/PSController.h>
◆ Type
| Enumerator |
|---|
| kPS3 | |
| kPS3Nav | |
| kPS4 | |
◆ PSController() [1/2]
| PSController::PSController |
( |
const char * |
mac, |
|
|
Type |
type = kPS3Nav |
|
) |
| |
◆ PSController() [2/2]
| PSController::PSController |
( |
| ) |
|
|
inline |
◆ disconnect()
| virtual void PSController::disconnect |
( |
| ) |
|
|
overridevirtual |
◆ getDeviceAddress()
| static String PSController::getDeviceAddress |
( |
| ) |
|
|
static |
◆ setLED()
| void PSController::setLED |
( |
uint8_t |
r, |
|
|
uint8_t |
g, |
|
|
uint8_t |
b |
|
) |
| |
◆ setMacAddress()
| void PSController::setMacAddress |
( |
const char * |
mac | ) |
|
◆ setPlayer()
| void PSController::setPlayer |
( |
int |
player | ) |
|
◆ setRumble() [1/2]
| void PSController::setRumble |
( |
float |
intensity, |
|
|
int |
duration = -1 |
|
) |
| |
|
inline |
◆ setRumble() [2/2]
| void PSController::setRumble |
( |
float |
leftIntensity, |
|
|
int |
leftDuration, |
|
|
float |
rightIntensity, |
|
|
int |
rightDuration |
|
) |
| |
◆ setType()
| void PSController::setType |
( |
Type |
type | ) |
|
◆ startListening() [1/2]
| static bool PSController::startListening |
( |
const char * |
mac = nullptr | ) |
|
|
static |
◆ startListening() [2/2]
| static bool PSController::startListening |
( |
String & |
mac | ) |
|
|
inlinestatic |
◆ stopListening()
| static bool PSController::stopListening |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: