pub fn supported_events<T: AsRawDescriptor>(
    descriptor: &T
) -> Result<BTreeMap<u16, virtio_input_bitmap>>
Expand description

Gets the event types supported by an event device as well as the event codes supported for each type (see EVIOCGBIT ioctl for details).