Structs§
- Input
Device Status - An
InputDeviceStatus
is tied to anInputDeviceBinding
and provides properties detailing its Inspect status. - Input
Event - An
InputEvent
holds information about an input event and the device that produced the event. - Unhandled
Input Event - An
UnhandledInputEvent
is like anInputEvent
, except that the data represents an event that has not been handled.
Enums§
- Handled
- Input
Device Descriptor - An [
InputDescriptor
] describes the ranges of values a particular input device can generate. - Input
Device Event - An
InputDeviceEvent
represents an input event from an input device. - Input
Device Type - Generic types of supported input devices.
Statics§
- INPUT_
REPORT_ PATH - The path to the input-report directory.
Traits§
- Input
Device Binding - An
InputDeviceBinding
represents a binding to an input device (e.g., a mouse).
Functions§
- event_
time_ or_ now - Returns the event time if it exists, otherwise returns the current time.
- get_
device_ binding - Returns a new
InputDeviceBinding
of the given device type. - get_
device_ from_ dir_ entry_ path - Returns a proxy to the InputDevice in
entry_path
if it exists. - initialize_
report_ stream - Initializes the input report stream for the device bound to
device_proxy
. - is_
device_ type - Returns true if the device type of
input_device
matchesdevice_type
.