asus/zephyrus/ga401: fix keymapping

Mapped fn+LeftArrow to be home key and fn+RightArrow to be end key.
The Asus Zephyrus GA401 does not have any home end functionality originally.
This commit is contained in:
Oxters Wyzgowski 2023-09-11 07:38:26 -04:00 committed by GitHub
parent bec613e179
commit 2d1a0da5e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -26,10 +26,11 @@
services = {
asusd.enable = lib.mkDefault true;
# fixes mic mute button
udev.extraHwdb = ''
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
KEYBOARD_KEY_ff31007c=f20
KEYBOARD_KEY_ff31007c=f20 # fixes mic mute button
KEYBOARD_KEY_ff3100b2=home # Set fn+LeftArrow as Home
KEYBOARD_KEY_ff3100b3=end # Set fn+RightArrow as End
'';
};
}