MouseImp-like scrolling by dragging the mouse with the right button depressed.
For Linux only.
Features:
- Vertical scroll: RBtn + Y-drag
- Horizontal scroll: LeftShift + RBtn + X-drag
- Make sure your user is in the correct group (typically
input
) to have read/write access. - Run
evtest
to determine your mouse and keyboard devices (their corresponding/dev/input/eventN
), and modify this script accordingly
MouseImp is the original great work by Nezhelsky Oskar and Goffmann Svetozar.
python-evdev:
https://python-evdev.readthedocs.io/
evtest:
https://man.archlinux.org/man/evtest.1
Add a User to Multiple Linux Groups:
https://www.baeldung.com/linux/add-user-multiple-groups
Input event codes:
https://www.kernel.org/doc/html/latest/input/event-codes.html
https://github.com/torvalds/linux/blob/master/include/uapi/linux/input.h
MouseImp source code (Windows only):
https://www.mouseimp.com/download/
https://github.com/axxie/MouseImp