Struct input_linux::uinput::UInputHandle [−][src]
pub struct UInputHandle<F>(_);
Expand description
A handle to a uinput allowing the use of ioctls
Implementations
Extracts the contained handle.
A mutable reference to the contained handle.
Create a new uinput device using the legacy UI_DEV_CREATE
interface
Create a new uinput device, and fall back on the legacy interface if necessary
Read events from uinput (see EV_UINPUT
)
Returns the sysfs directory for the input device.
Note that this path may not exist if sysfs is not mounted in the standard /sys
location.
The device name of the input device.
The device node path of the input device.
Note that this path may not exist if /dev/input/*
isn’t mounted properly.
UI_DEV_CREATE
UI_DEV_DESTROY
UI_DEV_SETUP
UI_ABS_SETUP
UI_SET_KEYBIT
UI_SET_RELBIT
UI_SET_ABSBIT
UI_SET_MSCBIT
UI_SET_LEDBIT
UI_SET_SNDBIT
UI_SET_SWBIT
UI_SET_PROPBIT
UI_BEGIN_FF_UPLOAD
UI_END_FF_UPLOAD
UI_BEGIN_FF_ERASE
UI_END_FF_ERASE
Trait Implementations
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