|
RSeries astromech firmware
|
|
Go to the documentation of this file.
5 #error Only supports ESP32
33 void setLED(uint8_t r, uint8_t g, uint8_t b);
34 void setRumble(
float leftIntensity,
int leftDuration,
float rightIntensity,
int rightDuration);
37 setRumble(intensity, duration, intensity, duration);
47 void parsePacket(uint8_t* packet);
static String getDeviceAddress()
Type
Definition: PSController.h:16
@ kPS3Nav
Definition: PSController.h:19
PSController()
Definition: PSController.h:24
Definition: JoystickController.h:128
friend class L2CAP
Definition: PSController.h:44
Definition: PSController.h:13
void setRumble(float intensity, int duration=-1)
Definition: PSController.h:35
static bool startListening(String &mac)
Definition: PSController.h:27
@ kPS4
Definition: PSController.h:20
void setLED(uint8_t r, uint8_t g, uint8_t b)
static bool startListening(const char *mac=nullptr)
static bool stopListening()
void setPlayer(int player)
@ kPS3
Definition: PSController.h:18
void setMacAddress(const char *mac)
Definition: JoystickController.h:4
void setRumble(float leftIntensity, int leftDuration, float rightIntensity, int rightDuration)
virtual void disconnect() override