@maaxyz/maa-node 5.10.1 → 5.10.3
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/controller.d.ts +8 -1
- package/package.json +7 -7
package/dist/controller.d.ts
CHANGED
|
@@ -196,6 +196,7 @@ declare global {
|
|
|
196
196
|
* @returns true if successful, false otherwise
|
|
197
197
|
*/
|
|
198
198
|
set mouse_lock_follow(enabled: boolean)
|
|
199
|
+
set background_managed_keys(keycodes: number[])
|
|
199
200
|
post_key_down(keycode: number): Job<CtrlId, Controller>
|
|
200
201
|
post_key_up(keycode: number): Job<CtrlId, Controller>
|
|
201
202
|
/**
|
|
@@ -310,7 +311,13 @@ declare global {
|
|
|
310
311
|
type WlRootsCompositor = [handle: DesktopHandle, class_name: string, window_name: string]
|
|
311
312
|
|
|
312
313
|
class WlRootsController extends Controller {
|
|
313
|
-
|
|
314
|
+
/**
|
|
315
|
+
* @param wlr_socket_path Wayland socket path (e.g. "/run/user/1000/wayland-0")
|
|
316
|
+
* @param use_win32_vk_code When true, key codes passed to click_key / key_down / key_up are
|
|
317
|
+
* interpreted as Win32 Virtual-Key codes (VK_*) and translated to Linux evdev codes internally.
|
|
318
|
+
* Defaults to false (raw evdev codes).
|
|
319
|
+
*/
|
|
320
|
+
constructor(wlr_socket_path: string, use_win32_vk_code?: boolean)
|
|
314
321
|
|
|
315
322
|
static find(): Promise<WlRootsCompositor[] | null>
|
|
316
323
|
}
|
package/package.json
CHANGED
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">= 20.0.0"
|
|
22
22
|
},
|
|
23
|
-
"version": "5.10.
|
|
23
|
+
"version": "5.10.3",
|
|
24
24
|
"optionalDependencies": {
|
|
25
|
-
"@maaxyz/maa-node-darwin-arm64": "5.10.
|
|
26
|
-
"@maaxyz/maa-node-darwin-x64": "5.10.
|
|
27
|
-
"@maaxyz/maa-node-linux-arm64": "5.10.
|
|
28
|
-
"@maaxyz/maa-node-linux-x64": "5.10.
|
|
29
|
-
"@maaxyz/maa-node-win32-arm64": "5.10.
|
|
30
|
-
"@maaxyz/maa-node-win32-x64": "5.10.
|
|
25
|
+
"@maaxyz/maa-node-darwin-arm64": "5.10.3",
|
|
26
|
+
"@maaxyz/maa-node-darwin-x64": "5.10.3",
|
|
27
|
+
"@maaxyz/maa-node-linux-arm64": "5.10.3",
|
|
28
|
+
"@maaxyz/maa-node-linux-x64": "5.10.3",
|
|
29
|
+
"@maaxyz/maa-node-win32-arm64": "5.10.3",
|
|
30
|
+
"@maaxyz/maa-node-win32-x64": "5.10.3"
|
|
31
31
|
}
|
|
32
32
|
}
|