Modules§
- message_
loop - The
message_loopmodule provides a way to retreive keyboard and mouse input messages directly from the system.
Structs§
- Input
- This structure is used by
send_inputsto store information for synthesizing input events such as keystrokes, mouse movement, and mouse clicks. - Mouse
- A zero-sized structure that wraps functions related to the mouse.
- Windows
Error - Represents a Windows error.
Enums§
- Action
- Represents an action that can be taken on a key or button.
- Button
- A mouse button.
- Mouse
Motion - Describes a mouse motion.
- Vk
- A list of all available Virtual-Key Codes.
- Wheel
Direction - Describes the direction of a mouse wheel.
Traits§
- Keylike
- A trait for objects that can be used as keys. For example a
Vkor acharcan be used as a key.
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.