theclicker 0.3.1

A simple autoclicker cli that works on (x11/wayland)
Documentation
# Simple CLI autoclicker for linux
[![Crates.io](https://img.shields.io/crates/v/theclicker.svg)](https://crates.io/crates/theclicker)

Works on both xorg and wayland by utilising uinput and evdev!

## Running
![Running](images/running.png)

## Install
```cargo install theclicker```

[![Packaging status](https://repology.org/badge/vertical-allrepos/theclicker.svg?exclude_unsupported=1)](https://repology.org/project/theclicker/versions)

## 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](https://rustup.rs/)

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`