How konkitoman/autoclicker works
TheClicker is a Linux CLI autoclicker supporting evdev input and uinput output, including normal and legacy modes. The user starts the CLI, selects or identifies an input device, configures bindings and timing, then presses a binding to generate clicks. The graph includes device selection, event handling and click generation, plus the internal input/output device layer. Some setup and timing logic is in omitted portions of src/lib.rs, so only documented or excerpt-supported relationships are connected.
Main entry points: lib.rs Input event monitor · main.rs CLI entry · device.rs Uinput output · args.rs CLI arguments
Components 13
CLI and setup
- CLI entry
src/main.rs - CLI arguments
src/args.rs - Mode and setup
src/lib.rs - Device selection
src/device.rs
Click runtime
- Runtime dispatch
src/lib.rs - Input event monitor
src/lib.rs - Binding state
src/lib.rs - Click timing
src/lib.rs
Device I/O
- Evdev input
src/device.rs - Uinput output
src/device.rs
Other components
- CLI user
- Linux input devices
- Linux input subsystem
Connections 14
- CLI user → CLI entry: starts
README.md - CLI entry → CLI arguments: parses
src/main.rs - CLI entry → Mode and setup: initializes
src/main.rs - CLI user → Device selection: chooses device
README.md - Mode and setup → Device selection: selects or resolves
src/lib.rs - Mode and setup → Runtime dispatch: configures mode
src/lib.rs - Runtime dispatch → Input event monitor: runs
src/lib.rs - Input event monitor → Evdev input: reads events
src/lib.rs - Evdev input → Linux input devices: reads evdev
src/device.rs - Input event monitor → Binding state: updates
src/lib.rs - Binding state → Click timing: triggers
src/lib.rs - Click timing → Uinput output: sends clicks
src/lib.rs - Uinput output → Linux input subsystem: emits uinput events
src/device.rs - Input event monitor → Uinput output: forwards events
src/lib.rs