summaryrefslogtreecommitdiffstats
path: root/include/input
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2013-10-18 17:53:50 -0700
committerMichael Wright <michaelwr@google.com>2013-10-21 11:58:41 -0700
commit0247e2213ed66a5dc2e14da1eacfa1dcd3d3edbe (patch)
treeee1c90ed71adc9c1b64dfc09b51b72a4926f4722 /include/input
parent74bdd2e7ceabd3c9e74ccf7c2e6bd3dae27ca497 (diff)
downloadframeworks_native-0247e2213ed66a5dc2e14da1eacfa1dcd3d3edbe.zip
frameworks_native-0247e2213ed66a5dc2e14da1eacfa1dcd3d3edbe.tar.gz
frameworks_native-0247e2213ed66a5dc2e14da1eacfa1dcd3d3edbe.tar.bz2
Add MAX_CONTROLLER_LEDS constant
Change-Id: I5ec972338c50647049bb5a8279847d54a84d9f70
Diffstat (limited to 'include/input')
-rw-r--r--include/input/Input.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/input/Input.h b/include/input/Input.h
index 600c10e..37f3b72 100644
--- a/include/input/Input.h
+++ b/include/input/Input.h
@@ -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.
*/