mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
hwdb: Add launch emoji keyboard mapping for Asus M1607KA
By default, pressing Fn+F8 maps the scancode to KEY_BLUETOOTH (in evtest, MSC_SCAN 7e -> KEY_BLUETOOTH). Windows/the manufacturer may intercept the same scancode to execute "Launch Emoji keyboard." On Linux, we get the "raw" KEY_BLUETOOTH code, which is unacceptable. prog1 is already reserved by default for launching MyAsus (a Windows application) with the Fn+F12 combination, so we will use prog2. Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
This commit is contained in:
committed by
Yu Watanabe
parent
8fcd3e2ebd
commit
8557ea5daa
@@ -285,6 +285,9 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnASUS:pn*:*
|
||||
KEYBOARD_KEY_ee=volumedown
|
||||
KEYBOARD_KEY_ef=mute
|
||||
|
||||
evdev:name:Asus WMI hotkeys:dmi:bvn*:bvr*:bd*:svnASUS*:pn*M1607KA*:*
|
||||
KEYBOARD_KEY_7e=prog2 # Fn+F8, launch emoji keyboard
|
||||
|
||||
# Asus TF103C misses the home button in its PNP0C40 GPIO resources
|
||||
# causing the volume-button mappings to be off by one, correct this
|
||||
evdev:name:gpio-keys:phys:gpio-keys/input0:ev:3:dmi:*:svnASUSTeKCOMPUTERINC.:pnTF103C*:*
|
||||
|
||||
Reference in New Issue
Block a user