simulate 0.1.2

This crate allows you to simulate keystrokes.
docs.rs failed to build simulate-0.1.2
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 simulator;
use simulator::Key;

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

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

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

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

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