USB Host Shield 2.0
Enumerations | Variables
xboxEnums.h File Reference
#include "controllerEnums.h"
Include dependency graph for xboxEnums.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  LEDModeEnum { ROTATING = 0x0A, FASTBLINK = 0x0B, SLOWBLINK = 0x0C, ALTERNATING = 0x0D }
 

Variables

const uint8_t XBOX_LEDS []
 
const uint16_t XBOX_BUTTONS []
 

Enumeration Type Documentation

Enum used to set special LED modes supported by the Xbox controller.

Enumerator
ROTATING 
FASTBLINK 
SLOWBLINK 
ALTERNATING 

Definition at line 24 of file xboxEnums.h.

Variable Documentation

const uint8_t XBOX_LEDS[]
Initial value:
= {
0x00,
0x02,
0x03,
0x04,
0x05,
0x01,
}

Used to set the LEDs on the controllers

Definition at line 32 of file xboxEnums.h.

const uint16_t XBOX_BUTTONS[]
Initial value:
= {
0x0100,
0x0800,
0x0200,
0x0400,
0x2000,
0x1000,
0x4000,
0x8000,
0, 0,
0x0001,
0x0002,
0x0020,
0x0010,
0x0040,
0x0080,
0x0004,
0x0008,
}

Buttons on the controllers

Definition at line 41 of file xboxEnums.h.