[][src]Crate rdev

Structs

Event

When events arrive from the system we can add some information time is when the event was received, name will be at some point changed to be mapped to the function of the key (Alt, s, Return and so on).

SimulateError

Marking an error when we tried to simulate and event

Enums

Button
EventType

In order to manage different OS, the current EventType choices is a mix&match to account for all possible events.

Key

Key names based on physical location on the device Merge Option(MacOS) and Alt(Windows, Linux) into Alt Merge Windows (Windows), Meta(Linux), Command(MacOS) into Meta Characters based on Qwerty layout, don't use this for characters as it WILL depend on the layout. Use Event.name instead. Key modifiers gives those keys a different value too. Careful, on Windows KpReturn does not exist, it' s strictly equivalent to Return, also Keypad keys get modified if NumLock is Off and ARE pagedown and so on.

Functions

listen
simulate