USB_Host_Shield_2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Enumerations
controllerEnums.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  LED {
  LED1 = 0, LED2 = 1, LED3 = 2, LED4 = 3,
  LED5 = 4, LED6 = 5, LED7 = 6, LED8 = 7,
  LED9 = 8, LED10 = 9, ALL = 4, ALL = 0x01,
  LED1 = 0x02, LED2 = 0x03, LED3 = 0x04, LED4 = 0x05
}
 
enum  Button {
  UP = 0, RIGHT = 1, DOWN = 2, LEFT = 3,
  PLUS = 5, TWO = 6, ONE = 7, MINUS = 8,
  HOME = 9, Z = 10, C = 11, B = 12,
  A = 13, SELECT = 4, L3 = 5, R3 = 6,
  START = 7, L2 = 8, R2 = 9, L1 = 10,
  R1 = 11, TRIANGLE = 12, CIRCLE = 13, CROSS = 14,
  SQUARE = 15, PS = 16, MOVE = 17, T = 18,
  BACK = 4, X = 14, Y = 15, XBOX = 16,
  SYNC = 17, UP = (2 << 8) | 0x01, DOWN = (2 << 8) | 0x02, LEFT = (2 << 8) | 0x04,
  RIGHT = (2 << 8) | 0x08, START = (2 << 8) | 0x10, BACK = (2 << 8) | 0x20, L3 = (2 << 8) | 0x40,
  R3 = (2 << 8) | 0x80, L1 = (3 << 8) | 0x01, R1 = (3 << 8) | 0x02, XBOX = (3 << 8) | 0x04,
  A = (3 << 8) | 0x10, B = (3 << 8) | 0x20, X = (3 << 8) | 0x40, Y = (3 << 8) | 0x80,
  L2 = 4, R2 = 5
}
 
enum  AnalogHat {
  LeftHatX = 0, LeftHatY = 1, RightHatX = 2, RightHatY = 3,
  LeftHatX = 6, LeftHatY = 8, RightHatX = 10, RightHatY = 12
}
 

Enumeration Type Documentation

enum AnalogHat
Enumerator
LeftHatX 
LeftHatY 
RightHatX 
RightHatY 
LeftHatX 
LeftHatY 
RightHatX 
RightHatY 
enum Button
Enumerator
UP 
RIGHT 
DOWN 
LEFT 
PLUS 
TWO 
ONE 
MINUS 
HOME 
Z 
C 
B 
A 
SELECT 
L3 
R3 
START 
L2 
R2 
L1 
R1 
TRIANGLE 
CIRCLE 
CROSS 
SQUARE 
PS 
MOVE 
T 
BACK 
X 
Y 
XBOX 
SYNC 
UP 
DOWN 
LEFT 
RIGHT 
START 
BACK 
L3 
R3 
L1 
R1 
XBOX 
A 
B 
X 
Y 
L2 
R2 
enum LED
Enumerator
LED1 
LED2 
LED3 
LED4 
LED5 
LED6 
LED7 
LED8 
LED9 
LED10 
ALL 
ALL 
LED1 
LED2 
LED3 
LED4