diff --git a/_b_t_d_8h.html b/_b_t_d_8h.html index 95743bf3..0f1539c0 100644 --- a/_b_t_d_8h.html +++ b/_b_t_d_8h.html @@ -87,19 +87,20 @@ This graph shows which files directly or indirectly include this file:
+ USB Host Shield 2.0
+
+ |
+
Go to the source code of this file.
++Classes | |
class | SwitchProBT |
+ USB Host Shield 2.0
+
+ |
+
+ USB Host Shield 2.0
+
+ |
+
#include "SwitchProParser.h"
+ USB Host Shield 2.0
+
+ |
+
+ USB Host Shield 2.0
+
+ |
+
Go to the source code of this file.
++Classes | |
union | SwitchProButtons |
struct | ImuData |
struct | SwitchProData |
struct | SwitchProOutput |
class | SwitchProParser |
+Variables | |
const uint8_t | SWITCH_PRO_LEDS [] |
const uint8_t | SWITCH_PRO_BUTTONS [] |
const uint8_t SWITCH_PRO_LEDS[] | +
Used to set the LEDs on the controller
+ +Definition at line 25 of file SwitchProParser.h.
+ +const uint8_t SWITCH_PRO_BUTTONS[] | +
Buttons on the controller
+ +Definition at line 41 of file SwitchProParser.h.
+ +
+ USB Host Shield 2.0
+
+ |
+
+ USB Host Shield 2.0
+
+ |
+
Go to the source code of this file.
++Classes | |
class | SwitchProUSB |
+Macros | |
#define | SWITCH_PRO_VID 0x057E |
#define | SWITCH_PRO_PID 0x2009 |
#define SWITCH_PRO_VID 0x057E | +
Definition at line 24 of file SwitchProUSB.h.
+ +#define SWITCH_PRO_PID 0x2009 | +
Definition at line 25 of file SwitchProUSB.h.
+ +
+ USB Host Shield 2.0
+
+ |
+
Reimplemented in PS5BT, PS4BT, and XBOXONESBT.
+Reimplemented in PS5BT, PS4BT, SwitchProBT, and XBOXONESBT.
@@ -729,7 +730,7 @@ BluetoothService implementationCalled when a device is connected
-Reimplemented in PS5BT, PS4BT, and XBOXONESBT.
+Reimplemented in PS5BT, PS4BT, SwitchProBT, and XBOXONESBT.
@@ -759,7 +760,7 @@ BluetoothService implementationUsed to reset any buffers in the class that inherits this
-Reimplemented in PS5BT, PS4BT, and XBOXONESBT.
+Reimplemented in PS5BT, SwitchProBT, PS4BT, and XBOXONESBT.
diff --git a/class_b_t_h_i_d__inherit__graph.map b/class_b_t_h_i_d__inherit__graph.map index 55cdb9c1..0979fda9 100644 --- a/class_b_t_h_i_d__inherit__graph.map +++ b/class_b_t_h_i_d__inherit__graph.map @@ -1,7 +1,8 @@ diff --git a/class_b_t_h_i_d__inherit__graph.md5 b/class_b_t_h_i_d__inherit__graph.md5 index 213b1386..54bd5f65 100644 --- a/class_b_t_h_i_d__inherit__graph.md5 +++ b/class_b_t_h_i_d__inherit__graph.md5 @@ -1 +1 @@ -1d790b2477975839fdc96545aeedd1b9 \ No newline at end of file +f1820bcb4689d79079ecb9ff48fb4983 \ No newline at end of file diff --git a/class_b_t_h_i_d__inherit__graph.png b/class_b_t_h_i_d__inherit__graph.png index 6872d1b1..33e99b94 100644 Binary files a/class_b_t_h_i_d__inherit__graph.png and b/class_b_t_h_i_d__inherit__graph.png differ diff --git a/class_bluetooth_service.html b/class_bluetooth_service.html index e109aefd..447f7a8d 100644 --- a/class_bluetooth_service.html +++ b/class_bluetooth_service.html @@ -78,14 +78,15 @@ Inheritance diagram for BluetoothService:Reimplemented in PSBuzz, MiniDSP, PS5USB, and PS4USB.
+Reimplemented in PSBuzz, MiniDSP, PS5USB, PS4USB, and SwitchProUSB.
Definition at line 76 of file hidcomposite.h.
diff --git a/class_h_i_d_composite__inherit__graph.map b/class_h_i_d_composite__inherit__graph.map index 62bf549a..15a06c57 100644 --- a/class_h_i_d_composite__inherit__graph.map +++ b/class_h_i_d_composite__inherit__graph.map @@ -1,11 +1,12 @@ diff --git a/class_h_i_d_composite__inherit__graph.md5 b/class_h_i_d_composite__inherit__graph.md5 index 1581e071..9d7afa9c 100644 --- a/class_h_i_d_composite__inherit__graph.md5 +++ b/class_h_i_d_composite__inherit__graph.md5 @@ -1 +1 @@ -e03b03617a4359e8bb469e3c2f24962b \ No newline at end of file +9aac0803f5611e1fb3b314f7421612fa \ No newline at end of file diff --git a/class_h_i_d_composite__inherit__graph.png b/class_h_i_d_composite__inherit__graph.png index c29d74a0..41a2a5f6 100644 Binary files a/class_h_i_d_composite__inherit__graph.png and b/class_h_i_d_composite__inherit__graph.png differ diff --git a/class_h_i_d_universal.html b/class_h_i_d_universal.html index c3031f2f..4fb54025 100644 --- a/class_h_i_d_universal.html +++ b/class_h_i_d_universal.html @@ -77,15 +77,16 @@ Inheritance diagram for HIDUniversal:Reimplemented in PSBuzz, MiniDSP, PS5USB, and PS4USB.
+Reimplemented in PSBuzz, MiniDSP, PS5USB, PS4USB, and SwitchProUSB.
Definition at line 40 of file hiduniversal.h.
diff --git a/class_h_i_d_universal__inherit__graph.map b/class_h_i_d_universal__inherit__graph.map index 44b3fa4a..1b70f12e 100644 --- a/class_h_i_d_universal__inherit__graph.map +++ b/class_h_i_d_universal__inherit__graph.map @@ -1,11 +1,12 @@ diff --git a/class_h_i_d_universal__inherit__graph.md5 b/class_h_i_d_universal__inherit__graph.md5 index 0839dd2c..82a946a5 100644 --- a/class_h_i_d_universal__inherit__graph.md5 +++ b/class_h_i_d_universal__inherit__graph.md5 @@ -1 +1 @@ -779a71cf6bf9b25cfee68ab7ebbb7477 \ No newline at end of file +9de60c228e9d86ad9483b0f1984fe28d \ No newline at end of file diff --git a/class_h_i_d_universal__inherit__graph.png b/class_h_i_d_universal__inherit__graph.png index a6180797..d2f9f311 100644 Binary files a/class_h_i_d_universal__inherit__graph.png and b/class_h_i_d_universal__inherit__graph.png differ diff --git a/class_switch_pro_b_t-members.html b/class_switch_pro_b_t-members.html new file mode 100644 index 00000000..e156d832 --- /dev/null +++ b/class_switch_pro_b_t-members.html @@ -0,0 +1,141 @@ + + + + + + + +
+ USB Host Shield 2.0
+
+ |
+
This is the complete list of members for SwitchProBT, including all inherited members.
+
+ USB Host Shield 2.0
+
+ |
+
#include <SwitchProBT.h>
+Public Member Functions | |
SwitchProBT (BTD *p, bool pair=false, const char *pin="0000") | |
bool | connected () |
Public Member Functions inherited from BTHID | |
BTHID (BTD *p, bool pair=false, const char *pin="0000") | |
HIDReportParser * | GetReportParser (uint8_t id) |
bool | SetReportParser (uint8_t id, HIDReportParser *prs) |
void | setProtocolMode (uint8_t mode) |
void | pair (void) |
uint32_t | getLastMessageTime () |
void | setLeds (struct KBDLEDS data) |
void | setLeds (uint8_t data) |
void | disconnect () |
Public Member Functions inherited from BluetoothService | |
BluetoothService (BTD *p) | |
void | attachOnInit (void(*funcOnInit)(void)) |
Public Member Functions inherited from SwitchProParser | |
SwitchProParser () | |
bool | getButtonPress (ButtonEnum b) |
bool | getButtonClick (ButtonEnum b) |
int16_t | getAnalogHat (AnalogHatEnum a) |
void | enableImu (bool enable) |
float | getAngle (AngleEnum a) |
int16_t | getSensor (SensorEnum s) |
void | setAllOff () |
void | setRumbleOff () |
void | setRumbleToggle () |
void | setRumble (bool leftRumbleOn, bool rightRumbleOn) |
void | setRumbleLeft (bool on) |
void | setRumbleRight (bool on) |
void | setLedRaw (uint8_t mask) |
void | setLedOff () |
void | setLedOff (LEDEnum a) |
void | setLedOn (LEDEnum a) |
void | setLedToggle (LEDEnum a) |
void | setLedHomeOff () |
void | setLedHomeOn () |
void | setLedHomeToggle () |
uint16_t | getMessageCounter () |
uint8_t | getBatteryLevel () |
bool | isCharging () |
+Protected Member Functions | |
BTHID implementation | |
virtual void | ParseBTHIDData (uint8_t len, uint8_t *buf) |
virtual void | OnInitBTHID () |
virtual void | ResetBTHID () |
SwitchProParser implementation | |
virtual void | sendOutputReport (uint8_t *data, uint8_t len) |
Protected Member Functions inherited from BTHID | |
virtual void | ParseBTHIDControlData (uint8_t len, uint8_t *buf) |
void | ACLData (uint8_t *ACLData) |
void | Run () |
void | Reset () |
void | onInit () |
Protected Member Functions inherited from BluetoothService | |
bool | checkHciHandle (uint8_t *buf, uint16_t handle) |
Protected Member Functions inherited from SwitchProParser | |
void | Parse (uint8_t len, uint8_t *buf) |
void | Reset () |
virtual void | sendHandshake () |
virtual void | disableTimeout () |
+Additional Inherited Members | |
Public Attributes inherited from BTHID | |
bool | connected |
Protected Attributes inherited from BTHID | |
uint8_t | control_scid [2] |
uint8_t | interrupt_scid [2] |
uint8_t | l2cap_sdp_state |
uint8_t | sdp_scid [2] |
Protected Attributes inherited from BluetoothService | |
void(* | pFuncOnInit )(void) |
BTD * | pBtd |
uint16_t | hci_handle |
uint32_t | l2cap_event_flag |
uint8_t | identifier |
Protected Attributes inherited from SwitchProParser | |
SwitchProOutput | switchProOutput |
This class implements support for the Switch Pro controller via Bluetooth. It uses the BTHID class for all the Bluetooth communication.
+ +Definition at line 28 of file SwitchProBT.h.
+
+
|
+ +inline | +
Constructor for the SwitchProBT class.
p | Pointer to the BTD class instance. |
pair | Set this to true in order to pair with the device. If the argument is omitted then it will not pair with it. One can use PAIR to set it to true. |
pin | Write the pin to BTD::btdPin. If argument is omitted, then "0000" will be used. |
Definition at line 36 of file SwitchProBT.h.
+ +
+
|
+ +inline | +
Used to check if a Switch Pro controller is connected.
Definition at line 45 of file SwitchProBT.h.
+ +
+
|
+ +inlineprotectedvirtual | +
Used to parse Bluetooth HID data.
len | The length of the incoming data. |
buf | Pointer to the data buffer. |
Reimplemented from BTHID.
+ +Definition at line 56 of file SwitchProBT.h.
+ +
+
|
+ +inlineprotectedvirtual | +
Called when a device is successfully initialized. Use attachOnInit(void (*funcOnInit)(void)) to call your own function. This is useful for instance if you want to set the LEDs in a specific way.
+ +Reimplemented from BTHID.
+ +Definition at line 65 of file SwitchProBT.h.
+ +
+
|
+ +inlineprotectedvirtual | +
Used to reset the different buffers to there default values
+ +Reimplemented from BTHID.
+ +Definition at line 76 of file SwitchProBT.h.
+ +
+
|
+ +inlineprotectedvirtual | +
Send the output to the Switch Pro controller. This is implemented in SwitchProBT.h and SwitchProUSB.h.
data | Pointer to buffer to send by the derived class. |
len | Length of buffer. |
Implements SwitchProParser.
+ +Definition at line 82 of file SwitchProBT.h.
+ +
+ USB Host Shield 2.0
+
+ |
+
This is the complete list of members for SwitchProParser, including all inherited members.
+
+ USB Host Shield 2.0
+
+ |
+
#include <SwitchProParser.h>
+Public Member Functions | |
SwitchProParser () | |
+Switch Pro Controller functions | |
SwitchProOutput | switchProOutput |
bool | getButtonPress (ButtonEnum b) |
bool | getButtonClick (ButtonEnum b) |
int16_t | getAnalogHat (AnalogHatEnum a) |
void | enableImu (bool enable) |
float | getAngle (AngleEnum a) |
int16_t | getSensor (SensorEnum s) |
void | setAllOff () |
void | setRumbleOff () |
void | setRumbleToggle () |
void | setRumble (bool leftRumbleOn, bool rightRumbleOn) |
void | setRumbleLeft (bool on) |
void | setRumbleRight (bool on) |
void | setLedRaw (uint8_t mask) |
void | setLedOff () |
void | setLedOff (LEDEnum a) |
void | setLedOn (LEDEnum a) |
void | setLedToggle (LEDEnum a) |
void | setLedHomeOff () |
void | setLedHomeOn () |
void | setLedHomeToggle () |
uint16_t | getMessageCounter () |
uint8_t | getBatteryLevel () |
bool | isCharging () |
void | Parse (uint8_t len, uint8_t *buf) |
void | Reset () |
virtual void | sendOutputReport (uint8_t *data, uint8_t len)=0 |
virtual void | sendHandshake () |
virtual void | disableTimeout () |
This class parses all the data sent by the Switch Pro controller
+ +Definition at line 141 of file SwitchProParser.h.
+
+
|
+ +inline | +
Constructor for the SwitchProParser class.
+ +Definition at line 144 of file SwitchProParser.h.
+ +bool SwitchProParser::getButtonPress | +( | +ButtonEnum | +b | ) | ++ |
getButtonPress(ButtonEnum b) will return true as long as the button is held down.
+While getButtonClick(ButtonEnum b) will only return it once.
+So you instance if you need to increase a variable once you would use getButtonClick(ButtonEnum b), but if you need to drive a robot forward you would use getButtonPress(ButtonEnum b).
b | ButtonEnum to read. |
Definition at line 29 of file SwitchProParser.cpp.
+ +bool SwitchProParser::getButtonClick | +( | +ButtonEnum | +b | ) | ++ |
Allow derived classes to access the output variables.
+ +Definition at line 34 of file SwitchProParser.cpp.
+ +int16_t SwitchProParser::getAnalogHat | +( | +AnalogHatEnum | +a | ) | ++ |
+
|
+ +inline | +
Used to enable/disable the IMU. By default it is disabled.
enable | Enable/disable the IMU. |
Definition at line 174 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Get the angle of the controller calculated using the accelerometer.
+Definition at line 184 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Used to get the raw values from the 3-axis gyroscope and 3-axis accelerometer inside the PS5 controller.
s | The sensor to read. |
Definition at line 196 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Turn both rumble and the LEDs off.
+ +Definition at line 216 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Set rumble off.
+ +Definition at line 223 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Toggle rumble.
+ +Definition at line 228 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Turn on/off rumble.
leftRumbleOn | Turn on/off left rumble motor. |
rightRumbleOn | Turn on/off right rumble motor. |
Definition at line 237 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Turn on/off the left rumble.
on | Turn on/off left rumble motor. |
Definition at line 247 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Turn on/off the right rumble.
on | Turn on/off right rumble motor. |
Definition at line 256 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Set LED value without using the LEDEnum. This can also be used to flash the LEDs by setting the high 4-bits of the mask.
value | See: LEDEnum. |
Definition at line 266 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Turn all LEDs off.
+ +Definition at line 272 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Turn the specific LEDEnum off.
a | The LEDEnum to turn off. |
Definition at line 280 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Turn the specific LEDEnum on.
a | The LEDEnum to turn on. |
Definition at line 289 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Toggle the specific LEDEnum.
a | The LEDEnum to toggle. |
Definition at line 298 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Turn home LED off.
+ +Definition at line 304 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Turn home LED on.
+ +Definition at line 310 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Toggle home LED.
+ +Definition at line 316 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Get the incoming message count.
+ +Definition at line 322 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Return the battery level of the Switch Pro Controller.
Definition at line 331 of file SwitchProParser.h.
+ +
+
|
+ +inline | +
Returns whenever the controller is plugged in and charging.
Definition at line 339 of file SwitchProParser.h.
+ +
+
|
+ +protected | +
Used to parse data sent from the Switch Pro controller.
len | Length of the data. |
buf | Pointer to the data buffer. |
Definition at line 55 of file SwitchProParser.cpp.
+ +
+
|
+ +protected | +
Used to reset the different buffers to their default values
+ +Definition at line 231 of file SwitchProParser.cpp.
+ +
+
|
+ +protectedpure virtual | +
Send the output to the Switch Pro controller. This is implemented in SwitchProBT.h and SwitchProUSB.h.
data | Pointer to buffer to send by the derived class. |
len | Length of buffer. |
Implemented in SwitchProUSB, and SwitchProBT.
+ +
+
|
+ +inlineprotectedvirtual | +
Used to send a handshake command via USB before disabling the timeout.
+ +Reimplemented in SwitchProUSB.
+ +Definition at line 362 of file SwitchProParser.h.
+ +
+
|
+ +inlineprotectedvirtual | +
Needed to disable USB timeout for the controller, so it sends out data without the host having to send data continuously.
+ +Reimplemented in SwitchProUSB.
+ +Definition at line 368 of file SwitchProParser.h.
+ +
+
|
+ +protected | +
Allow derived classes to access the output variables.
+ +Definition at line 371 of file SwitchProParser.h.
+ +
+ USB Host Shield 2.0
+
+ |
+
This is the complete list of members for SwitchProUSB, including all inherited members.
+attachOnInit(void(*funcOnInit)(void)) | SwitchProUSB | inline |
bAddress | USBHID | protected |
bConfNum | HIDComposite | protected |
bHasReportId | HIDComposite | protected |
bNumEP | HIDComposite | protected |
bNumIface | HIDComposite | protected |
bPollEnable | HIDComposite | protected |
ConfigureDevice(uint8_t parent, uint8_t port, bool lowspeed) | USBDeviceConfig | inlinevirtual |
connected() | SwitchProUSB | inline |
constBuffLen | HIDComposite | protectedstatic |
descrInfo | HIDComposite | protected |
DEVCLASSOK(uint8_t klass) | USBDeviceConfig | inlinevirtual |
DEVSUBCLASSOK(uint8_t subklass) | USBDeviceConfig | inlinevirtual |
disableTimeout() | SwitchProUSB | inlineprotectedvirtual |
enableImu(bool enable) | SwitchProParser | inline |
EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep) override | HIDUniversal | inlinevirtual |
epInfo | HIDComposite | protected |
epInterruptInIndex | USBHID | protectedstatic |
epInterruptOutIndex | USBHID | protectedstatic |
FindInterface(uint8_t iface, uint8_t alt, uint8_t proto) | HIDComposite | protected |
GetAddress() | HIDComposite | inlinevirtual |
getAnalogHat(AnalogHatEnum a) | SwitchProParser | |
getAngle(AngleEnum a) | SwitchProParser | inline |
getBatteryLevel() | SwitchProParser | inline |
getButtonClick(ButtonEnum b) | SwitchProParser | |
getButtonPress(ButtonEnum b) | SwitchProParser | |
GetHidClassDescrLen(uint8_t type, uint8_t num) | HIDComposite | protected |
GetHidDescr(uint8_t ep, uint16_t nbytes, uint8_t *dataptr) | USBHID | |
GetIdle(uint8_t iface, uint8_t reportID, uint8_t *dataptr) | USBHID | |
getMessageCounter() | SwitchProParser | inline |
GetProtocol(uint8_t iface, uint8_t *dataptr) | USBHID | |
GetReport(uint8_t ep, uint8_t iface, uint8_t report_type, uint8_t report_id, uint16_t nbytes, uint8_t *dataptr) | USBHID | |
GetReportDescr(uint16_t wIndex, USBReadParser *parser=NULL) | USBHID | |
GetReportParser(uint8_t id) | HIDComposite | protectedvirtual |
getSensor(SensorEnum s) | SwitchProParser | inline |
GetUsb() | USBHID | inline |
HIDComposite(USB *p) | HIDComposite | |
hidInterfaces | HIDComposite | protected |
HIDUniversal(USB *p) | HIDUniversal | inline |
Init(uint8_t parent, uint8_t port, bool lowspeed) | HIDComposite | virtual |
Initialize() | HIDComposite | protected |
isCharging() | SwitchProParser | inline |
isReady() | HIDComposite | inlinevirtual |
maxEpPerInterface | USBHID | protectedstatic |
maxHidInterfaces | USBHID | protectedstatic |
OnInitSuccessful() | SwitchProUSB | inlineprotectedvirtual |
Parse(uint8_t len, uint8_t *buf) | SwitchProParser | protected |
ParseHIDData(USBHID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf) | SwitchProUSB | inlineprotectedvirtual |
PID | HIDComposite | protected |
Poll() override | HIDUniversal | virtual |
pollInterval | HIDComposite | protected |
PrintEndpointDescriptor(const USB_ENDPOINT_DESCRIPTOR *ep_ptr) | USBHID | protected |
PrintHidDescriptor(const USB_HID_DESCRIPTOR *pDesc) | USBHID | protected |
pUsb | USBHID | protected |
qNextPollTime | HIDComposite | protected |
Release() | HIDComposite | virtual |
Reset() | SwitchProParser | protected |
ResetHubPort(uint8_t port) | USBDeviceConfig | inlinevirtual |
rptParsers | HIDComposite | protected |
sendHandshake() | SwitchProUSB | inlineprotectedvirtual |
sendOutputReport(uint8_t *data, uint8_t len) | SwitchProUSB | inlineprotectedvirtual |
setAllOff() | SwitchProParser | inline |
SetIdle(uint8_t iface, uint8_t reportID, uint8_t duration) | USBHID | |
setLedHomeOff() | SwitchProParser | inline |
setLedHomeOn() | SwitchProParser | inline |
setLedHomeToggle() | SwitchProParser | inline |
setLedOff() | SwitchProParser | inline |
setLedOff(LEDEnum a) | SwitchProParser | inline |
setLedOn(LEDEnum a) | SwitchProParser | inline |
setLedRaw(uint8_t mask) | SwitchProParser | inline |
setLedToggle(LEDEnum a) | SwitchProParser | inline |
SetProtocol(uint8_t iface, uint8_t protocol) | USBHID | |
SetReport(uint8_t ep, uint8_t iface, uint8_t report_type, uint8_t report_id, uint16_t nbytes, uint8_t *dataptr) | USBHID | |
SetReportParser(uint8_t id, HIDReportParser *prs) | HIDComposite | virtual |
setRumble(bool leftRumbleOn, bool rightRumbleOn) | SwitchProParser | inline |
setRumbleLeft(bool on) | SwitchProParser | inline |
setRumbleOff() | SwitchProParser | inline |
setRumbleRight(bool on) | SwitchProParser | inline |
setRumbleToggle() | SwitchProParser | inline |
SndRpt(uint16_t nbytes, uint8_t *dataptr) | HIDComposite | |
switchProOutput | SwitchProParser | protected |
SwitchProParser() | SwitchProParser | inline |
SwitchProUSB(USB *p) | SwitchProUSB | inline |
totalEndpoints | USBHID | protectedstatic |
USBHID(USB *pusb) | USBHID | inline |
VID | HIDComposite | protected |
VIDPIDOK(uint16_t vid, uint16_t pid) | SwitchProUSB | inlineprotectedvirtual |
ZeroMemory(uint8_t len, uint8_t *buf) | HIDComposite | protected |
+ USB Host Shield 2.0
+
+ |
+
#include <SwitchProUSB.h>
+Public Member Functions | |
SwitchProUSB (USB *p) | |
bool | connected () |
void | attachOnInit (void(*funcOnInit)(void)) |
Public Member Functions inherited from HIDUniversal | |
HIDUniversal (USB *p) | |
uint8_t | Poll () override |
void | EndpointXtract (uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep) override |
Public Member Functions inherited from HIDComposite | |
HIDComposite (USB *p) | |
bool | SetReportParser (uint8_t id, HIDReportParser *prs) |
uint8_t | Init (uint8_t parent, uint8_t port, bool lowspeed) |
uint8_t | Release () |
virtual uint8_t | GetAddress () |
virtual bool | isReady () |
uint8_t | SndRpt (uint16_t nbytes, uint8_t *dataptr) |
Public Member Functions inherited from USBHID | |
USBHID (USB *pusb) | |
const USB * | GetUsb () |
uint8_t | SetProtocol (uint8_t iface, uint8_t protocol) |
uint8_t | GetProtocol (uint8_t iface, uint8_t *dataptr) |
uint8_t | GetIdle (uint8_t iface, uint8_t reportID, uint8_t *dataptr) |
uint8_t | SetIdle (uint8_t iface, uint8_t reportID, uint8_t duration) |
uint8_t | GetReportDescr (uint16_t wIndex, USBReadParser *parser=NULL) |
uint8_t | GetHidDescr (uint8_t ep, uint16_t nbytes, uint8_t *dataptr) |
uint8_t | GetReport (uint8_t ep, uint8_t iface, uint8_t report_type, uint8_t report_id, uint16_t nbytes, uint8_t *dataptr) |
uint8_t | SetReport (uint8_t ep, uint8_t iface, uint8_t report_type, uint8_t report_id, uint16_t nbytes, uint8_t *dataptr) |
Public Member Functions inherited from USBDeviceConfig | |
virtual uint8_t | ConfigureDevice (uint8_t parent, uint8_t port, bool lowspeed) |
virtual void | ResetHubPort (uint8_t port) |
virtual bool | DEVCLASSOK (uint8_t klass) |
virtual bool | DEVSUBCLASSOK (uint8_t subklass) |
Public Member Functions inherited from SwitchProParser | |
SwitchProParser () | |
bool | getButtonPress (ButtonEnum b) |
bool | getButtonClick (ButtonEnum b) |
int16_t | getAnalogHat (AnalogHatEnum a) |
void | enableImu (bool enable) |
float | getAngle (AngleEnum a) |
int16_t | getSensor (SensorEnum s) |
void | setAllOff () |
void | setRumbleOff () |
void | setRumbleToggle () |
void | setRumble (bool leftRumbleOn, bool rightRumbleOn) |
void | setRumbleLeft (bool on) |
void | setRumbleRight (bool on) |
void | setLedRaw (uint8_t mask) |
void | setLedOff () |
void | setLedOff (LEDEnum a) |
void | setLedOn (LEDEnum a) |
void | setLedToggle (LEDEnum a) |
void | setLedHomeOff () |
void | setLedHomeOn () |
void | setLedHomeToggle () |
uint16_t | getMessageCounter () |
uint8_t | getBatteryLevel () |
bool | isCharging () |
+Protected Member Functions | |
HIDUniversal implementation | |
virtual void | ParseHIDData (USBHID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf) |
virtual uint8_t | OnInitSuccessful () |
SwitchProParser implementation | |
virtual void | sendOutputReport (uint8_t *data, uint8_t len) |
virtual void | sendHandshake () |
virtual void | disableTimeout () |
USBDeviceConfig implementation | |
virtual bool | VIDPIDOK (uint16_t vid, uint16_t pid) |
Protected Member Functions inherited from HIDComposite | |
uint16_t | GetHidClassDescrLen (uint8_t type, uint8_t num) |
void | Initialize () |
HIDInterface * | FindInterface (uint8_t iface, uint8_t alt, uint8_t proto) |
void | ZeroMemory (uint8_t len, uint8_t *buf) |
HIDReportParser * | GetReportParser (uint8_t id) |
Protected Member Functions inherited from USBHID | |
void | PrintEndpointDescriptor (const USB_ENDPOINT_DESCRIPTOR *ep_ptr) |
void | PrintHidDescriptor (const USB_HID_DESCRIPTOR *pDesc) |
Protected Member Functions inherited from SwitchProParser | |
void | Parse (uint8_t len, uint8_t *buf) |
void | Reset () |
+Additional Inherited Members | |
Protected Attributes inherited from HIDComposite | |
struct HIDComposite::ReportParser | rptParsers [MAX_REPORT_PARSERS] |
HID_CLASS_DESCRIPTOR_LEN_AND_TYPE | descrInfo [HID_MAX_HID_CLASS_DESCRIPTORS] |
uint8_t | bConfNum |
uint8_t | bNumIface |
uint8_t | bNumEP |
uint32_t | qNextPollTime |
uint8_t | pollInterval |
bool | bPollEnable |
EpInfo | epInfo [totalEndpoints] |
HIDInterface | hidInterfaces [maxHidInterfaces] |
bool | bHasReportId |
uint16_t | PID |
uint16_t | VID |
Protected Attributes inherited from USBHID | |
USB * | pUsb |
uint8_t | bAddress |
Protected Attributes inherited from SwitchProParser | |
SwitchProOutput | switchProOutput |
Static Protected Attributes inherited from HIDComposite | |
static const uint16_t | constBuffLen = 64 |
Static Protected Attributes inherited from USBHID | |
static const uint8_t | epInterruptInIndex = 1 |
static const uint8_t | epInterruptOutIndex = 2 |
static const uint8_t | maxHidInterfaces = 5 |
static const uint8_t | maxEpPerInterface = 2 |
static const uint8_t | totalEndpoints = (maxHidInterfaces * maxEpPerInterface + 1) |
This class implements support for the Switch Pro controller via USB. It uses the HIDUniversal class for all the USB communication.
+ +Definition at line 31 of file SwitchProUSB.h.
+
+
|
+ +inline | +
Constructor for the SwitchProUSB class.
p | Pointer to the USB class instance. |
Definition at line 37 of file SwitchProUSB.h.
+ +
+
|
+ +inline | +
Used to check if a Switch Pro controller is connected.
Definition at line 46 of file SwitchProUSB.h.
+ +
+
|
+ +inline | +
Used to call your own function when the device is successfully initialized.
funcOnInit | Function to call. |
Definition at line 54 of file SwitchProUSB.h.
+ +
+
|
+ +inlineprotectedvirtual | +
Used to parse USB HID data.
hid | Pointer to the HID class. |
is_rpt_id | Only used for Hubs. |
len | The length of the incoming data. |
buf | Pointer to the data buffer. |
Reimplemented from HIDUniversal.
+ +Definition at line 67 of file SwitchProUSB.h.
+ +
+
|
+ +inlineprotectedvirtual | +
Called when a device is successfully initialized. Use attachOnInit(void (*funcOnInit)(void)) to call your own function. This is useful for instance if you want to set the LEDs in a specific way.
+ +Reimplemented from HIDComposite.
+ +Definition at line 77 of file SwitchProUSB.h.
+ +
+
|
+ +inlineprotectedvirtual | +
Send the output to the Switch Pro controller. This is implemented in SwitchProBT.h and SwitchProUSB.h.
data | Pointer to buffer to send by the derived class. |
len | Length of buffer. |
Implements SwitchProParser.
+ +Definition at line 98 of file SwitchProUSB.h.
+ +
+
|
+ +inlineprotectedvirtual | +
Used to send a handshake command via USB before disabling the timeout.
+ +Reimplemented from SwitchProParser.
+ +Definition at line 118 of file SwitchProUSB.h.
+ +
+
|
+ +inlineprotectedvirtual | +
Needed to disable USB timeout for the controller, so it sends out data without the host having to send data continuously.
+ +Reimplemented from SwitchProParser.
+ +Definition at line 129 of file SwitchProUSB.h.
+ +
+
|
+ +inlineprotectedvirtual | +
Used by the USB core to check what this driver support.
vid | The device's VID. |
pid | The device's PID. |
Reimplemented from USBDeviceConfig.
+ +Definition at line 148 of file SwitchProUSB.h.
+ +Reimplemented in BTD, PSBuzz, PS5USB, FTDI, MiniDSP, XBOXONE, PS4USB, ADK, XR21B1411, XBOXRECV, AMBX, XBOXUSB, PS3USB, and XBOXOLD.
+Reimplemented in BTD, PSBuzz, PS5USB, SwitchProUSB, FTDI, MiniDSP, XBOXONE, PS4USB, ADK, XR21B1411, XBOXRECV, AMBX, XBOXUSB, PS3USB, and XBOXOLD.
diff --git a/class_u_s_b_device_config__inherit__graph.map b/class_u_s_b_device_config__inherit__graph.map index 2e12d4ce..4af9b752 100644 --- a/class_u_s_b_device_config__inherit__graph.map +++ b/class_u_s_b_device_config__inherit__graph.map @@ -9,18 +9,19 @@ - - - - - + + + + + - - - - + + + + + diff --git a/class_u_s_b_device_config__inherit__graph.md5 b/class_u_s_b_device_config__inherit__graph.md5 index 305895ac..3607a6a2 100644 --- a/class_u_s_b_device_config__inherit__graph.md5 +++ b/class_u_s_b_device_config__inherit__graph.md5 @@ -1 +1 @@ -5e83e4ab8255183a987a66544696beca \ No newline at end of file +1266de4d80f27ca0130cc1e292a43a15 \ No newline at end of file diff --git a/class_u_s_b_device_config__inherit__graph.png b/class_u_s_b_device_config__inherit__graph.png index 172f467b..60270916 100644 Binary files a/class_u_s_b_device_config__inherit__graph.png and b/class_u_s_b_device_config__inherit__graph.png differ diff --git a/class_u_s_b_h_i_d.html b/class_u_s_b_h_i_d.html index d32df642..a495ae56 100644 --- a/class_u_s_b_h_i_d.html +++ b/class_u_s_b_h_i_d.html @@ -85,10 +85,11 @@ Inheritance diagram for USBHID:Definition at line 78 of file controllerEnums.h.
@@ -487,7 +494,7 @@ Functions -Definition at line 213 of file controllerEnums.h.
+Definition at line 218 of file controllerEnums.h.
@@ -534,7 +541,7 @@ Functions -Definition at line 228 of file controllerEnums.h.
+Definition at line 233 of file controllerEnums.h.
@@ -555,7 +562,7 @@ FunctionsDefinition at line 261 of file controllerEnums.h.
+Definition at line 266 of file controllerEnums.h.
@@ -584,7 +591,7 @@ FunctionsDefinition at line 186 of file controllerEnums.h.
+Definition at line 191 of file controllerEnums.h.
+ USB Host Shield 2.0
+
+ |
+
+ USB Host Shield 2.0
+
+ |
+
The Switch Pro library is split up into the SwitchProBT and the SwitchProUSB library. These allow you to use the Nintendo Switch Pro controller via Bluetooth and USB.
+The SwitchProBT.ino and SwitchProUSB.ino examples shows how to easily read the buttons, joysticks and IMU on the controller via Bluetooth and USB respectively. It is also possible to control the rumble and LEDs on the controller.
+To pair with the Switch Pro controller via Bluetooth you need create the SwitchProBT instance like so: SwitchProBT SwitchPro(&Btd, PAIR);
and then press the Sync button next to the USB connector to put the controller into pairing mode.
It should then automatically pair the dongle with your controller. This only have to be done once.
+All the information about the controller are from these sites:
+This library implements support for the Playstation Buzz controllers via USB.
It is essentially just a wrapper around the HIDUniversal which takes care of the initializing and reading of the controllers. The PSBuzz class simply inherits this and parses the data, so it is easy for users to read the buttons and turn the big red button on the controllers on and off.
diff --git a/inherit_graph_17.md5 b/inherit_graph_17.md5 index b0fda5c6..bf7af391 100644 --- a/inherit_graph_17.md5 +++ b/inherit_graph_17.md5 @@ -1 +1 @@ -4a1442f084d555f2808d170fa818b324 \ No newline at end of file +6ff4e8379f410d3a93e2b2f28323f890 \ No newline at end of file diff --git a/inherit_graph_25.map b/inherit_graph_25.map index 3974590c..fecff67d 100644 --- a/inherit_graph_25.map +++ b/inherit_graph_25.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_25.md5 b/inherit_graph_25.md5 index 9af94416..2605605c 100644 --- a/inherit_graph_25.md5 +++ b/inherit_graph_25.md5 @@ -1 +1 @@ -2bab3ff491288f5e547e564ae1fc609d \ No newline at end of file +91bbc62120320dbb75cbbe2cbfa57d7a \ No newline at end of file diff --git a/inherit_graph_25.png b/inherit_graph_25.png index d4d4daf9..561f11b2 100644 Binary files a/inherit_graph_25.png and b/inherit_graph_25.png differ diff --git a/inherit_graph_26.map b/inherit_graph_26.map index e91e8b29..3974590c 100644 --- a/inherit_graph_26.map +++ b/inherit_graph_26.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_26.md5 b/inherit_graph_26.md5 index a9b3404e..9af94416 100644 --- a/inherit_graph_26.md5 +++ b/inherit_graph_26.md5 @@ -1 +1 @@ -3f6e16e0f330fd7f2b0135e49421fbdb \ No newline at end of file +2bab3ff491288f5e547e564ae1fc609d \ No newline at end of file diff --git a/inherit_graph_26.png b/inherit_graph_26.png index fa43c3e6..d4d4daf9 100644 Binary files a/inherit_graph_26.png and b/inherit_graph_26.png differ diff --git a/inherit_graph_27.map b/inherit_graph_27.map index 7ee0bb27..e91e8b29 100644 --- a/inherit_graph_27.map +++ b/inherit_graph_27.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_27.md5 b/inherit_graph_27.md5 index ae5d4cd3..a9b3404e 100644 --- a/inherit_graph_27.md5 +++ b/inherit_graph_27.md5 @@ -1 +1 @@ -e08adb7aa9a2e08cb1a1ef613802bb88 \ No newline at end of file +3f6e16e0f330fd7f2b0135e49421fbdb \ No newline at end of file diff --git a/inherit_graph_27.png b/inherit_graph_27.png index fc318d6c..fa43c3e6 100644 Binary files a/inherit_graph_27.png and b/inherit_graph_27.png differ diff --git a/inherit_graph_28.map b/inherit_graph_28.map index 37222ea0..7ee0bb27 100644 --- a/inherit_graph_28.map +++ b/inherit_graph_28.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_28.md5 b/inherit_graph_28.md5 index e5ecbdf9..ae5d4cd3 100644 --- a/inherit_graph_28.md5 +++ b/inherit_graph_28.md5 @@ -1 +1 @@ -6e6d8b63a6a89e84a3c609abc8cc137f \ No newline at end of file +e08adb7aa9a2e08cb1a1ef613802bb88 \ No newline at end of file diff --git a/inherit_graph_28.png b/inherit_graph_28.png index 7bc9a7e8..fc318d6c 100644 Binary files a/inherit_graph_28.png and b/inherit_graph_28.png differ diff --git a/inherit_graph_29.map b/inherit_graph_29.map index 86df0970..37222ea0 100644 --- a/inherit_graph_29.map +++ b/inherit_graph_29.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_29.md5 b/inherit_graph_29.md5 index 4b03a4bc..e5ecbdf9 100644 --- a/inherit_graph_29.md5 +++ b/inherit_graph_29.md5 @@ -1 +1 @@ -9b09162b9347c9cd8f2a8a159735a27d \ No newline at end of file +6e6d8b63a6a89e84a3c609abc8cc137f \ No newline at end of file diff --git a/inherit_graph_29.png b/inherit_graph_29.png index 7450731e..7bc9a7e8 100644 Binary files a/inherit_graph_29.png and b/inherit_graph_29.png differ diff --git a/inherit_graph_30.map b/inherit_graph_30.map index 547e2ca3..86df0970 100644 --- a/inherit_graph_30.map +++ b/inherit_graph_30.map @@ -1,4 +1,3 @@ diff --git a/inherit_graph_30.md5 b/inherit_graph_30.md5 index 4de56418..4b03a4bc 100644 --- a/inherit_graph_30.md5 +++ b/inherit_graph_30.md5 @@ -1 +1 @@ -46dae10866aed45c452b93de1e444323 \ No newline at end of file +9b09162b9347c9cd8f2a8a159735a27d \ No newline at end of file diff --git a/inherit_graph_30.png b/inherit_graph_30.png index edf47a37..7450731e 100644 Binary files a/inherit_graph_30.png and b/inherit_graph_30.png differ diff --git a/inherit_graph_31.map b/inherit_graph_31.map index 70e188de..547e2ca3 100644 --- a/inherit_graph_31.map +++ b/inherit_graph_31.map @@ -1,4 +1,4 @@ diff --git a/inherit_graph_31.md5 b/inherit_graph_31.md5 index e2402585..4de56418 100644 --- a/inherit_graph_31.md5 +++ b/inherit_graph_31.md5 @@ -1 +1 @@ -f9f137643490a2671bd014c8a7fba3ad \ No newline at end of file +46dae10866aed45c452b93de1e444323 \ No newline at end of file diff --git a/inherit_graph_31.png b/inherit_graph_31.png index d2fe7e03..edf47a37 100644 Binary files a/inherit_graph_31.png and b/inherit_graph_31.png differ diff --git a/inherit_graph_32.map b/inherit_graph_32.map index 04d3f083..70e188de 100644 --- a/inherit_graph_32.map +++ b/inherit_graph_32.map @@ -1,3 +1,4 @@ diff --git a/inherit_graph_32.md5 b/inherit_graph_32.md5 index 169b5ac1..bace3925 100644 --- a/inherit_graph_32.md5 +++ b/inherit_graph_32.md5 @@ -1 +1 @@ -8551181d5d858138044ea4b10a145867 \ No newline at end of file +674381ae3665b79b430bae5dd55d14b4 \ No newline at end of file diff --git a/inherit_graph_32.png b/inherit_graph_32.png index ba06fcf1..d2fe7e03 100644 Binary files a/inherit_graph_32.png and b/inherit_graph_32.png differ diff --git a/inherit_graph_33.map b/inherit_graph_33.map index 6adf800a..04d3f083 100644 --- a/inherit_graph_33.map +++ b/inherit_graph_33.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_33.md5 b/inherit_graph_33.md5 index 41e99846..169b5ac1 100644 --- a/inherit_graph_33.md5 +++ b/inherit_graph_33.md5 @@ -1 +1 @@ -f259541e334e2b749691dcd177fad6d0 \ No newline at end of file +8551181d5d858138044ea4b10a145867 \ No newline at end of file diff --git a/inherit_graph_33.png b/inherit_graph_33.png index 242b1c15..ba06fcf1 100644 Binary files a/inherit_graph_33.png and b/inherit_graph_33.png differ diff --git a/inherit_graph_34.map b/inherit_graph_34.map index d2454c9e..6adf800a 100644 --- a/inherit_graph_34.map +++ b/inherit_graph_34.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_34.md5 b/inherit_graph_34.md5 index cc33f3d1..41e99846 100644 --- a/inherit_graph_34.md5 +++ b/inherit_graph_34.md5 @@ -1 +1 @@ -f19310b2e38adf532068dce7d4fd812d \ No newline at end of file +f259541e334e2b749691dcd177fad6d0 \ No newline at end of file diff --git a/inherit_graph_34.png b/inherit_graph_34.png index 803f3fd0..242b1c15 100644 Binary files a/inherit_graph_34.png and b/inherit_graph_34.png differ diff --git a/inherit_graph_35.map b/inherit_graph_35.map index 71d07c45..d2454c9e 100644 --- a/inherit_graph_35.map +++ b/inherit_graph_35.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_35.md5 b/inherit_graph_35.md5 index f719d6c8..cc33f3d1 100644 --- a/inherit_graph_35.md5 +++ b/inherit_graph_35.md5 @@ -1 +1 @@ -53d5b561327cba0e0f75009c910c7a37 \ No newline at end of file +f19310b2e38adf532068dce7d4fd812d \ No newline at end of file diff --git a/inherit_graph_35.png b/inherit_graph_35.png index 2bc2ea60..803f3fd0 100644 Binary files a/inherit_graph_35.png and b/inherit_graph_35.png differ diff --git a/inherit_graph_36.map b/inherit_graph_36.map index 4acc86a3..71d07c45 100644 --- a/inherit_graph_36.map +++ b/inherit_graph_36.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_36.md5 b/inherit_graph_36.md5 index 23792aa9..f719d6c8 100644 --- a/inherit_graph_36.md5 +++ b/inherit_graph_36.md5 @@ -1 +1 @@ -a37905d7f0bd1e753a436f71e993751b \ No newline at end of file +53d5b561327cba0e0f75009c910c7a37 \ No newline at end of file diff --git a/inherit_graph_36.png b/inherit_graph_36.png index 297d20bb..2bc2ea60 100644 Binary files a/inherit_graph_36.png and b/inherit_graph_36.png differ diff --git a/inherit_graph_37.map b/inherit_graph_37.map index 5f2b0af2..4acc86a3 100644 --- a/inherit_graph_37.map +++ b/inherit_graph_37.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_37.md5 b/inherit_graph_37.md5 index f63e57d2..23792aa9 100644 --- a/inherit_graph_37.md5 +++ b/inherit_graph_37.md5 @@ -1 +1 @@ -780af63561fd389e88d1b5b476152108 \ No newline at end of file +a37905d7f0bd1e753a436f71e993751b \ No newline at end of file diff --git a/inherit_graph_37.png b/inherit_graph_37.png index 5773b5dc..297d20bb 100644 Binary files a/inherit_graph_37.png and b/inherit_graph_37.png differ diff --git a/inherit_graph_38.map b/inherit_graph_38.map index cf934357..5f2b0af2 100644 --- a/inherit_graph_38.map +++ b/inherit_graph_38.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_38.md5 b/inherit_graph_38.md5 index 58477c90..f63e57d2 100644 --- a/inherit_graph_38.md5 +++ b/inherit_graph_38.md5 @@ -1 +1 @@ -616b5f379937ec3b2b34254a488df2cb \ No newline at end of file +780af63561fd389e88d1b5b476152108 \ No newline at end of file diff --git a/inherit_graph_38.png b/inherit_graph_38.png index e827c276..5773b5dc 100644 Binary files a/inherit_graph_38.png and b/inherit_graph_38.png differ diff --git a/inherit_graph_39.map b/inherit_graph_39.map index 834363f8..cf934357 100644 --- a/inherit_graph_39.map +++ b/inherit_graph_39.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_39.md5 b/inherit_graph_39.md5 index 00bf1ecb..58477c90 100644 --- a/inherit_graph_39.md5 +++ b/inherit_graph_39.md5 @@ -1 +1 @@ -f6c9439cec13cfdc393fb86b9d3bb417 \ No newline at end of file +616b5f379937ec3b2b34254a488df2cb \ No newline at end of file diff --git a/inherit_graph_39.png b/inherit_graph_39.png index a25265c5..e827c276 100644 Binary files a/inherit_graph_39.png and b/inherit_graph_39.png differ diff --git a/inherit_graph_40.map b/inherit_graph_40.map index 8122b2a8..834363f8 100644 --- a/inherit_graph_40.map +++ b/inherit_graph_40.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_40.md5 b/inherit_graph_40.md5 index b21c48ce..00bf1ecb 100644 --- a/inherit_graph_40.md5 +++ b/inherit_graph_40.md5 @@ -1 +1 @@ -78ef2cba43071d258dffdbf25f2c8774 \ No newline at end of file +f6c9439cec13cfdc393fb86b9d3bb417 \ No newline at end of file diff --git a/inherit_graph_40.png b/inherit_graph_40.png index 8c1091a8..a25265c5 100644 Binary files a/inherit_graph_40.png and b/inherit_graph_40.png differ diff --git a/inherit_graph_41.map b/inherit_graph_41.map index ea9be5b3..8122b2a8 100644 --- a/inherit_graph_41.map +++ b/inherit_graph_41.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_41.md5 b/inherit_graph_41.md5 index e03a9260..b21c48ce 100644 --- a/inherit_graph_41.md5 +++ b/inherit_graph_41.md5 @@ -1 +1 @@ -ead926fcce35944b18a807dccaac16ea \ No newline at end of file +78ef2cba43071d258dffdbf25f2c8774 \ No newline at end of file diff --git a/inherit_graph_41.png b/inherit_graph_41.png index 1c9f1b20..8c1091a8 100644 Binary files a/inherit_graph_41.png and b/inherit_graph_41.png differ diff --git a/inherit_graph_42.map b/inherit_graph_42.map index 0e69a421..ea9be5b3 100644 --- a/inherit_graph_42.map +++ b/inherit_graph_42.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_42.md5 b/inherit_graph_42.md5 index c5299dc6..e03a9260 100644 --- a/inherit_graph_42.md5 +++ b/inherit_graph_42.md5 @@ -1 +1 @@ -0af5dbf2ab01736e5d74c171e12e9395 \ No newline at end of file +ead926fcce35944b18a807dccaac16ea \ No newline at end of file diff --git a/inherit_graph_42.png b/inherit_graph_42.png index c786ffd4..1c9f1b20 100644 Binary files a/inherit_graph_42.png and b/inherit_graph_42.png differ diff --git a/inherit_graph_43.map b/inherit_graph_43.map index ed0ca212..0e69a421 100644 --- a/inherit_graph_43.map +++ b/inherit_graph_43.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_43.md5 b/inherit_graph_43.md5 index b3fbe99c..c5299dc6 100644 --- a/inherit_graph_43.md5 +++ b/inherit_graph_43.md5 @@ -1 +1 @@ -1360c14769eda8498dbb233b17d70c4e \ No newline at end of file +0af5dbf2ab01736e5d74c171e12e9395 \ No newline at end of file diff --git a/inherit_graph_43.png b/inherit_graph_43.png index d958ceab..c786ffd4 100644 Binary files a/inherit_graph_43.png and b/inherit_graph_43.png differ diff --git a/inherit_graph_44.map b/inherit_graph_44.map index 9bb58148..ed0ca212 100644 --- a/inherit_graph_44.map +++ b/inherit_graph_44.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_44.md5 b/inherit_graph_44.md5 index 538a2075..b3fbe99c 100644 --- a/inherit_graph_44.md5 +++ b/inherit_graph_44.md5 @@ -1 +1 @@ -740148bf096927677c3179d6d86ddce0 \ No newline at end of file +1360c14769eda8498dbb233b17d70c4e \ No newline at end of file diff --git a/inherit_graph_44.png b/inherit_graph_44.png index 6651c5b9..d958ceab 100644 Binary files a/inherit_graph_44.png and b/inherit_graph_44.png differ diff --git a/inherit_graph_45.map b/inherit_graph_45.map index 65a8c5c6..9bb58148 100644 --- a/inherit_graph_45.map +++ b/inherit_graph_45.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_45.md5 b/inherit_graph_45.md5 index 90221609..538a2075 100644 --- a/inherit_graph_45.md5 +++ b/inherit_graph_45.md5 @@ -1 +1 @@ -74bd0ccee691944860c8f99a80332e7f \ No newline at end of file +740148bf096927677c3179d6d86ddce0 \ No newline at end of file diff --git a/inherit_graph_45.png b/inherit_graph_45.png index e58e4d14..6651c5b9 100644 Binary files a/inherit_graph_45.png and b/inherit_graph_45.png differ diff --git a/inherit_graph_46.map b/inherit_graph_46.map index e04abd4f..65a8c5c6 100644 --- a/inherit_graph_46.map +++ b/inherit_graph_46.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_46.md5 b/inherit_graph_46.md5 index c7f6b75b..90221609 100644 --- a/inherit_graph_46.md5 +++ b/inherit_graph_46.md5 @@ -1 +1 @@ -d2f03a059716e870cf70dc565248c8fc \ No newline at end of file +74bd0ccee691944860c8f99a80332e7f \ No newline at end of file diff --git a/inherit_graph_46.png b/inherit_graph_46.png index 5bf33624..e58e4d14 100644 Binary files a/inherit_graph_46.png and b/inherit_graph_46.png differ diff --git a/inherit_graph_47.map b/inherit_graph_47.map index 8cb9066a..e04abd4f 100644 --- a/inherit_graph_47.map +++ b/inherit_graph_47.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_47.md5 b/inherit_graph_47.md5 index 6d63bc6f..c7f6b75b 100644 --- a/inherit_graph_47.md5 +++ b/inherit_graph_47.md5 @@ -1 +1 @@ -97b3bb1b8c7a5d959d7062dadd1b2fb4 \ No newline at end of file +d2f03a059716e870cf70dc565248c8fc \ No newline at end of file diff --git a/inherit_graph_47.png b/inherit_graph_47.png index 12b74534..5bf33624 100644 Binary files a/inherit_graph_47.png and b/inherit_graph_47.png differ diff --git a/inherit_graph_48.map b/inherit_graph_48.map index e490d26b..8cb9066a 100644 --- a/inherit_graph_48.map +++ b/inherit_graph_48.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_48.md5 b/inherit_graph_48.md5 index 7257614d..6d63bc6f 100644 --- a/inherit_graph_48.md5 +++ b/inherit_graph_48.md5 @@ -1 +1 @@ -75de04845c5ea0bfad88d29b66634e63 \ No newline at end of file +97b3bb1b8c7a5d959d7062dadd1b2fb4 \ No newline at end of file diff --git a/inherit_graph_48.png b/inherit_graph_48.png index 405eead1..12b74534 100644 Binary files a/inherit_graph_48.png and b/inherit_graph_48.png differ diff --git a/inherit_graph_49.map b/inherit_graph_49.map index eca39806..e490d26b 100644 --- a/inherit_graph_49.map +++ b/inherit_graph_49.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_49.md5 b/inherit_graph_49.md5 index b7b703ae..7257614d 100644 --- a/inherit_graph_49.md5 +++ b/inherit_graph_49.md5 @@ -1 +1 @@ -fc0c6602b09dabefcee7566ced779f44 \ No newline at end of file +75de04845c5ea0bfad88d29b66634e63 \ No newline at end of file diff --git a/inherit_graph_49.png b/inherit_graph_49.png index 6aef9e37..405eead1 100644 Binary files a/inherit_graph_49.png and b/inherit_graph_49.png differ diff --git a/inherit_graph_50.map b/inherit_graph_50.map index 28dc4d24..eca39806 100644 --- a/inherit_graph_50.map +++ b/inherit_graph_50.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_50.md5 b/inherit_graph_50.md5 index 586fea5d..b7b703ae 100644 --- a/inherit_graph_50.md5 +++ b/inherit_graph_50.md5 @@ -1 +1 @@ -532461dd82098e73aefc9486da21551d \ No newline at end of file +fc0c6602b09dabefcee7566ced779f44 \ No newline at end of file diff --git a/inherit_graph_50.png b/inherit_graph_50.png index 5cc76ef2..6aef9e37 100644 Binary files a/inherit_graph_50.png and b/inherit_graph_50.png differ diff --git a/inherit_graph_51.map b/inherit_graph_51.map index 064c004a..28dc4d24 100644 --- a/inherit_graph_51.map +++ b/inherit_graph_51.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_51.md5 b/inherit_graph_51.md5 index 0794473c..586fea5d 100644 --- a/inherit_graph_51.md5 +++ b/inherit_graph_51.md5 @@ -1 +1 @@ -ba982092d25453f5d76ea03ca11fb769 \ No newline at end of file +532461dd82098e73aefc9486da21551d \ No newline at end of file diff --git a/inherit_graph_51.png b/inherit_graph_51.png index f398f7d6..5cc76ef2 100644 Binary files a/inherit_graph_51.png and b/inherit_graph_51.png differ diff --git a/inherit_graph_52.map b/inherit_graph_52.map index cc90ee6d..77adc652 100644 --- a/inherit_graph_52.map +++ b/inherit_graph_52.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_52.md5 b/inherit_graph_52.md5 index 778c80eb..e363f7f6 100644 --- a/inherit_graph_52.md5 +++ b/inherit_graph_52.md5 @@ -1 +1 @@ -664cdd50fe3fc461c014337128ad7aab \ No newline at end of file +4ec968f48d29ede7172a419d8ca5e998 \ No newline at end of file diff --git a/inherit_graph_52.png b/inherit_graph_52.png index 1ad12fd0..3f84b8b1 100644 Binary files a/inherit_graph_52.png and b/inherit_graph_52.png differ diff --git a/inherit_graph_53.map b/inherit_graph_53.map index 1195d4e3..23936e94 100644 --- a/inherit_graph_53.map +++ b/inherit_graph_53.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_53.md5 b/inherit_graph_53.md5 index 1e0b36ac..07efe2bb 100644 --- a/inherit_graph_53.md5 +++ b/inherit_graph_53.md5 @@ -1 +1 @@ -cb26c8c2ec7a50f81e9f626f6a48fc6c \ No newline at end of file +d96286e22c87759ccbf51e7d39dc145a \ No newline at end of file diff --git a/inherit_graph_53.png b/inherit_graph_53.png index 7587f73d..74e46d5b 100644 Binary files a/inherit_graph_53.png and b/inherit_graph_53.png differ diff --git a/inherit_graph_54.map b/inherit_graph_54.map index fe25771b..44825ea6 100644 --- a/inherit_graph_54.map +++ b/inherit_graph_54.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_54.md5 b/inherit_graph_54.md5 index 24c9d8a2..18d925af 100644 --- a/inherit_graph_54.md5 +++ b/inherit_graph_54.md5 @@ -1 +1 @@ -f469e622147b0e49fecb391818245388 \ No newline at end of file +df4735d90b10c1b046dca2b2d2d0d876 \ No newline at end of file diff --git a/inherit_graph_54.png b/inherit_graph_54.png index aac81ad6..746991c9 100644 Binary files a/inherit_graph_54.png and b/inherit_graph_54.png differ diff --git a/inherit_graph_55.map b/inherit_graph_55.map index 4670a25c..064c004a 100644 --- a/inherit_graph_55.map +++ b/inherit_graph_55.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_55.md5 b/inherit_graph_55.md5 index d5cbd1e0..0794473c 100644 --- a/inherit_graph_55.md5 +++ b/inherit_graph_55.md5 @@ -1 +1 @@ -4b019bb8753988b9d78aa44ad421e11c \ No newline at end of file +ba982092d25453f5d76ea03ca11fb769 \ No newline at end of file diff --git a/inherit_graph_55.png b/inherit_graph_55.png index c2d63f3d..f398f7d6 100644 Binary files a/inherit_graph_55.png and b/inherit_graph_55.png differ diff --git a/inherit_graph_56.map b/inherit_graph_56.map index fb5aed15..cc90ee6d 100644 --- a/inherit_graph_56.map +++ b/inherit_graph_56.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_56.md5 b/inherit_graph_56.md5 index 4d9f5317..778c80eb 100644 --- a/inherit_graph_56.md5 +++ b/inherit_graph_56.md5 @@ -1 +1 @@ -de8cf79d17a3f66f142c7879ab1825f3 \ No newline at end of file +664cdd50fe3fc461c014337128ad7aab \ No newline at end of file diff --git a/inherit_graph_56.png b/inherit_graph_56.png index d810c3a1..1ad12fd0 100644 Binary files a/inherit_graph_56.png and b/inherit_graph_56.png differ diff --git a/inherit_graph_57.map b/inherit_graph_57.map index 6b511b86..1195d4e3 100644 --- a/inherit_graph_57.map +++ b/inherit_graph_57.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_57.md5 b/inherit_graph_57.md5 index 5c39ee67..1e0b36ac 100644 --- a/inherit_graph_57.md5 +++ b/inherit_graph_57.md5 @@ -1 +1 @@ -108a26c1edf6281248704264fd23f354 \ No newline at end of file +cb26c8c2ec7a50f81e9f626f6a48fc6c \ No newline at end of file diff --git a/inherit_graph_57.png b/inherit_graph_57.png index 28f18a36..7587f73d 100644 Binary files a/inherit_graph_57.png and b/inherit_graph_57.png differ diff --git a/inherit_graph_58.map b/inherit_graph_58.map index 0f54a4b1..fe25771b 100644 --- a/inherit_graph_58.map +++ b/inherit_graph_58.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_58.md5 b/inherit_graph_58.md5 index 9be27c6f..24c9d8a2 100644 --- a/inherit_graph_58.md5 +++ b/inherit_graph_58.md5 @@ -1 +1 @@ -83e61a54a955391d27378668f49dfdad \ No newline at end of file +f469e622147b0e49fecb391818245388 \ No newline at end of file diff --git a/inherit_graph_58.png b/inherit_graph_58.png index 69bd38dd..aac81ad6 100644 Binary files a/inherit_graph_58.png and b/inherit_graph_58.png differ diff --git a/inherit_graph_59.map b/inherit_graph_59.map index 6f18901a..4670a25c 100644 --- a/inherit_graph_59.map +++ b/inherit_graph_59.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_59.md5 b/inherit_graph_59.md5 index 45b0e0c8..d5cbd1e0 100644 --- a/inherit_graph_59.md5 +++ b/inherit_graph_59.md5 @@ -1 +1 @@ -7153ab4eed041252231a13c112a2c38a \ No newline at end of file +4b019bb8753988b9d78aa44ad421e11c \ No newline at end of file diff --git a/inherit_graph_59.png b/inherit_graph_59.png index 8d95a621..c2d63f3d 100644 Binary files a/inherit_graph_59.png and b/inherit_graph_59.png differ diff --git a/inherit_graph_60.map b/inherit_graph_60.map index f2df26d3..fb5aed15 100644 --- a/inherit_graph_60.map +++ b/inherit_graph_60.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_60.md5 b/inherit_graph_60.md5 index 8ad3ed07..4d9f5317 100644 --- a/inherit_graph_60.md5 +++ b/inherit_graph_60.md5 @@ -1 +1 @@ -066a640a01b58aecaa65b83508660e60 \ No newline at end of file +de8cf79d17a3f66f142c7879ab1825f3 \ No newline at end of file diff --git a/inherit_graph_60.png b/inherit_graph_60.png index 2470ac12..d810c3a1 100644 Binary files a/inherit_graph_60.png and b/inherit_graph_60.png differ diff --git a/inherit_graph_61.map b/inherit_graph_61.map index 1c4a43fb..6b511b86 100644 --- a/inherit_graph_61.map +++ b/inherit_graph_61.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_61.md5 b/inherit_graph_61.md5 index a38236fb..5c39ee67 100644 --- a/inherit_graph_61.md5 +++ b/inherit_graph_61.md5 @@ -1 +1 @@ -30917702840d006b48bc2217f01f85b3 \ No newline at end of file +108a26c1edf6281248704264fd23f354 \ No newline at end of file diff --git a/inherit_graph_61.png b/inherit_graph_61.png index 2640e24a..28f18a36 100644 Binary files a/inherit_graph_61.png and b/inherit_graph_61.png differ diff --git a/inherit_graph_62.map b/inherit_graph_62.map index c0a0b8f1..0f54a4b1 100644 --- a/inherit_graph_62.map +++ b/inherit_graph_62.map @@ -1,8 +1,3 @@ diff --git a/inherit_graph_62.md5 b/inherit_graph_62.md5 index cb2f0d8e..9be27c6f 100644 --- a/inherit_graph_62.md5 +++ b/inherit_graph_62.md5 @@ -1 +1 @@ -7f14985e8e6264a50e32588059063dc1 \ No newline at end of file +83e61a54a955391d27378668f49dfdad \ No newline at end of file diff --git a/inherit_graph_62.png b/inherit_graph_62.png index 4f83437a..69bd38dd 100644 Binary files a/inherit_graph_62.png and b/inherit_graph_62.png differ diff --git a/inherit_graph_63.map b/inherit_graph_63.map index 818ce795..6f18901a 100644 --- a/inherit_graph_63.map +++ b/inherit_graph_63.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_63.md5 b/inherit_graph_63.md5 index 01514d88..45b0e0c8 100644 --- a/inherit_graph_63.md5 +++ b/inherit_graph_63.md5 @@ -1 +1 @@ -6bc25936a7ed79973390811b93d8e6fd \ No newline at end of file +7153ab4eed041252231a13c112a2c38a \ No newline at end of file diff --git a/inherit_graph_63.png b/inherit_graph_63.png index a432f582..8d95a621 100644 Binary files a/inherit_graph_63.png and b/inherit_graph_63.png differ diff --git a/inherit_graph_64.map b/inherit_graph_64.map index 8a2a8faf..f2df26d3 100644 --- a/inherit_graph_64.map +++ b/inherit_graph_64.map @@ -1,3 +1,3 @@ diff --git a/inherit_graph_64.md5 b/inherit_graph_64.md5 index 39371a7c..8ad3ed07 100644 --- a/inherit_graph_64.md5 +++ b/inherit_graph_64.md5 @@ -1 +1 @@ -68fc5312f604410458ea1895db171dff \ No newline at end of file +066a640a01b58aecaa65b83508660e60 \ No newline at end of file diff --git a/inherit_graph_64.png b/inherit_graph_64.png index b123b80c..2470ac12 100644 Binary files a/inherit_graph_64.png and b/inherit_graph_64.png differ diff --git a/inherit_graph_65.map b/inherit_graph_65.map index 595860ff..1c4a43fb 100644 --- a/inherit_graph_65.map +++ b/inherit_graph_65.map @@ -1,40 +1,3 @@ diff --git a/inherit_graph_65.md5 b/inherit_graph_65.md5 index ce9e8577..a38236fb 100644 --- a/inherit_graph_65.md5 +++ b/inherit_graph_65.md5 @@ -1 +1 @@ -daf12b400c88f63cd3b934a3c98284a8 \ No newline at end of file +30917702840d006b48bc2217f01f85b3 \ No newline at end of file diff --git a/inherit_graph_65.png b/inherit_graph_65.png index b7ba9bf6..2640e24a 100644 Binary files a/inherit_graph_65.png and b/inherit_graph_65.png differ diff --git a/inherit_graph_66.map b/inherit_graph_66.map new file mode 100644 index 00000000..c0a0b8f1 --- /dev/null +++ b/inherit_graph_66.map @@ -0,0 +1,8 @@ + diff --git a/inherit_graph_66.md5 b/inherit_graph_66.md5 new file mode 100644 index 00000000..cb2f0d8e --- /dev/null +++ b/inherit_graph_66.md5 @@ -0,0 +1 @@ +7f14985e8e6264a50e32588059063dc1 \ No newline at end of file diff --git a/inherit_graph_66.png b/inherit_graph_66.png new file mode 100644 index 00000000..4f83437a Binary files /dev/null and b/inherit_graph_66.png differ diff --git a/inherit_graph_67.map b/inherit_graph_67.map new file mode 100644 index 00000000..818ce795 --- /dev/null +++ b/inherit_graph_67.map @@ -0,0 +1,3 @@ + diff --git a/inherit_graph_67.md5 b/inherit_graph_67.md5 new file mode 100644 index 00000000..01514d88 --- /dev/null +++ b/inherit_graph_67.md5 @@ -0,0 +1 @@ +6bc25936a7ed79973390811b93d8e6fd \ No newline at end of file diff --git a/inherit_graph_67.png b/inherit_graph_67.png new file mode 100644 index 00000000..a432f582 Binary files /dev/null and b/inherit_graph_67.png differ diff --git a/inherit_graph_68.map b/inherit_graph_68.map new file mode 100644 index 00000000..8a2a8faf --- /dev/null +++ b/inherit_graph_68.map @@ -0,0 +1,3 @@ + diff --git a/inherit_graph_68.md5 b/inherit_graph_68.md5 new file mode 100644 index 00000000..39371a7c --- /dev/null +++ b/inherit_graph_68.md5 @@ -0,0 +1 @@ +68fc5312f604410458ea1895db171dff \ No newline at end of file diff --git a/inherit_graph_68.png b/inherit_graph_68.png new file mode 100644 index 00000000..b123b80c Binary files /dev/null and b/inherit_graph_68.png differ diff --git a/inherit_graph_69.map b/inherit_graph_69.map new file mode 100644 index 00000000..0faa2d72 --- /dev/null +++ b/inherit_graph_69.map @@ -0,0 +1,43 @@ + diff --git a/inherit_graph_69.md5 b/inherit_graph_69.md5 new file mode 100644 index 00000000..5ed8ca92 --- /dev/null +++ b/inherit_graph_69.md5 @@ -0,0 +1 @@ +1eca52731736de13023f7b724ab01470 \ No newline at end of file diff --git a/inherit_graph_69.png b/inherit_graph_69.png new file mode 100644 index 00000000..24cc83f2 Binary files /dev/null and b/inherit_graph_69.png differ diff --git a/inherits.html b/inherits.html index 69f42b33..896c50c1 100644 --- a/inherits.html +++ b/inherits.html @@ -202,194 +202,214 @@ $(function() { -Public Attributes | |
union { | |
struct { | |
uint16_t bmStatus | |
uint16_t bmChange | |
} | |
uint32_t bmEvent | |
uint8_t evtBuff [4] | |
}; | |
union { | |
struct { | |
uint16_t bmStatus | |
uint16_t bmChange | |
} | |
uint32_t bmEvent | |
uint8_t evtBuff [4] | |
}; | |
+ USB Host Shield 2.0
+
+ |
+
This is the complete list of members for ImuData, including all inherited members.
+accX | ImuData | |
accY | ImuData | |
accZ | ImuData | |
gyroX | ImuData | |
gyroY | ImuData | |
gyroZ | ImuData |
+ USB Host Shield 2.0
+
+ |
+
#include <SwitchProParser.h>
+Public Attributes | |
int16_t | accX |
int16_t | accY |
int16_t | accZ |
int16_t | gyroX |
int16_t | gyroY |
int16_t | gyroZ |
Definition at line 97 of file SwitchProParser.h.
+int16_t ImuData::accX | +
Definition at line 98 of file SwitchProParser.h.
+ +int16_t ImuData::accY | +
Definition at line 98 of file SwitchProParser.h.
+ +int16_t ImuData::accZ | +
Definition at line 98 of file SwitchProParser.h.
+ +int16_t ImuData::gyroX | +
Definition at line 99 of file SwitchProParser.h.
+ +int16_t ImuData::gyroY | +
Definition at line 99 of file SwitchProParser.h.
+ +int16_t ImuData::gyroZ | +
Definition at line 99 of file SwitchProParser.h.
+ +Public Attributes | ||
union { | ||
uint8_t bmRequestType | ||
struct { | ||
uint8_t recipient: 5 | ||
uint8_t type: 2 | ||
uint8_t direction: 1 | ||
} | ||
} | ReqType_u | |
union { | ||
uint8_t bmRequestType | ||
struct { | ||
uint8_t recipient: 5 | ||
uint8_t type: 2 | ||
uint8_t direction: 1 | ||
} | ||
} | ReqType_u | |
uint8_t | bRequest | |
union { | ||
uint16_t wValue | ||
struct { | ||
uint8_t wValueLo | ||
uint8_t wValueHi | ||
} | ||
} | wVal_u | |
union { | ||
uint16_t wValue | ||
struct { | ||
uint8_t wValueLo | ||
uint8_t wValueHi | ||
} | ||
} | wVal_u | |
uint16_t | wIndex | |
uint16_t | wLength |
+ USB Host Shield 2.0
+
+ |
+
This is the complete list of members for SwitchProData, including all inherited members.
+battery_level | SwitchProData | |
btn | SwitchProData | |
connection_info | SwitchProData | |
imu | SwitchProData | |
leftHatX | SwitchProData | |
leftHatY | SwitchProData | |
rightHatX | SwitchProData | |
rightHatY | SwitchProData | |
vibratorInput | SwitchProData |
+ USB Host Shield 2.0
+
+ |
+
#include <SwitchProParser.h>
+Public Attributes | |
struct { | |
uint8_t connection_info: 4 | |
uint8_t battery_level: 4 | |
}; | |
SwitchProButtons | btn |
uint16_t | leftHatX: 12 |
uint16_t | leftHatY: 12 |
uint16_t | rightHatX: 12 |
uint16_t | rightHatY: 12 |
uint8_t | vibratorInput |
ImuData | imu [3] |
Definition at line 102 of file SwitchProParser.h.
+uint8_t SwitchProData::connection_info | +
Definition at line 104 of file SwitchProParser.h.
+ +uint8_t SwitchProData::battery_level | +
Definition at line 105 of file SwitchProParser.h.
+ +struct { ... } | +
SwitchProButtons SwitchProData::btn | +
Definition at line 109 of file SwitchProParser.h.
+ +uint16_t SwitchProData::leftHatX | +
Definition at line 112 of file SwitchProParser.h.
+ +uint16_t SwitchProData::leftHatY | +
Definition at line 113 of file SwitchProParser.h.
+ +uint16_t SwitchProData::rightHatX | +
Definition at line 114 of file SwitchProParser.h.
+ +uint16_t SwitchProData::rightHatY | +
Definition at line 115 of file SwitchProParser.h.
+ +uint8_t SwitchProData::vibratorInput | +
Definition at line 117 of file SwitchProParser.h.
+ +ImuData SwitchProData::imu[3] | +
Definition at line 122 of file SwitchProParser.h.
+ +
+ USB Host Shield 2.0
+
+ |
+
This is the complete list of members for SwitchProOutput, including all inherited members.
+disableTimeout | SwitchProOutput | |
enableFullReportMode | SwitchProOutput | |
enableImu | SwitchProOutput | |
ledHome | SwitchProOutput | |
ledHomeReportChanged | SwitchProOutput | |
ledMask | SwitchProOutput | |
ledReportChanged | SwitchProOutput | |
leftRumbleOn | SwitchProOutput | |
rightRumbleOn | SwitchProOutput | |
sendHandshake | SwitchProOutput |
+ USB Host Shield 2.0
+
+ |
+
#include <SwitchProParser.h>
+Public Attributes | |
bool | leftRumbleOn |
bool | rightRumbleOn |
uint8_t | ledMask |
bool | ledHome |
bool | ledReportChanged |
bool | ledHomeReportChanged |
bool | enableFullReportMode |
int8_t | enableImu |
bool | sendHandshake |
bool | disableTimeout |
Definition at line 125 of file SwitchProParser.h.
+bool SwitchProOutput::leftRumbleOn | +
Definition at line 126 of file SwitchProParser.h.
+ +bool SwitchProOutput::rightRumbleOn | +
Definition at line 127 of file SwitchProParser.h.
+ +uint8_t SwitchProOutput::ledMask | +
Definition at line 128 of file SwitchProParser.h.
+ +bool SwitchProOutput::ledHome | +
Definition at line 129 of file SwitchProParser.h.
+ +bool SwitchProOutput::ledReportChanged | +
Definition at line 132 of file SwitchProParser.h.
+ +bool SwitchProOutput::ledHomeReportChanged | +
Definition at line 133 of file SwitchProParser.h.
+ +bool SwitchProOutput::enableFullReportMode | +
Definition at line 134 of file SwitchProParser.h.
+ +int8_t SwitchProOutput::enableImu | +
Definition at line 135 of file SwitchProParser.h.
+ +bool SwitchProOutput::sendHandshake | +
Definition at line 136 of file SwitchProParser.h.
+ +bool SwitchProOutput::disableTimeout | +
Definition at line 137 of file SwitchProParser.h.
+ +
+ USB Host Shield 2.0
+
+ |
+
This is the complete list of members for SwitchProButtons, including all inherited members.
+a | SwitchProButtons | |
b | SwitchProButtons | |
capture | SwitchProButtons | |
dpad | SwitchProButtons | |
dummy1 | SwitchProButtons | |
dummy2 | SwitchProButtons | |
dummy3 | SwitchProButtons | |
home | SwitchProButtons | |
l | SwitchProButtons | |
l3 | SwitchProButtons | |
minus | SwitchProButtons | |
plus | SwitchProButtons | |
r | SwitchProButtons | |
r3 | SwitchProButtons | |
val | SwitchProButtons | |
x | SwitchProButtons | |
y | SwitchProButtons | |
zl | SwitchProButtons | |
zr | SwitchProButtons |
+ USB Host Shield 2.0
+
+ |
+
#include <SwitchProParser.h>
+Public Attributes | |
struct { | |
uint8_t y: 1 | |
uint8_t x: 1 | |
uint8_t b: 1 | |
uint8_t a: 1 | |
uint8_t dummy1: 2 | |
uint8_t r: 1 | |
uint8_t zr: 1 | |
uint8_t minus: 1 | |
uint8_t plus: 1 | |
uint8_t r3: 1 | |
uint8_t l3: 1 | |
uint8_t home: 1 | |
uint8_t capture: 1 | |
uint8_t dummy2: 2 | |
uint8_t dpad: 4 | |
uint8_t dummy3: 2 | |
uint8_t l: 1 | |
uint8_t zl: 1 | |
}; | |
uint32_t | val: 24 |
Definition at line 68 of file SwitchProParser.h.
+uint8_t SwitchProButtons::y | +
Definition at line 70 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::x | +
Definition at line 71 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::b | +
Definition at line 72 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::a | +
Definition at line 73 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::dummy1 | +
Definition at line 75 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::r | +
Definition at line 76 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::zr | +
Definition at line 77 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::minus | +
Definition at line 79 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::plus | +
Definition at line 80 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::r3 | +
Definition at line 81 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::l3 | +
Definition at line 82 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::home | +
Definition at line 84 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::capture | +
Definition at line 85 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::dummy2 | +
Definition at line 86 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::dpad | +
Definition at line 88 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::dummy3 | +
Definition at line 90 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::l | +
Definition at line 91 of file SwitchProParser.h.
+ +uint8_t SwitchProButtons::zl | +
Definition at line 92 of file SwitchProParser.h.
+ +struct { ... } | +
uint32_t SwitchProButtons::val | +
Definition at line 94 of file SwitchProParser.h.
+ +Public Attributes | |
struct { | |
uint8_t dpad: 4 | |
uint8_t reserved: 4 | |
uint8_t a: 1 | |
uint8_t b: 1 | |
uint8_t x: 1 | |
uint8_t y: 1 | |
uint8_t l1: 1 | |
uint8_t r1: 1 | |
uint8_t view: 1 | |
uint8_t menu: 1 | |
uint8_t l3: 1 | |
uint8_t r3: 1 | |
uint8_t reserved2: 6 | |
}; | |
struct { | |
uint8_t dpad: 4 | |
uint8_t reserved: 4 | |
uint8_t a: 1 | |
uint8_t b: 1 | |
uint8_t x: 1 | |
uint8_t y: 1 | |
uint8_t l1: 1 | |
uint8_t r1: 1 | |
uint8_t view: 1 | |
uint8_t menu: 1 | |
uint8_t l3: 1 | |
uint8_t r3: 1 | |
uint8_t reserved2: 6 | |
}; | |
uint32_t | val: 24 |