pub trait HidDeviceInfo: Debug {
    fn vendor_id(&self) -> u16;
    fn product_id(&self) -> u16;

    fn packet_size(&self) -> usize { ... }
}
Expand description

Information about a HID device.

Required Methods

Returns the vendor ID for this device.

Returns the product ID for this device.

Provided Methods

Returns the packet size for this HID device.

This size does not include the report number (if used).

Implementations on Foreign Types

Implementors