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