Simple CLI autoclicker for linux
Works on both xorg and wayland by utilising uinput and evdev!
Running

Install
cargo install theclicker
To run TheClicker
Run theclicker
Select your input device.
If it is not a legacy device, for example: /dev/input/mouse{N} or /dev/input/mice, choose the binding for left and right by pressing then confirming.
I recommend hold and grab mode.
Grab mode has been tested on KDE Plasma Wayland 6.2.5 and 6.5.4
You can use --help to see more information!
Build
If you don't have Rust installed you can install rust from rustup
You need to have the stable toolchain installed!
Then run: cargo build --release
The binary path will be: ./target/release/theclicker
Problems?
Crashes
Add your user to the input group, (may not work on all systems): sudo usermod -aG input $USER
Or try running as root:
Move the executable to /usr/local/bin: sudo install -o root -g root -m 0755 $(which theclicker) /usr/local/bin/
Execute: sudo theclicker