Skip to content

lightgun-poc / lib/hotkey / createComboProbe

Function: createComboProbe() ​

createComboProbe(keys, deps): ProbeResult

Defined in: lib/hotkey.ts:308

Builds the platform's combo probe. Every failure — unsupported platform, unmappable key, missing display, an FFI library that will not load — comes back as a reason, never a throw: the hotkey degrades, the gun keeps working.

Parameters ​

keys ​

string[]

deps ​

ProbeDeps

Returns ​

ProbeResult

Released under the MIT License.