USB Host Shield 2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Enumerations | Variables
PS4Parser.h File Reference
#include "Usb.h"
#include "controllerEnums.h"
Include dependency graph for PS4Parser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  PS4Buttons
 
struct  touchpadXY
 
struct  PS4Status
 
struct  PS4Data
 
struct  PS4Output
 
class  PS4Parser
 

Enumerations

enum  DPADEnum {
  DPAD_UP = 0x0, DPAD_UP_RIGHT = 0x1, DPAD_RIGHT = 0x2, DPAD_RIGHT_DOWN = 0x3,
  DPAD_DOWN = 0x4, DPAD_DOWN_LEFT = 0x5, DPAD_LEFT = 0x6, DPAD_LEFT_UP = 0x7,
  DPAD_OFF = 0x8
}
 

Variables

const uint8_t PS4_BUTTONS []
 

Enumeration Type Documentation

enum DPADEnum
Enumerator
DPAD_UP 
DPAD_UP_RIGHT 
DPAD_RIGHT 
DPAD_RIGHT_DOWN 
DPAD_DOWN 
DPAD_DOWN_LEFT 
DPAD_LEFT 
DPAD_LEFT_UP 
DPAD_OFF 

Definition at line 123 of file PS4Parser.h.

Variable Documentation

const uint8_t PS4_BUTTONS[]
Initial value:
= {
UP,
DOWN,
LEFT,
0x0C,
0x0D,
0x0E,
0x0F,
0x0A,
0x0B,
0x08,
0x09,
0x07,
0x06,
0x05,
0x04,
0x10,
0x11,
}

Buttons on the controller

Definition at line 25 of file PS4Parser.h.