USB Host Shield 2.0
|
Go to the source code of this file.
Enumerations | |
enum | LEDEnum { OFF = 0, LED1 = 1, LED2 = 2, LED3 = 3, LED4 = 4, LED5 = 5, LED6 = 6, LED7 = 7, LED8 = 8, LED9 = 9, LED10 = 10, ALL = 5 } |
enum | ColorsEnum { Red = 0xFF0000, Green = 0xFF00, Blue = 0xFF, Yellow = 0xFFEB04, Lightblue = 0xFFFF, Purple = 0xFF00FF, Purble = 0xFF00FF, White = 0xFFFFFF, Off = 0x00 } |
enum | RumbleEnum { RumbleHigh = 0x10, RumbleLow = 0x20 } |
enum | ButtonEnum { 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, L = 16, R = 17, ZL = 18, ZR = 19, SELECT = 4, START = 5, L3 = 6, R3 = 7, L2 = 8, R2 = 9, L1 = 10, R1 = 11, TRIANGLE = 12, CIRCLE = 13, CROSS = 14, SQUARE = 15, PS = 16, MOVE = 17, T = 18, SHARE = 4, OPTIONS = 5, TOUCHPAD = 17, BACK = 4, X = 14, Y = 15, XBOX = 16, SYNC = 17, BLACK = 8, WHITE = 9, RED = 0, YELLOW = 1, GREEN = 2, ORANGE = 3, BLUE = 4 } |
enum | AnalogHatEnum { LeftHatX = 0, LeftHatY = 1, RightHatX = 2, RightHatY = 3 } |
enum | SensorEnum { aX = 50, aY = 52, aZ = 54, gZ = 56, gX, gY, aXmove = 28, aZmove = 30, aYmove = 32, gXmove = 40, gZmove = 42, gYmove = 44, tempMove = 46, mXmove = 47, mZmove = 49, mYmove = 50 } |
enum | AngleEnum { Pitch = 0x01, Roll = 0x02 } |
enum LEDEnum |
This header file is used to store different enums for the controllers, This is necessary so all the different libraries can be used at once.Enum used to turn on the LEDs on the different controllers.
Enumerator | |
---|---|
OFF | |
LED1 | |
LED2 | |
LED3 | |
LED4 | |
LED5 | |
LED6 | |
LED7 | |
LED8 | |
LED9 | |
LED10 | |
ALL |
Used to blink all LEDs on the Xbox controller |
Definition at line 27 of file controllerEnums.h.
enum ColorsEnum |
Used to set the colors of the Move and PS4 controller.
Definition at line 46 of file controllerEnums.h.
enum RumbleEnum |
Enumerator | |
---|---|
RumbleHigh | |
RumbleLow |
Definition at line 68 of file controllerEnums.h.
enum ButtonEnum |
This enum is used to read all the different buttons on the different controllers
Definition at line 74 of file controllerEnums.h.
enum AnalogHatEnum |
Joysticks on the PS3 and Xbox controllers.
Enumerator | |
---|---|
LeftHatX |
Left joystick x-axis |
LeftHatY |
Left joystick y-axis |
RightHatX |
Right joystick x-axis |
RightHatY |
Right joystick y-axis |
Definition at line 153 of file controllerEnums.h.
enum SensorEnum |
Sensors inside the Sixaxis Dualshock 3, Move controller and PS4 controller. Note: that the location is shifted 9 when it's connected via USB on the PS3 controller.
Definition at line 168 of file controllerEnums.h.
enum AngleEnum |
Used to get the angle calculated using the PS3 controller and PS4 controller.
Enumerator | |
---|---|
Pitch | |
Roll |
Definition at line 201 of file controllerEnums.h.