]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: 60-keyboard: Add Acer Aspire One AO532h keymappings
authorHans de Goede <hdegoede@redhat.com>
Mon, 18 Apr 2022 18:36:39 +0000 (20:36 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 18 Apr 2022 21:17:35 +0000 (06:17 +0900)
Add keymappings for the Acer Aspire One AO532h netbook.

Unmap the brightnesskeys because they send duplicate key events with
the ACPI video bus key events and add a mapping for the bluetooth
on/off hotkey.

hwdb.d/60-keyboard.hwdb

index adf5e9ac3525cb660e370aec5ade70cd4306d4e5..2555b8d35a323b335d9e811e331f386ed1d6ff86 100644 (file)
@@ -154,6 +154,12 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*8930:*
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*7750G:*
  KEYBOARD_KEY_e0=!pageup
 
+# Acer Aspire One AO532h
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAO532h:*
+ KEYBOARD_KEY_84=bluetooth
+ KEYBOARD_KEY_ce=unknown  # Brightness Up, also emitted by acpi-video, ignore
+ KEYBOARD_KEY_ef=unknown  # Brightness Down, also emitted by acpi-video, ignore
+
 # Predator PH 315-52
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnPredator*PH*315-52:*
  KEYBOARD_KEY_ef=kbdillumup                             # Fn+F10