class Evdev::UinputDevice
- Evdev::UinputDevice
- Reference
- Object
Defined in:
uinput_device.crConstructors
-
.new(device : Device, file : IO::FileDescriptor | Nil = nil)
Creates a new uinput device from a
Deviceand 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.