Function hid_io_core::device::evdev::supported_ids[][src]

pub fn supported_ids() -> Vec<HidIoCommandId>

evdev processing

TODO udev to wait on new evdev devices udev to scan for already attached devices Allocate uid per unique device Have list of evdev devices to query Handle removal and re-insertion with same uid Use async to wait for evdev events (block on next event, using spawn_blocking) Send mailbox message with necessary info (API will handle re-routing message) hidapi processing

This thread periodically refreshes the USB device list to see if a new device needs to be attached The thread also handles reading/writing from connected interfaces

XXX (HaaTa) hidapi is not thread-safe on all platforms, so don’t try to create a thread per device Supported Ids by this module