buzzert / capswheel

Program for simulating a scroll wheel on the GPD Pocket

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Capswheel

Fakes scroll wheel events using mouse input, activated with a hotkey.

I wrote this for my GPD Pocket, which is a cool tiny computer that has a tiny touchpad but no ability to scroll (unless you use the touchscreen).

By default, you hold the (useless) caps lock key and move your finger along the touchpad to scroll. You might want to also disable the caps lock key in Xorg via:

setxkbmap -option caps:none

Requirements

Installation

  1. Run make
  2. Configure which keyboard and mouse device to watch in capswheel.service. If you're running this on a GPD Pocket 2, the defaults should work for you. Check inside of /dev/input/by-id for the correct one for your machine.
  3. make install
  4. Start the service with systemctl start capswheel
  5. Enable the service at boot with systemctl enable capswheel

About

Program for simulating a scroll wheel on the GPD Pocket


Languages

Language:C 90.4%Language:Makefile 9.6%