This application simulates repeated key presses and mouse clicks at a specified interval. You can configure which keys or mouse buttons to simulate and use a global hotkey to toggle the simulation on or off.
- Configurable Key Behavior:
- Hold: Simulate keys being pressed continuously.
- Click: Simulate keys being pressed and released repeatedly at a set interval.
- Global Hotkeys:
- Assign a hotkey to toggle the simulation on or off (default:
F8
).
- Assign a hotkey to toggle the simulation on or off (default:
- Platforms: Made for Linux, but there is a slight chance it might work on macOS (although unsupported) due to its
evdev
support. - Desktop Environments: Tested on KDE Plasma 6.2.4 and COSMIC Desktop Alpha 4.
- Global hotkeys do not work with pure Wayland applications on the COSMIC Desktop, but they work fine with Xwayland applications (e.g., Steam and games running through Proton).
- The application starts with a phantom winit window. This is a minor issue that may be addressed in the future.
To build the application from source, you need to have Rust and Cargo installed. Follow these steps:
-
Clone the repository:
git clone https://github.com/ccuqme/inputsimulator.git cd inputsimulator
-
Build the application:
cargo build --release
-
The built executable will be located in the
target/release
directory.
This is a personal project primarily made for my own use, but suggestions and contributions are always welcome! If you have ideas, encounter bugs, or want to improve the app, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
This application relies on third-party dependencies, which may be licensed differently. For details, refer to the THIRD_PARTY_LICENSES.txt file.