razerctl
A rust library which allows you to control your mouse with Razer Synapse
Requirements
- Windows operating system
- Razer Synapse installed
- Rust 1.56 or higher
Safety
This crate uses unsafe code for Windows API interactions but provides safe abstractions for users. All unsafe operations are thoroughly documented and contained within the implementation.
Features
- ✅ Safe abstractions around unsafe code
- ✅ Currently supports mouse movement/clicking
- ✅ Supports sending keyboard inputs
Planned Features
❌ No support for keyboard dictionary yet, you'll have to experiment yourself for now
Installation
In your root project folder, run the following to add razerctl to your dependencies.
Quick Start
use Error;
use ;
Examples
Run the included examples:
# Mouse clicking demo
# Basic mouse movement demo
# Fast mouse movement demo
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License.