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>2013-10-18 17:54:48 -0700
commit58f5a6134e49237bb91aff25442f63060adcb323 (patch)
tree73bf2f5f3844c3e764b319fa71492e640644d72d /data/keyboards
parent4d8779fc5b0f371b413a605e10c6efb0aa25036c (diff)
downloadframeworks_base-58f5a6134e49237bb91aff25442f63060adcb323.zip
frameworks_base-58f5a6134e49237bb91aff25442f63060adcb323.tar.gz
frameworks_base-58f5a6134e49237bb91aff25442f63060adcb323.tar.bz2
Utilize new Android LED constants
Also, have EventHub manage game controllers' player LEDs Change-Id: Ic0a1515979d72a30d182d51d89ca6753c5bd7bf8
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 1413319..2042345 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