@maaxyz/maa-node 5.10.0-beta.2 → 5.10.0-beta.4

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/package.json CHANGED
@@ -20,13 +20,13 @@
20
20
  "engines": {
21
21
  "node": ">= 20.0.0"
22
22
  },
23
- "version": "5.10.0-beta.2",
23
+ "version": "5.10.0-beta.4",
24
24
  "optionalDependencies": {
25
- "@maaxyz/maa-node-darwin-arm64": "5.10.0-beta.2",
26
- "@maaxyz/maa-node-darwin-x64": "5.10.0-beta.2",
27
- "@maaxyz/maa-node-linux-arm64": "5.10.0-beta.2",
28
- "@maaxyz/maa-node-linux-x64": "5.10.0-beta.2",
29
- "@maaxyz/maa-node-win32-arm64": "5.10.0-beta.2",
30
- "@maaxyz/maa-node-win32-x64": "5.10.0-beta.2"
25
+ "@maaxyz/maa-node-darwin-arm64": "5.10.0-beta.4",
26
+ "@maaxyz/maa-node-darwin-x64": "5.10.0-beta.4",
27
+ "@maaxyz/maa-node-linux-arm64": "5.10.0-beta.4",
28
+ "@maaxyz/maa-node-linux-x64": "5.10.0-beta.4",
29
+ "@maaxyz/maa-node-win32-arm64": "5.10.0-beta.4",
30
+ "@maaxyz/maa-node-win32-x64": "5.10.0-beta.4"
31
31
  }
32
32
  }