rupper 0.1.0

A mod of driver-level keyboard simulation for Windows 7 and higher.
Documentation
  • Coverage
  • 0%
    0 out of 122 items documented0 out of 4 items with examples
  • Size
  • Source code size: 94.83 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.95 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Ezhana/rupper
    3 1 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Ninohana

Rupper

驱动级模拟键盘操作

导入项目后需要将cper.lib放在根目录才能正常编译。

运行时需要和cper.dll在同一目录下

Cper(站内跳转)

测试代码

use rupper::keyboard;
use rupper::keyboard::{Keycode, Modifier};
use std::thread;
use std::time::Duration;

fn main() {
    keyboard::press_key(vec![Keycode::A], Modifier::None);
    thread::sleep(Duration::new(1, 0));
    keyboard::release_key();
}