hiddev 0.1.1

Access to Linux hiddev devices
Documentation
1
2
3
4
5
6
7
8
9
use num_enum::{IntoPrimitive, TryFromPrimitive};

#[derive(Debug, Eq, IntoPrimitive, PartialEq, TryFromPrimitive)]
#[repr(u32)]
pub enum Type {
    Input = 1,
    Output,
    Feature,
}