Crate winput[][src]

Modules

The message_loop module provides a way to retreive keyboard and mouse input messages directly from the system.

Structs

This structure is used by send_inputs to store information for synthesizing input events such as keystrokes, mouse movement, and mouse clicks.

A zero-sized structure that wraps functions related to the mouse.

Represents a Windows error.

Enums

Represents an action that can be taken on a key or button.

A mouse button.

Describes a mouse motion.

A list of all available Virtual-Key Codes.

Describes the direction of a mouse wheel.

Traits

A trait for objects that can be used as keys. For example a Vk or a char can be used as a key.

Functions

Synthesize an event that presses the key.

Synthesizes an event that releases the key.

Synthesizes two events. One that presses the key, one that releases the key.

Synthesizes keystrokes, mouse motions, and button clicks.

Synthesizes keystrokes according to the given iterator of keys.

Synthesizes keystrokes following the given string reference.