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

Go to the source code of this file.

Enumerations

enum  Colors {
  Red = 0xFF0000, Green = 0xFF00, Blue = 0xFF, Yellow = 0xFFEB04,
  Lightblue = 0xFFFF, Purble = 0xFF00FF, White = 0xFFFFFF, Off = 0x00
}
 
enum  Sensor {
  aX = 50, aY = 52, aZ = 54, gZ = 56,
  aXmove = 28, aZmove = 30, aYmove = 32, gXmove = 40,
  gZmove = 42, gYmove = 44, tempMove = 46, mXmove = 47,
  mZmove = 49, mYmove = 50
}
 
enum  Angle { Pitch = 0x01, Roll = 0x02 }
 
enum  Status {
  Plugged = (38 << 8) | 0x02, Unplugged = (38 << 8) | 0x03, Charging = (39 << 8) | 0xEE, NotCharging = (39 << 8) | 0xF1,
  Shutdown = (39 << 8) | 0x01, Dying = (39 << 8) | 0x02, Low = (39 << 8) | 0x03, High = (39 << 8) | 0x04,
  Full = (39 << 8) | 0x05, MoveCharging = (21 << 8) | 0xEE, MoveNotCharging = (21 << 8) | 0xF1, MoveShutdown = (21 << 8) | 0x01,
  MoveDying = (21 << 8) | 0x02, MoveLow = (21 << 8) | 0x03, MoveHigh = (21 << 8) | 0x04, MoveFull = (21 << 8) | 0x05,
  CableRumble = (40 << 8) | 0x10, Cable = (40 << 8) | 0x12, BluetoothRumble = (40 << 8) | 0x14, Bluetooth = (40 << 8) | 0x16
}
 
enum  Rumble { RumbleHigh = 0x10, RumbleLow = 0x20 }
 

Variables

const uint8_t LEDS[] PROGMEM
 

Enumeration Type Documentation

enum Angle
Enumerator
Pitch 
Roll 
enum Colors
Enumerator
Red 
Green 
Blue 
Yellow 
Lightblue 
Purble 
White 
Off 
enum Rumble
Enumerator
RumbleHigh 
RumbleLow 
enum Sensor
Enumerator
aX 
aY 
aZ 
gZ 
aXmove 
aZmove 
aYmove 
gXmove 
gZmove 
gYmove 
tempMove 
mXmove 
mZmove 
mYmove 
enum Status
Enumerator
Plugged 
Unplugged 
Charging 
NotCharging 
Shutdown 
Dying 
Low 
High 
Full 
MoveCharging 
MoveNotCharging 
MoveShutdown 
MoveDying 
MoveLow 
MoveHigh 
MoveFull 
CableRumble 
Cable 
BluetoothRumble 
Bluetooth 

Variable Documentation

const uint8_t ANALOGBUTTONS [] PROGMEM
Initial value:
= {
0x01,
0x02,
0x04,
0x08,
0x09,
0x0A,
0x0C,
0x0D,
0x0E,
0x0F
}