class Evdev::UinputDevice
- Evdev::UinputDevice
- Reference
- Object
Defined in:
uinput_device.crConstructors
-
.new(device : Device, file : IO::FileDescriptor? = nil)
Creates a new uinput device from a
Device
and an open file handle to/dev/uinput
.
Instance Method Summary
Constructor Detail
Creates a new uinput device from a Device
and an open file handle to /dev/uinput
.
If file
is nil
, libevdev will automatically create and manage its own uinput handle.