USB Host Shield 2.0
Public Attributes | List of all members
SwitchProData Struct Reference

#include <SwitchProParser.h>

Collaboration diagram for SwitchProData:
Collaboration graph
[legend]

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]
 

Detailed Description

Definition at line 102 of file SwitchProParser.h.

Member Data Documentation

◆ connection_info

uint8_t SwitchProData::connection_info

Definition at line 104 of file SwitchProParser.h.

◆ battery_level

uint8_t SwitchProData::battery_level

Definition at line 105 of file SwitchProParser.h.

◆ 

struct { ... }

◆ btn

SwitchProButtons SwitchProData::btn

Definition at line 109 of file SwitchProParser.h.

◆ leftHatX

uint16_t SwitchProData::leftHatX

Definition at line 112 of file SwitchProParser.h.

◆ leftHatY

uint16_t SwitchProData::leftHatY

Definition at line 113 of file SwitchProParser.h.

◆ rightHatX

uint16_t SwitchProData::rightHatX

Definition at line 114 of file SwitchProParser.h.

◆ rightHatY

uint16_t SwitchProData::rightHatY

Definition at line 115 of file SwitchProParser.h.

◆ vibratorInput

uint8_t SwitchProData::vibratorInput

Definition at line 117 of file SwitchProParser.h.

◆ imu

ImuData SwitchProData::imu[3]

Definition at line 122 of file SwitchProParser.h.


The documentation for this struct was generated from the following file: