[][src]Crate uhid_virt

Structs

CreateParams

Contains information about your HID device, sent when UHIDDevice is created

UHIDDevice

Enums

Bus

See https://elixir.bootlin.com/linux/latest/ident/BUS_INTEL_ISHTP

DevFlags

Each of these flags defines whether a given report-type uses numbered reports. If numbered reports are used for a type, all messages from the kernel already have the report-number as prefix. Otherwise, no prefix is added by the kernel. For messages sent by user-space to the kernel, you must adjust the prefixes according to these flags.

InputEvent

See https://www.kernel.org/doc/html/latest/hid/uhid.html#write

OutputEvent

See https://www.kernel.org/doc/html/latest/hid/uhid.html#read

ReportType

See https://www.kernel.org/doc/html/latest/hid/uhid.html#read

StreamError

Any IO error will probably be 'permission-denied' if you don't have access to open /dev/uhid An unknown event type error should only occur if a new event has been added to uhid-sys that this wrapper is unaware of.

Constants

UHID_EVENT_SIZE