[][src]Crate winput

Structs

Input

This structure is used by send_inputs to 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.

WindowsError

Represents a Windows error.

Enums

Action

Represents an action that can be taken on a key or 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 Vk or a char can be used as a key.

Functions

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.