summaryrefslogtreecommitdiffstats
path: root/data/keyboards
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2013-10-18 15:26:48 -0700
committerMichael Wright <michaelwr@google.com>2014-03-11 14:52:18 -0700
commited28fc89e3085a88c6bd8b4269988150f3eceb56 (patch)
tree75104173d5bcb047968215a419f4597a4c9bca44 /data/keyboards
parent5f0c0498a1382ef955cccca95920ec878fe2a64c (diff)
downloadframeworks_base-ed28fc89e3085a88c6bd8b4269988150f3eceb56.zip
frameworks_base-ed28fc89e3085a88c6bd8b4269988150f3eceb56.tar.gz
frameworks_base-ed28fc89e3085a88c6bd8b4269988150f3eceb56.tar.bz2
Utilize new Android LED constants. DO NOT MERGE
Also, have EventHub manage game controllers' player LEDs Change-Id: Ic7dba19ad236a3c7d1aff5d3f938bd239b98d51d
Diffstat (limited to 'data/keyboards')
-rw-r--r--data/keyboards/Generic.kl13
1 files changed, 13 insertions, 0 deletions
diff --git a/data/keyboards/Generic.kl b/data/keyboards/Generic.kl
index b6a4899..0cdcb1c 100644
--- a/data/keyboards/Generic.kl
+++ b/data/keyboards/Generic.kl
@@ -423,3 +423,16 @@ axis 0x09 GAS
axis 0x0a BRAKE
axis 0x10 HAT_X
axis 0x11 HAT_Y
+
+# LEDs
+led 0x00 NUM_LOCK
+led 0x01 CAPS_LOCK
+led 0x02 SCROLL_LOCK
+led 0x03 COMPOSE
+led 0x04 KANA
+led 0x05 SLEEP
+led 0x06 SUSPEND
+led 0x07 MUTE
+led 0x08 MISC
+led 0x09 MAIL
+led 0x0a CHARGING