]> git.ipfire.org Git - thirdparty/systemd.git/commit - hwdb.d/60-keyboard.hwdb
hwdb: Add mapping for ACPI quickstart keys on Toshiba Z830
authorHans de Goede <hdegoede@redhat.com>
Sun, 24 Mar 2024 14:04:47 +0000 (15:04 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 25 Mar 2024 10:57:22 +0000 (10:57 +0000)
commit93cc8de05ca0b5f533d0b646a3cd3824b9ae2e89
treee1c870cf24d0c21b788d6152cbbbc10d9866f494
parent7cf4434c50bec699e5c7f719feabd2be45b04366
hwdb: Add mapping for ACPI quickstart keys on Toshiba Z830

The Toshiba Z830 has 3 hotkeys which use the ACPI PNP0C32 quickstart spec:
https://archive.org/details/microsoft-acpi-dirapplaunch

These devices have an ACPI method called GHID() which suggests
it returns a value from the "HID Usage Tables" document, but these
methods simple returns a follow number for the button (1, 2 and 3).

The first 2 buttons are for what the manual calls "TOSHIBA eco button"
and "TOSHIBA Presentation button", since there is no good match for
these simply map them to KEY_PROG1 and KEY_PROG2.

The third button is intended to toggle the touchpad on/off, map
this to F21 which GNOME/KDE will interpret as touchpad toggle.
hwdb.d/60-keyboard.hwdb