How mrcreepson/clicker-rust works
clicker-rust is a Linux autoclicker with a Qt/QML interface. The user configures click and hotkey inputs, selects input devices, and starts or stops repeated key events; the app emits those events through a virtual input device. The graph separates UI, control and input/output responsibilities. Main-source excerpts show worker creation and device event handling; the QML file was not sampled, so its specific bindings to the backend are left unverified.
Main entry points: main.rs QML backend · Main.qml QML interface · virtual_device.rs Virtual mouse · autoclicker.rs Click worker
Components 11
User interface
- QML interface
src/qml/Main.qml - Qt app entry
src/main.rs
Clicker control
- QML backend
src/main.rs - Device selection
src/main.rs - Key capture
src/main.rs - Hotkey monitor
src/main.rs - Click worker
src/clicker/autoclicker.rs
Input and output
- Virtual mouse
src/clicker/virtual_device.rs - Physical input devices
- Linux input system
Other components
- User
Connections 14
- User → QML interface: operates
README.md - Qt app entry → QML backend: registers
src/main.rs - Qt app entry → QML interface: loads
src/main.rs - QML interface → QML backend: uses
- QML backend → Device selection: provides
src/main.rs - QML backend → Key capture: arms
src/main.rs - QML backend → Hotkey monitor: starts
src/main.rs - QML backend → Click worker: starts
src/main.rs - QML backend → Virtual mouse: creates
src/main.rs - Physical input devices → Device selection: enumerated by
src/main.rs - Physical input devices → Key capture: read by
src/main.rs - Physical input devices → Hotkey monitor: read by
src/main.rs - Click worker → Virtual mouse: emits events
src/clicker/autoclicker.rs - Virtual mouse → Linux input system: creates device on
README.md