lightgun-poc / server / InputMode
Type Alias: InputMode
InputMode =
"auto"|"native"|"gnome"|"none"
Defined in: server.ts:111
Where aim ends up:
native— the real cursor, via libnut.gnome— the real cursor on GNOME Wayland, via Mutter's remote-control D-Bus API (lib/gnome); fails loudly when GNOME does not offer it.none— virtual devices that print the cursor position instead (headless boxes, containers, SSH; also handy for watching what the phone sends).auto—gnomeon a Wayland session (libnut cannot move the cursor there), elsenativewhen a display exists,noneotherwise. Never reaching the addon without a display is the point: it aborts the process.