Skip to content

Commit

Permalink
page up / down
Browse files Browse the repository at this point in the history
  • Loading branch information
marcolaux committed Jan 31, 2021
1 parent 965e665 commit f062e87
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ cp -R etc/* /etc/
cp -R usr/* /usr/
chmod +x /usr/sbin/asusboot
chmod a+x /usr/lib/systemd/system-sleep/asus_keyboard_backlight
systemd-hwdb update
udevadm trigger
```
> we clone this repo
Expand All @@ -38,7 +40,10 @@ chmod a+x /usr/lib/systemd/system-sleep/asus_keyboard_backlight
> we copy everything in this repo of usr to /usr/
> we make the script /usr/sbin/asusboot executable
> we make the script /usr/sbin/asusboot and /usr/lib/systemd/system-sleep/asus_keyboard_backlight executable
> mod the keyboard that page up / down is mapped to fn+up/down
> you can use brightnessctl -d asus::kbd_backlight s +1 and brightnessctl -d asus::kbd_backlight s 1- and map this to a key of your choice in your DE
**5. Update the repos and install some packages**
```bash
Expand Down
7 changes: 7 additions & 0 deletions etc/udev/hwdb.d/90-nkey.hwdb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
evdev:input:b0003v0B05p1866*
KEYBOARD_KEY_c00b6=kbdillumdown # Fn+F2 (music prev)
KEYBOARD_KEY_c00b5=kbdillumup # Fn+F4 (music skip)
KEYBOARD_KEY_ff3100c5=pagedown # Fn+Down
KEYBOARD_KEY_ff3100c4=pageup # Fn+Up
KEYBOARD_KEY_ff3100b2=home # Fn+Left
KEYBOARD_KEY_ff3100b3=end # Fn+Right

0 comments on commit f062e87

Please sign in to comment.