Crate winput[−][src]
Modules
message_loop | The |
Structs
Input | This structure is used by |
Mouse | A zero-sized structure that wraps functions related to the mouse. |
WindowsError | Represents a Windows error. |
Enums
Action | Represents an action that can be taken on a key or button. |
Button | A mouse button. |
MouseMotion | Describes a mouse motion. |
Vk | A list of all available Virtual-Key Codes. |
WheelDirection | Describes the direction of a mouse wheel. |
Traits
Keylike | A trait for objects that can be used as keys. For example a |
Functions
press | Synthesize an event that presses the key. |
release | Synthesizes an event that releases the key. |
send | Synthesizes two events. One that presses the key, one that releases the key. |
send_inputs | Synthesizes keystrokes, mouse motions, and button clicks. |
send_keys | Synthesizes keystrokes according to the given iterator of keys. |
send_str | Synthesizes keystrokes following the given string reference. |