stratum-rs-overlay 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -0
- package/dist/index.js +4 -1
- package/dist/index.win32-x64-msvc.node +0 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -33,6 +33,9 @@ export declare function init(licenseKeyHex: string): boolean
|
|
|
33
33
|
export declare function setOverlayPid(pid: number): void
|
|
34
34
|
export declare function setOverlayHwnd(hwnd: number): void
|
|
35
35
|
export declare function focusLastTarget(): boolean
|
|
36
|
+
export declare function areKeysPressed(vkCodes: Array<number>): boolean
|
|
37
|
+
export declare function stopMouseTracking(): boolean
|
|
38
|
+
export declare function startMouseTracking(targetName?: string | undefined | null): boolean
|
|
36
39
|
export declare function stopTracking(): boolean
|
|
37
40
|
/**
|
|
38
41
|
* Start Tracking
|
package/dist/index.js
CHANGED
|
@@ -310,12 +310,15 @@ if (!nativeBinding) {
|
|
|
310
310
|
throw new Error(`Failed to load native binding`)
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
const { Mode, init, setOverlayPid, setOverlayHwnd, focusLastTarget, stopTracking, startTracking } = nativeBinding
|
|
313
|
+
const { Mode, init, setOverlayPid, setOverlayHwnd, focusLastTarget, areKeysPressed, stopMouseTracking, startMouseTracking, stopTracking, startTracking } = nativeBinding
|
|
314
314
|
|
|
315
315
|
module.exports.Mode = Mode
|
|
316
316
|
module.exports.init = init
|
|
317
317
|
module.exports.setOverlayPid = setOverlayPid
|
|
318
318
|
module.exports.setOverlayHwnd = setOverlayHwnd
|
|
319
319
|
module.exports.focusLastTarget = focusLastTarget
|
|
320
|
+
module.exports.areKeysPressed = areKeysPressed
|
|
321
|
+
module.exports.stopMouseTracking = stopMouseTracking
|
|
322
|
+
module.exports.startMouseTracking = startMouseTracking
|
|
320
323
|
module.exports.stopTracking = stopTracking
|
|
321
324
|
module.exports.startTracking = startTracking
|
|
Binary file
|