modprobe uinput cc main.c -o main
sudo ./main
Read mouse events and start if you press mouse5 or mouse4