lightgun-poc / lib/virtual / VirtualDeps
Interface: VirtualDeps
Defined in: lib/virtual.ts:68
Injection points for the virtual devices; all defaulted for real use.
Properties
log?
optionallog?: (line) =>void
Defined in: lib/virtual.ts:69
Parameters
line
string
Returns
void
now?
optionalnow?: () =>number
Defined in: lib/virtual.ts:72
Returns
number
size?
optionalsize?:object
Defined in: lib/virtual.ts:71
Screen the aim is scaled against — no real one can be measured here.
h
h:
number
w
w:
number
throttleMs?
optionalthrottleMs?:number
Defined in: lib/virtual.ts:74
Minimum gap between aim prints; 10Hz keeps a 500Hz loop readable.