class

Evdev::UinputDevice

Inherits Reference < Object

Constructors

new(device : Device, file : IO::FileDescriptor | Nil = nil)

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.

Source

Instance methods

device_node
Source
finalize
Source
syspath
Source
write_event(code : Codes::All, value)
Source