# kuroneko_gadget v0.5.0 - API Reference

## Modules

- [Kuroneko.Gadget](Kuroneko.Gadget.md): The USB side of a KVM: the functions the target computer sees, on a USB
gadget in configfs.

- Functions
  - [Kuroneko.Gadget.ACM](Kuroneko.Gadget.ACM.md): The kernel's CDC ACM function: a serial port between the device and the
target computer.
  - [Kuroneko.Gadget.Function](Kuroneko.Gadget.Function.md): A kind of USB function the kernel provides, for `Kuroneko.Gadget`.
  - [Kuroneko.Gadget.FunctionFS](Kuroneko.Gadget.FunctionFS.md): USB functions written in Elixir, on the kernel's FunctionFS.
  - [Kuroneko.Gadget.HID](Kuroneko.Gadget.HID.md): 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.
  - [Kuroneko.Gadget.MassStorage](Kuroneko.Gadget.MassStorage.md): The kernel's mass storage function: drives the target computer sees,
each holding an image file.
  - [Kuroneko.Gadget.NCM](Kuroneko.Gadget.NCM.md): The kernel's NCM function: a USB network adapter the target computer
sees, with a network interface on the device.
  - [Kuroneko.Gadget.UAC2](Kuroneko.Gadget.UAC2.md): 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`.

- Keyboard and mouse
  - [Kuroneko.Gadget.HID.Keymap](Kuroneko.Gadget.HID.Keymap.md): Key names to USB HID keyboard usages.
  - [Kuroneko.Gadget.HID.Report](Kuroneko.Gadget.HID.Report.md): 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.

  - [Kuroneko.Gadget.Input](Kuroneko.Gadget.Input.md): The KVM's keyboard, mouse and touch input to the target computer, on the
`:keyboard`, `:mouse` and `:relative_mouse` functions of
`Kuroneko.Gadget`.

