docs.rs failed to build simulate-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
simulate-0.3.0
simulate aims to make simulating keyboard keystrokes easy.
Progress
At the moment, only Windows is supported.
Example
simulate can be used to simulate a keyboard.
use simulate;
use Key;
use MouseButton;
// Press a key
key_press;
// Releases it
key_release;
// Trigger a key (press + release)
key_trigger;
// Type single character
type_char;
// Type a string
type_str;
But it also supports the mouse.
use simulate;
use Key;
// Press a button
mouse_trigger;
// Or scroll with the mouse wheel
mouse_wheel;
// You can also move the mouse
mouse_move_absolute;