Crate input_device
source ·Modules§
Structs§
- linux <-> fuchsia key map allow search from 2 way.
- A state machine accepts uapi::input_event, produces fir::InputReport when (Key Event + Sync Event) received. It also maintain the currently pressing key list.
- A state machine accepts uapi::input_event, produces fir::InputReport when (Touch Event.. + Sync Event) received.
Functions§
- get_next_device_id() returns the current value of NEXT_DEVICE_ID for next available device id, and increase the NEXT_DEVICE_ID for next call.
- Converts fuchsia KeyEvent to a vector of
uapi::input_events
.