Skip to content

Commit

Permalink
asus/zephyrus/ga401: fix keymapping
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
oxters168 authored Sep 11, 2023
1 parent bec613e commit 2d1a0da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions asus/zephyrus/ga401/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';
};
}

0 comments on commit 2d1a0da

Please sign in to comment.