diff --git a/src/MaaFramework.Binding/Enums/Controllers/Win32InputMethod.cs b/src/MaaFramework.Binding/Enums/Controllers/Win32InputMethod.cs index 182e239..15d7e87 100644 --- a/src/MaaFramework.Binding/Enums/Controllers/Win32InputMethod.cs +++ b/src/MaaFramework.Binding/Enums/Controllers/Win32InputMethod.cs @@ -32,6 +32,7 @@ namespace MaaFramework.Binding; ///
| PostMessageWithCursorPos | Medium | Maybe | Briefly | Yes | Moves cursor to target position, then restores | ///
| SendMessageWithWindowPos | Medium | Maybe | No | Yes | Moves window to align target with cursor, then restores | ///
| PostMessageWithWindowPos | Medium | Maybe | No | Yes | Moves window to align target with cursor, then restores | +///
| AnchoredTouch | Medium | Maybe | No | Yes | Injects synthetic touch points, mouse only | /// /// /// Note: @@ -40,8 +41,9 @@ namespace MaaFramework.Binding; ///
- "WithCursorPos" methods briefly move the cursor to target position, send message, ///
then restore cursor position. This "briefly" seizes the mouse but won't block user operations. ///
- "WithWindowPos" methods briefly move the window so the target aligns with the current cursor -///
position, send message, then restore the window position. The cursor is not moved.
-/// +///
position, send message, then restore the window position. The cursor is not moved. +///
- "AnchoredTouch" injects synthetic touch points through InjectSyntheticPointerInput. +///
The cursor and foreground window are not changed. It only implements mouse operations. /// public enum Win32InputMethod : System.UInt64 { @@ -56,5 +58,6 @@ public enum Win32InputMethod : System.UInt64 PostMessageWithCursorPos = (1 << 6), SendMessageWithWindowPos = (1 << 7), PostMessageWithWindowPos = (1 << 8), + AnchoredTouch = (1 << 10), }