Struct input_linux::uinput::UInputHandle [] [src]

pub struct UInputHandle(_);

A handle to a uinput allowing the use of ioctls

Ownership of the file descriptor is not transferred, and it must stay open for this object's lifetime. It will not be closed automatically.

Methods

impl UInputHandle
[src]

[src]

Create a new handle using an existing open file object.

[src]

Create a new handle from a raw file descriptor.

[src]

Create a new uinput device using the legacy UI_DEV_CREATE interface

[src]

Create a new uinput device, and fall back on the legacy interface if necessary

[src]

Write input events to the device

[src]

Read events from uinput (see EV_UINPUT)

[src]

[src]

[src]

[src]

UI_DEV_CREATE

[src]

UI_DEV_DESTROY

[src]

UI_DEV_SETUP

[src]

UI_ABS_SETUP

[src]

UI_SET_EVBIT

[src]

UI_SET_KEYBIT

[src]

UI_SET_RELBIT

[src]

UI_SET_ABSBIT

[src]

UI_SET_MSCBIT

[src]

UI_SET_LEDBIT

[src]

UI_SET_SNDBIT

[src]

UI_SET_FFBIT

[src]

UI_SET_PHYS

[src]

UI_SET_SWBIT

[src]

UI_SET_PROPBIT

[src]

UI_BEGIN_FF_UPLOAD

[src]

UI_END_FF_UPLOAD

[src]

UI_BEGIN_FF_ERASE

[src]

UI_END_FF_ERASE

[src]

UI_GET_SYSNAME

[src]

UI_GET_SYSNAME

[src]

UI_GET_VERSION

Trait Implementations

Auto Trait Implementations

impl Send for UInputHandle

impl Sync for UInputHandle