innerput 0.0.2

Simulate keyboard input on Windows
use std::process;

#[cfg(target_os = "windows")]
mod win32;
#[cfg(target_os = "windows")]
pub use win32::Innerput;

pub enum Key {
    Alt,
    Backspace,
    CapsLock,
    Control,
    Delete,
    Down,
    End,
    Esc,
    Home,
    Left,
    Enter,
    Right,
    Shift,
    Space,
    Tab,
    Up,
    Char(char),
    Super,
}

mod private {
    pub trait Sealed {}

    impl Sealed for super::Innerput {}
}

pub trait Keyboard<ErrorType>: private::Sealed {
    fn send_chord(&self, keys: &[Key], process: &process::Child) -> Result<(), ErrorType>;
}