OSDN Git Service

Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE
authorMichael Wright <michaelwr@google.com>
Sat, 19 Oct 2013 00:53:50 +0000 (17:53 -0700)
committerMichael Wright <michaelwr@google.com>
Tue, 11 Mar 2014 21:19:33 +0000 (14:19 -0700)
Change-Id: Ie6dbce926280c748f39e3c54d2ed4accbdcf9e59

include/input/Input.h

index 69977ca..ea9c4c2 100644 (file)
@@ -90,6 +90,9 @@ enum {
     ALED_CONTROLLER_4 = 0x13,
 };
 
+/* Maximum number of controller LEDs we support */
+#define MAX_CONTROLLER_LEDS 4
+
 /*
  * SystemUiVisibility constants from View.
  */