API Reference kuroneko_gadget v#0.5.0

Copy Markdown View Source

Modules

The USB side of a KVM: the functions the target computer sees, on a USB gadget in configfs.

The kernel's CDC ACM function: a serial port between the device and the target computer.

A kind of USB function the kernel provides, for Kuroneko.Gadget.

USB functions written in Elixir, on the kernel's FunctionFS.

The kernel's HID function: a keyboard, a mouse, a game controller, any device a HID report descriptor describes. A program writes its reports to the instance's device file.

Key names to USB HID keyboard usages.

The USB HID reports of the devices Kuroneko.Gadget sets up: the boot keyboard, the relative boot mouse, and the absolute pointer as a mouse, a pen or a touch screen.

The KVM's keyboard, mouse and touch input to the target computer, on the :keyboard, :mouse and :relative_mouse functions of Kuroneko.Gadget.

The kernel's mass storage function: drives the target computer sees, each holding an image file.

The kernel's NCM function: a USB network adapter the target computer sees, with a network interface on the device.

The kernel's USB Audio Class 2 function: a sound card with a microphone the target records from, a speaker it plays to, or both. Linux shows it on the device as the ALSA card UAC2Gadget.