USB_Host_Shield_2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
GamePadEventData Struct Reference

#include <le3dp_rptparser.h>

Public Attributes

union {
   uint32_t   axes
 
   struct {
      uint32_t   x: 10
 
      uint32_t   y: 10
 
      uint32_t   hat: 4
 
      uint32_t   twist: 8
 
   } 
 
}; 
 
uint8_t buttons_a
 
uint8_t slider
 
uint8_t buttons_b
 
uint8_t X
 
uint8_t Y
 
uint8_t Z1
 
uint8_t Z2
 
uint8_t Rz
 

Detailed Description

Definition at line 24 of file le3dp_rptparser.h.

Member Data Documentation

union { ... }
uint32_t GamePadEventData::axes

Definition at line 27 of file le3dp_rptparser.h.

uint8_t GamePadEventData::buttons_a

Definition at line 35 of file le3dp_rptparser.h.

uint8_t GamePadEventData::buttons_b

Definition at line 37 of file le3dp_rptparser.h.

uint32_t GamePadEventData::hat

Definition at line 31 of file le3dp_rptparser.h.

uint8_t GamePadEventData::Rz

Definition at line 26 of file hidjoystickrptparser.h.

uint8_t GamePadEventData::slider

Definition at line 36 of file le3dp_rptparser.h.

uint32_t GamePadEventData::twist

Definition at line 32 of file le3dp_rptparser.h.

uint8_t GamePadEventData::X

Definition at line 26 of file hidjoystickrptparser.h.

uint32_t GamePadEventData::x

Definition at line 29 of file le3dp_rptparser.h.

uint8_t GamePadEventData::Y

Definition at line 26 of file hidjoystickrptparser.h.

uint32_t GamePadEventData::y

Definition at line 30 of file le3dp_rptparser.h.

uint8_t GamePadEventData::Z1

Definition at line 26 of file hidjoystickrptparser.h.

uint8_t GamePadEventData::Z2

Definition at line 26 of file hidjoystickrptparser.h.


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