1
0
Fork
You've already forked virtual-wheel
0
scroll down with a virtual device
  • C 100%
2025年11月07日 04:04:54 +01:00
src done 2025年11月06日 19:09:40 -04:00
README.md Update README.md 2025年11月07日 04:04:54 +01:00

virtual wheel daemon

this project was created out of necessity, because of RSI.

build:

$ gcc -o wheel-daemon daemon.c
$ gcc -o scroll client.c

initialize the daemon in background, then use the client (bind it to a key) , the code below shows it in xmonad :

scrolling :: String -> String
scrolling "⬇" = "/home/hashirama/.local/bin/scroll down --steps 2 --interval 5 --value 1"
scrolling "⬆" = "/home/hashirama/.local/bin/scroll up --steps 2 --interval 5 --value 1"

then:

 , ("M-.", spawn (scrolling "⬆"))
 , ("M-,", spawn (scrolling "⬇"))