Crates.io | rdevin |
lib.rs | rdevin |
version | 0.1.0 |
created_at | 2025-05-10 02:57:31.437697+00 |
updated_at | 2025-05-10 02:57:31.437697+00 |
description | Cross-platform simulation and global listening for keyboard and mouse input. |
homepage | https://github.com/justdeeevin/rdevin |
repository | https://github.com/justdeeevin/rdevin |
max_upload_size | |
id | 1668023 |
size | 227,815 |
Cross-platform simulation and global listening for keyboard and mouse input.
[!WARNING] This crate is subject to extreme change. There is still great room for improvement. It is only presently published for use by NuhxBoard.
The listen
and grab
1 functions can be used to run a callback for all input events.
rdevin::listen(|e| dbg!(e))?;
The simulate
function can be used to send input events.
use rdevin::{simulate, EventType, Key};
simulate(&EventType::KeyPress(Key::KeyS))?;
Serde support is gated behind the serde
feature.
rdev
crate, created to ensure continued maintenance and to make
Rustdesk's many useful additions available on crates.io.Not available on Linux ↩