pub struct AbsInfo {
pub value: i32,
pub minimum: i32,
pub maximum: i32,
pub fuzz: i32,
pub flat: i32,
pub resolution: i32,
}
Expand description
used by EVIOCGABS/EVIOCSABS ioctls
Fields
value: i32
latest reported value for the axis
minimum: i32
specifies minimum value for the axis
maximum: i32
specifies maximum value for the axis
fuzz: i32
specifies fuzz value that is used to filter noise from the event stream
flat: i32
values that are within this value will be discarded by joydev interface and reported as 0 instead
resolution: i32
specifies resolution for the values reported for the axis
Implementations
sourceimpl AbsInfo
impl AbsInfo
pub const fn from_raw(absinfo: input_absinfo) -> AbsInfo
pub const fn as_raw(&self) -> input_absinfo
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AbsInfo
impl Send for AbsInfo
impl Sync for AbsInfo
impl Unpin for AbsInfo
impl UnwindSafe for AbsInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more