Skip to content

lightgun-poc / lib/input / createMouse

Function: createMouse() ​

createMouse(lib?): Promise<MouseLike>

Defined in: lib/input.ts:33

Creates the real mouse behind the MouseLike interface.

Parameters ​

lib? ​

LibNut

Injected addon; loaded from disk (or the SEA blob) when omitted.

Returns ​

Promise<MouseLike>

Released under the MIT License.