Skip to content

lightgun-poc / server / InputMode

Type Alias: InputMode

InputMode = "auto" | "native" | "none"

Defined in: server.ts:107

Where aim ends up:

  • native — the real cursor, via libnut.
  • none — virtual devices that print the cursor position instead (headless boxes, containers, SSH; also handy for watching what the phone sends).
  • autonative when a display exists, none otherwise. Never reaching the addon without a display is the point: it aborts the process there.

Released under the MIT License.