1 /* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved.
3 This software may be distributed and modified under the terms of the GNU
4 General Public License version 2 (GPL2) as published by the Free Software
5 Foundation and appearing in the file GPL2.TXT included in the packaging of
6 this file. Please note that GPL2 Section 2[b] requires that all works based
7 on this software must also be made publicly available under the terms of
13 Kristian Lauszus, TKJ Electronics
14 Web : http://www.tkjelectronics.com
15 e-mail : kristianl@tkjelectronics.com
21 #include "controllerEnums.h"
23 /** Enum used to set special LED modes supported by the Xbox controller. */
31 /** Used to set the LEDs on the controllers */
32 const uint8_t XBOX_LEDS[] PROGMEM = {
38 0x01, // ALL - Used to blink all LEDs
40 /** Buttons on the controllers */
41 const uint16_t XBOX_BUTTONS[] PROGMEM = {
52 0, 0, // Skip L2 and R2 as these are analog buttons