[−][src]Crate simulate
Structs
EventBuffer | The event buffer is a simple wrapper around a |
Enums
Action | An action for a key. |
Error | |
Event | An event that can be sent to a |
Key | A key that can be pressed. |
ScrollDirection | The direction of a |
Traits
Keylike | A trait for structures which can be turned into an event, given an action. |
Simulate | A trait to handle the input simulation. |
Functions
move_mouse_absolute | Moves the mouse, coordinates are normalized to the desktop: (0, 0) map to the top-left of the main monitor and (1, 1) maps to the bottom-right of the main monitor. |
move_mouse_relative | Moves the mouse |
press | Sends a |
release | Sends a |
scroll | Uses the mouse wheel vertically. |
scroll_horizontal | Uses the mouse wheel horizontally. |
send | Sends an event for the given keylike. |
send_event | Sends a single event. |
send_events | Sends the given events to the default simulator. |
send_multiple | Sends |
send_scroll_event | Sends a scroll event to rotate the mouse wheel in the given direction. |
type_str | Types the given string. |
Type Definitions
Result | The result type of the crate. |