USB Host Shield 2.0
Classes | Variables
SwitchProParser.h File Reference
#include "Usb.h"
#include "controllerEnums.h"
Include dependency graph for SwitchProParser.h:
This graph shows which files directly or indirectly include this file:

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 []
 

Variable Documentation

◆ SWITCH_PRO_LEDS

const uint8_t SWITCH_PRO_LEDS[]
Initial value:
= {
0x00,
0x01,
0x02,
0x04,
0x08,
0x09,
0x0A,
0x0C,
0x0D,
0x0E,
0x0F,
}

Used to set the LEDs on the controller

Definition at line 25 of file SwitchProParser.h.

◆ SWITCH_PRO_BUTTONS

const uint8_t SWITCH_PRO_BUTTONS[]
Initial value:
= {
0x11,
0x12,
0x10,
0x13,
0x0D,
0x09,
0x0B,
0x0A,
0x08,
0x0C,
0, 0,
0x02,
0x03,
0x01,
0x00,
0x16,
0x06,
0x17,
0x07,
}

Buttons on the controller

Definition at line 41 of file SwitchProParser.h.