@maaxyz/maa-node 5.10.0-beta.3 → 5.10.0-beta.5

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.
@@ -189,6 +189,12 @@ declare global {
189
189
  * Post a relative move action. Supported by Win32, MacOS, and custom controllers that implement relative_move.
190
190
  */
191
191
  post_relative_move(dx: number, dy: number): Job<CtrlId, Controller>
192
+ /**
193
+ * Set mouse lock follow mode. For TPS/FPS games that lock the mouse in the background.
194
+ * Only supported by Win32 controllers using message-based input methods.
195
+ * @returns true if successful, false otherwise
196
+ */
197
+ set mouse_lock_follow(enabled: boolean)
192
198
  post_key_down(keycode: number): Job<CtrlId, Controller>
193
199
  post_key_up(keycode: number): Job<CtrlId, Controller>
194
200
  /**
package/dist/tasker.d.ts CHANGED
@@ -102,6 +102,7 @@ declare global {
102
102
  reco_id: number // RecoId
103
103
  name: string
104
104
  focus: unknown
105
+ anchor?: string
105
106
  }
106
107
 
107
108
  type TaskerContextActionNotify = {
package/package.json CHANGED
@@ -20,13 +20,13 @@
20
20
  "engines": {
21
21
  "node": ">= 20.0.0"
22
22
  },
23
- "version": "5.10.0-beta.3",
23
+ "version": "5.10.0-beta.5",
24
24
  "optionalDependencies": {
25
- "@maaxyz/maa-node-darwin-arm64": "5.10.0-beta.3",
26
- "@maaxyz/maa-node-darwin-x64": "5.10.0-beta.3",
27
- "@maaxyz/maa-node-linux-arm64": "5.10.0-beta.3",
28
- "@maaxyz/maa-node-linux-x64": "5.10.0-beta.3",
29
- "@maaxyz/maa-node-win32-arm64": "5.10.0-beta.3",
30
- "@maaxyz/maa-node-win32-x64": "5.10.0-beta.3"
25
+ "@maaxyz/maa-node-darwin-arm64": "5.10.0-beta.5",
26
+ "@maaxyz/maa-node-darwin-x64": "5.10.0-beta.5",
27
+ "@maaxyz/maa-node-linux-arm64": "5.10.0-beta.5",
28
+ "@maaxyz/maa-node-linux-x64": "5.10.0-beta.5",
29
+ "@maaxyz/maa-node-win32-arm64": "5.10.0-beta.5",
30
+ "@maaxyz/maa-node-win32-x64": "5.10.0-beta.5"
31
31
  }
32
32
  }