USB Host Shield 2.0
Public Attributes | List of all members
PS4Buttons Union Reference

#include <PS4Parser.h>

Public Attributes

struct {
   uint8_t   dpad: 4
 
   uint8_t   square: 1
 
   uint8_t   cross: 1
 
   uint8_t   circle: 1
 
   uint8_t   triangle: 1
 
   uint8_t   l1: 1
 
   uint8_t   r1: 1
 
   uint8_t   l2: 1
 
   uint8_t   r2: 1
 
   uint8_t   share: 1
 
   uint8_t   options: 1
 
   uint8_t   l3: 1
 
   uint8_t   r3: 1
 
   uint8_t   ps: 1
 
   uint8_t   touchpad: 1
 
   uint8_t   reportCounter: 6
 
}; 
 
uint32_t val: 24
 

Detailed Description

Definition at line 50 of file PS4Parser.h.

Member Data Documentation

◆ dpad

uint8_t PS4Buttons::dpad

Definition at line 52 of file PS4Parser.h.

◆ square

uint8_t PS4Buttons::square

Definition at line 53 of file PS4Parser.h.

◆ cross

uint8_t PS4Buttons::cross

Definition at line 54 of file PS4Parser.h.

◆ circle

uint8_t PS4Buttons::circle

Definition at line 55 of file PS4Parser.h.

◆ triangle

uint8_t PS4Buttons::triangle

Definition at line 56 of file PS4Parser.h.

◆ l1

uint8_t PS4Buttons::l1

Definition at line 58 of file PS4Parser.h.

◆ r1

uint8_t PS4Buttons::r1

Definition at line 59 of file PS4Parser.h.

◆ l2

uint8_t PS4Buttons::l2

Definition at line 60 of file PS4Parser.h.

◆ r2

uint8_t PS4Buttons::r2

Definition at line 61 of file PS4Parser.h.

◆ share

uint8_t PS4Buttons::share

Definition at line 62 of file PS4Parser.h.

◆ options

uint8_t PS4Buttons::options

Definition at line 63 of file PS4Parser.h.

◆ l3

uint8_t PS4Buttons::l3

Definition at line 64 of file PS4Parser.h.

◆ r3

uint8_t PS4Buttons::r3

Definition at line 65 of file PS4Parser.h.

◆ ps

uint8_t PS4Buttons::ps

Definition at line 67 of file PS4Parser.h.

◆ touchpad

uint8_t PS4Buttons::touchpad

Definition at line 68 of file PS4Parser.h.

◆ reportCounter

uint8_t PS4Buttons::reportCounter

Definition at line 69 of file PS4Parser.h.

◆ @27

struct { ... }

◆ val

uint32_t PS4Buttons::val

Definition at line 71 of file PS4Parser.h.


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