diff options
author | Mario Limonciello <mario_limonciello@dell.com> | 2015-06-10 22:01:51 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-07-20 08:09:21 -0400 |
commit | 4c3c4bc9413bc87dff3df64ca5b0ed73a711152a (patch) | |
tree | 1f49bee7d2aed348b21c86523b38191b9ec31d8d | |
parent | keymap: Add Samsung NP350V and NP670Z (diff) | |
download | eudev-4c3c4bc9413bc87dff3df64ca5b0ed73a711152a.tar.gz eudev-4c3c4bc9413bc87dff3df64ca5b0ed73a711152a.tar.bz2 eudev-4c3c4bc9413bc87dff3df64ca5b0ed73a711152a.zip |
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)
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r-- | hwdb/60-keyboard.hwdb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb index 007c6a809..d0fc914d1 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 ########################################################### |