Skip to content

lightgun-poc / lib/protocol

lib/protocol ​

WebSocket wire protocol between the phone and the PC server.

v1 is FROZEN — fields are extended, never changed. u,v are proportions of the physical screen (origin top-left), t is the phone's Date.now(), q is tracking confidence (1 good / 0.5 limited).

Interfaces ​

Type Aliases ​

Functions ​

Released under the MIT License.