mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
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.
This commit is contained in:
committed by
Luca Boccassi
parent
7cf4434c50
commit
93cc8de05c
@@ -1941,6 +1941,16 @@ evdev:name:Toshiba*input*device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*P75-A:
|
||||
KEYBOARD_KEY_13f=f21 # Touchpad toggle
|
||||
KEYBOARD_KEY_9e=wlan
|
||||
|
||||
# Portege Z830 ACPI quickstart buttons
|
||||
evdev:name:Quickstart Button 1:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnPORTEGEZ830:*
|
||||
KEYBOARD_KEY_1=prog1 # TOSHIBA eco button
|
||||
|
||||
evdev:name:Quickstart Button 2:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnPORTEGEZ830:*
|
||||
KEYBOARD_KEY_1=prog2 # TOSHIBA Presentation button
|
||||
|
||||
evdev:name:Quickstart Button 3:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnPORTEGEZ830:*
|
||||
KEYBOARD_KEY_1=f21 # Touchpad toggle
|
||||
|
||||
###########################################################
|
||||
# VIA
|
||||
###########################################################
|
||||
|
||||
Reference in New Issue
Block a user