]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add power button mapping for Acer models 5731/head
authorChris Chiu <chiu@endless.com>
Wed, 12 Apr 2017 13:03:47 +0000 (09:03 -0400)
committerJoão Paulo Rechi Vita <jprvita@endlessm.com>
Wed, 12 Apr 2017 13:03:47 +0000 (09:03 -0400)
The power key keycode e076 is emitted on several different Acer laptop
models, and it is expected that it will also be used on upcoming models.
Verified on the following models:

Aspire ES1-421
Aspire ES1-432
Aspire A515-51
Aspire A515-51G
Aspire A517-51
Aspire A517-51G
Nitro AN515-31

hwdb/60-keyboard.hwdb

index 2294adbe419836b01b73d937a9e63ad4a04fa60c..dc87cd9708fe825144a96266a335e88f77d2e448 100644 (file)
@@ -119,6 +119,7 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svneMachines:pneMachines*E725:pvr*
  KEYBOARD_KEY_f3=prog2                                  # "P2" programmable button
  KEYBOARD_KEY_f4=prog1                                  # "P1" programmable button
  KEYBOARD_KEY_f5=presentation
+ KEYBOARD_KEY_f6=power                                  # Power button
  KEYBOARD_KEY_f8=fn
  KEYBOARD_KEY_f9=prog1                                  # Launch NTI shadow