summaryrefslogtreecommitdiff
path: root/hwdb/60-keyboard.hwdb
diff options
context:
space:
mode:
authorMario Limonciello <mario_limonciello@dell.com>2015-06-10 22:01:51 -0500
committerDavid Herrmann <dh.herrmann@gmail.com>2015-06-14 14:32:19 +0200
commitaa75494ad5cdf7bede947212ad8c8356d78580fa (patch)
tree33d3d1516ae7373ffe47a3dce92874a85338ca75 /hwdb/60-keyboard.hwdb
parent01856799a3113398da924d9b0dcc09d1e853d905 (diff)
hwdb: add support for Alienware graphics amplifier
Unplugging and plugging in the cable will create various scancodes on the keyboard controller. Userspace within X should be able to interact with these to show interesting messages. Assign them to generic prog1/prog2. (David: add comment to hwdb explaining that these keycodes are reserved)
Diffstat (limited to 'hwdb/60-keyboard.hwdb')
-rw-r--r--hwdb/60-keyboard.hwdb6
1 files changed, 6 insertions, 0 deletions
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb
index 007c6a809e..d0fc914d17 100644
--- a/hwdb/60-keyboard.hwdb
+++ b/hwdb/60-keyboard.hwdb
@@ -144,6 +144,12 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAOA*:pvr*
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAlienware*:pn*
KEYBOARD_KEY_8a=ejectcd
+# Alienware/Dell reserves these keys; safe to apply on all their devices
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAlienware*:pn*:pvr*
+ KEYBOARD_KEY_bf=!prog1 #graphics amplifier, cable plug-in event
+ KEYBOARD_KEY_c1=!prog2 #graphics amplifier, undock-button event
+ KEYBOARD_KEY_c2=!power #graphics amplifier, surprise undock event
+
###########################################################
# Asus
###########################################################