simulate 0.1.3

This crate allows you to simulate keystrokes.
docs.rs failed to build simulate-0.1.3
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

use simulate;
use simulate::Key;

// Press a key
simulate::press_key(Key::A);

// Releases it
simulate::release_key(Key::A);

// Trigger a key (press + release)
simulate::trigger_key(Key:B);

// Type single character
simulate::type_char('');

// Type a string
simulate::type_str("Hello, world!");