Input.DeviceInput devices.
val get_sysname : t -> stringget_sysname t is the system name of t, e.g. "event1".
val get_name : t -> stringget_name t is the descriptive device name as advertised by the kernel and/or the hardware itself (e.g. "Logitech USB Optical Mouse").
It may return the empty string.
val get_id_bustype : t -> intval get_id_product : t -> intval get_id_vendor : t -> intval get_output_name : t -> string optionval get_size : t -> (float * float) optionval get_device_group : t -> Device_group.tval set_seat_logical_name : t -> string -> unitChange the logical seat associated with this device by removing the device and adding it to the new seat.
module Capability : sig ... endA device may have one or more "capabilities" at a time. Capabilities remain static for the lifetime of the device.
val has_capability : t -> Capability.t -> boolmodule Keyboard : sig ... endmodule Pointer : sig ... endmodule Touch : sig ... endmodule Switch : sig ... endmodule Tablet_pad : sig ... endmodule Led : sig ... endmodule Config : sig ... endEnable, disable, change and/or check for device-specific features.
val import :
[< `Udev | `Path ] Context.t ->
[ `Libinput_device ] Ctypes.structure Ctypes.ptr ->
tval use : t -> [ `Libinput_device ] Ctypes.structure Ctypes.ptr