Note to self. This other solution uses a json config: https://github.com/patomation/shuttle-go
Install: run the script
$ bin/install.sh
Usage:
$ shuttle
Usage:
$ shuttlepro /dev/input/inputX
replace X with your input device number. See next session"
$ cat /proc/bus/input/devices
look for /input/inputX now combine that with /dev/ /dev/input/inputX
cat /proc/bus/input/devices output will look like this
I: ...
N: Name="Contour Design ShuttlePRO v2"
P: Phys=...
S: Sysfs=/devices/.../input/inputX
U: Uniq=
H: Handlers=...
B: PROP=...
B: EV=...
B: KEY=...
B: REL=...
B: MSC=...
- Install build dependencies
$ apt update -y
$ apt install -y build-essential libx11-dev
libxtst-dev
- Build
$ make
- Copy global rools
$ cp 99-ShuttlePRO.rules /etc/udev/rules.d
- Install
evgrab ioctl: Operation not permitted
