class Evdev::UinputDevice

Defined in:

uinput_device.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(device : Device, file : IO::FileDescriptor? = 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.


[View source]

Instance Method Detail

def device_node #

[View source]
def fd #

[View source]
def finalize #

[View source]
def syspath #

[View source]
def write_event(code : Codes::All, value) #

[View source]