Crates.io | control-craft |
lib.rs | control-craft |
version | 0.1.0 |
source | src |
created_at | 2024-12-10 17:27:19.373793 |
updated_at | 2024-12-10 17:27:19.373793 |
description | Mouse and Keyboard Control Library for Windows, enabling programmatic input simulation using the Windows API. |
homepage | |
repository | https://github.com/cygnixy/control-craft |
max_upload_size | |
id | 1478793 |
size | 6,349 |
This library provides a set of utilities to programmatically control mouse and keyboard inputs on Windows platforms. It is built using the Windows API ( windows
crate) and enables seamless interaction with the system's input mechanisms. The library is designed for automation tasks, testing, and other scenarios requiring simulated user input.
Mouse Control:
set_cursor_pos
).drag_and_drop
).click_mouse_button
, click_mouse_button_left
, click_mouse_button_right
).Keyboard Control:
press_key
).Fine-grained Input Simulation:
thread::sleep
) to mimic real user interaction.