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. ```rust use simulate; use simulate::Key; use simulate::MouseButton;

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

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

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

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

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

But it also supports the mouse. ```rust use simulate; use simulate::Key;

// Press a button simulate::mouse_trigger(MouseButton::Left);

// Or scroll with the mouse wheel simulate::mouse_wheel(120);

// You can also move the mouse simulate::mousemoveabsolute(20, 20); ```