Struct input_linux::evdev::EvdevHandle[][src]

pub struct EvdevHandle<F>(_);
Expand description

A handle to an input device allowing the use of ioctls

Implementations

Create a new handle using an existing open file object.

Extracts the contained handle.

A reference to the contained handle.

A mutable reference to the contained handle.

Create a new handle from a raw file descriptor.

Read events from the input device

Write events to the input device

EVIOCGVERSION

EVIOCGID

EVIOGREP

EVIOSREP

EVIOCGKEYCODE

EVIOCGKEYCODE_V2

EVIOCSKEYCODE

EVIOCSKEYCODE_V2

EVIOCGNAME

EVIOCGNAME

EVIOCGPHYS

EVIOCGPHYS

EVIOCGUNIQ

EVIOCGUNIQ

EVIOCGPROP

EVIOCGKEY

EVIOCGLED

EVIOCGSND

EVIOCGSW

EVIOCSFF

EVIOCRMFF

EVIOCGEFFECTS

EVIOCGPROP

EVIOCGMTSLOTS

Warning: the current implementation can leak uninitialized heap memory into values

EVIOCGMASK

EVIOCSMASK

EVIOCGBIT

EVIOCGMASK

EVIOCSMASK

EVIOCGBIT

EVIOCGMASK

EVIOCSMASK

EVIOCGBIT

EVIOCGMASK

EVIOCSMASK

EVIOCGBIT

EVIOCGMASK

EVIOCSMASK

EVIOCGBIT

EVIOCGMASK

EVIOCSMASK

EVIOCGBIT

EVIOCGMASK

EVIOCSMASK

EVIOCGBIT

EVIOCGMASK

EVIOCSMASK

EVIOCGBIT

EVIOCGMASK

EVIOCSMASK

EVIOCGBIT

EVIOCGMASK

EVIOCSMASK

EVIOCGBIT

EVIOCGABS

EVIOCSABS

EVIOCGRAB

EVIOCREVOKE

EVIOCSCLOCKID

Trait Implementations

Extracts the raw file descriptor. Read more

Constructs a new instance of Self from the given raw file descriptor. Read more

Consumes this object, returning the raw underlying file descriptor. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.