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

Go to the source code of this file.

Classes

class  XBOXRECV
 

Macros

#define EP_MAXPKTSIZE   32
 
#define EP_INTERRUPT   0x03
 
#define XBOX_CONTROL_PIPE   0
 
#define XBOX_INPUT_PIPE_1   1
 
#define XBOX_OUTPUT_PIPE_1   2
 
#define XBOX_INPUT_PIPE_2   3
 
#define XBOX_OUTPUT_PIPE_2   4
 
#define XBOX_INPUT_PIPE_3   5
 
#define XBOX_OUTPUT_PIPE_3   6
 
#define XBOX_INPUT_PIPE_4   7
 
#define XBOX_OUTPUT_PIPE_4   8
 
#define XBOX_VID   0x045E
 
#define XBOX_WIRELESS_RECEIVER_PID   0x0719
 
#define XBOX_WIRELESS_RECEIVER_THIRD_PARTY_PID   0x0291
 
#define MADCATZ_VID   0x1BAD
 
#define XBOX_MAX_ENDPOINTS   9
 

Enumerations

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

Macro Definition Documentation

#define EP_INTERRUPT   0x03
#define EP_MAXPKTSIZE   32
#define MADCATZ_VID   0x1BAD
#define XBOX_CONTROL_PIPE   0
#define XBOX_INPUT_PIPE_1   1
#define XBOX_INPUT_PIPE_2   3
#define XBOX_INPUT_PIPE_3   5
#define XBOX_INPUT_PIPE_4   7
#define XBOX_MAX_ENDPOINTS   9
#define XBOX_OUTPUT_PIPE_1   2
#define XBOX_OUTPUT_PIPE_2   4
#define XBOX_OUTPUT_PIPE_3   6
#define XBOX_OUTPUT_PIPE_4   8
#define XBOX_VID   0x045E
#define XBOX_WIRELESS_RECEIVER_PID   0x0719
#define XBOX_WIRELESS_RECEIVER_THIRD_PARTY_PID   0x0291

Enumeration Type Documentation

enum LEDMode
Enumerator
ROTATING 
FASTBLINK 
SLOWBLINK 
ALTERNATING 
ROTATING 
FASTBLINK 
SLOWBLINK 
ALTERNATING