IInputDevice
trait · ferroui-base · v0.5.0
trait IInputDevice
Represents an input device: the object that turns the raw input events of the platform into routed events.
Members
process_raw_event
fn process_raw_event(self: &Self, ev: &dyn IRawInputEventArgs)
Processes raw event. Is called after preprocessing by the input manager.
as_any
fn as_any(self: &Self) -> &dyn Any
The device as Any, for downcasting to the concrete device.
as_pointer_device
fn as_pointer_device(self: &Self) -> Option<&dyn IPointerDevice>
The device as a pointer device, if it is one.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.