You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -221,7 +222,7 @@ pub type MaaAdbScreencapMethod = u64;
221
222
pubtypeMaaAdbInputMethod = u64;
222
223
#[doc = " @brief Win32 screencap method flags\n\n Use bitwise OR to set the methods you need.\n MaaFramework will test all provided methods and use the fastest available one.\n\n No default value. Client should choose one as default.\n\n Predefined combinations:\n - Foreground: DXGI_DesktopDup_Window | ScreenDC\n - Background: FramePool | PrintWindow\n\n Different applications use different rendering methods, there is no universal solution.\n\n | Method | Speed | Compatibility | Require Admin | Background Support | Notes |\n |-------------------------|-----------|---------------|---------------|--------------------|----------------------------------|\n | GDI | Fast | Medium | No | No | |\n | FramePool | Very Fast | Medium | No | Yes | Requires Windows 10 1903+ |\n | DXGI_DesktopDup | Very Fast | Low | No | No | Desktop duplication (full screen)|\n | DXGI_DesktopDup_Window | Very Fast | Low | No | No | Desktop duplication then crop |\n | PrintWindow | Medium | Medium | No | Yes | |\n | ScreenDC | Fast | High | No | No | |\n\n Note: FramePool and PrintWindow support pseudo-minimize — when the target window\n is minimized, they make it transparent and click-through, then restore it without\n activation, allowing screencap to continue without disturbing the user.\n Other screencap methods will fail when the target window is minimized."]
223
224
pubtypeMaaWin32ScreencapMethod = u64;
224
-
#[doc = " @brief Win32 input method\n\n No bitwise OR, select ONE method only.\n\n No default value. Client should choose one as default.\n\n Different applications process input differently, there is no universal solution.\n\n | Method | Compatibility | Require Admin | Seize Mouse | Background Support | Notes |\n |------------------------------|---------------|---------------|--------------|--------------------|-------------------------------------------------------------\n | | Seize | High | No | Yes | No | | | SendMessage |\n Medium | Maybe | No | Yes | | |\n PostMessage | Medium | Maybe | No | Yes | | | LegacyEvent | Low\n | No | Yes | No | | | PostThreadMessage\n | Low | Maybe | No | Yes | | |\n SendMessageWithCursorPos | Medium | Maybe | Briefly | Yes | Moves cursor to target position, then\n restores | | PostMessageWithCursorPos | Medium | Maybe | Briefly | Yes | Moves cursor\n to target position, then restores | | SendMessageWithWindowPos | Medium | Maybe | No | Yes |\n Moves window to align target with cursor, then restores | | PostMessageWithWindowPos | Medium | Maybe | No | Yes |\n Moves window to align target with cursor, then restores |\n\n Note:\n - Admin rights mainly depend on the target application's privilege level.\n If the target runs as admin, MaaFramework should also run as admin for compatibility.\n - \"WithCursorPos\" methods briefly move the cursor to target position, send message,\n then restore cursor position. This \"briefly\" seizes the mouse but won't block user operations.\n - \"WithWindowPos\" methods briefly move the window so the target aligns with the current cursor\n position, send message, then restore the window position. The cursor is not moved."]
225
+
#[doc = " @brief Win32 input method\n\n No bitwise OR, select ONE method only.\n\n No default value. Client should choose one as default.\n\n Different applications process input differently, there is no universal solution.\n\n | Method | Compatibility | Require Admin | Seize Mouse | Background Support | Notes |\n |------------------------------|---------------|---------------|-------------|--------------------|-------------------------------------------------------------|\n | Seize | High | No | Yes | No | | | SendMessage |\n Medium | Maybe | No | Yes | | |\n PostMessage | Medium | Maybe | No | Yes | | | LegacyEvent | Low\n | No | Yes | No | | | PostThreadMessage |\n Low | Maybe | No | Yes | Deprecated | |\n SendMessageWithCursorPos | Medium | Maybe | Briefly | Yes | Moves cursor to target position, then\n restores | | PostMessageWithCursorPos | Medium | Maybe | Briefly | Yes | Moves cursor\n to target position, then restores | | SendMessageWithWindowPos | Medium | Maybe | No | Yes |\n Moves window to align target with cursor, then restores | | PostMessageWithWindowPos | Medium | Maybe | No | Yes\n | Moves window to align target with cursor, then restores | | Interception | Medium | Yes | No | No\n | Driver-level input injection via the Interception driver |\n\n Note:\n - Admin rights mainly depend on the target application's privilege level.\n If the target runs as admin, MaaFramework should also run as admin for compatibility.\n - \"WithCursorPos\" methods briefly move the cursor to target position, send message,\n then restore cursor position. This \"briefly\" seizes the mouse but won't block user operations.\n - \"WithWindowPos\" methods briefly move the window so the target aligns with the current cursor\n position, send message, then restore the window position. The cursor is not moved."]
225
226
pubtypeMaaWin32InputMethod = u64;
226
227
#[doc = " @brief macOS screencap method\n\n Select ONE method only.\n\n | Method | Description |\n |-----------------|------------------------------------------------|\n | ScreenCaptureKit| Modern macOS screencap using ScreenCaptureKit |"]
@@ -218,7 +219,7 @@ pub type MaaAdbScreencapMethod = u64;
218
219
pubtypeMaaAdbInputMethod = u64;
219
220
#[doc = " @brief Win32 screencap method flags\n\n Use bitwise OR to set the methods you need.\n MaaFramework will test all provided methods and use the fastest available one.\n\n No default value. Client should choose one as default.\n\n Predefined combinations:\n - Foreground: DXGI_DesktopDup_Window | ScreenDC\n - Background: FramePool | PrintWindow\n\n Different applications use different rendering methods, there is no universal solution.\n\n | Method | Speed | Compatibility | Require Admin | Background Support | Notes |\n |-------------------------|-----------|---------------|---------------|--------------------|----------------------------------|\n | GDI | Fast | Medium | No | No | |\n | FramePool | Very Fast | Medium | No | Yes | Requires Windows 10 1903+ |\n | DXGI_DesktopDup | Very Fast | Low | No | No | Desktop duplication (full screen)|\n | DXGI_DesktopDup_Window | Very Fast | Low | No | No | Desktop duplication then crop |\n | PrintWindow | Medium | Medium | No | Yes | |\n | ScreenDC | Fast | High | No | No | |\n\n Note: FramePool and PrintWindow support pseudo-minimize — when the target window\n is minimized, they make it transparent and click-through, then restore it without\n activation, allowing screencap to continue without disturbing the user.\n Other screencap methods will fail when the target window is minimized."]
220
221
pubtypeMaaWin32ScreencapMethod = u64;
221
-
#[doc = " @brief Win32 input method\n\n No bitwise OR, select ONE method only.\n\n No default value. Client should choose one as default.\n\n Different applications process input differently, there is no universal solution.\n\n | Method | Compatibility | Require Admin | Seize Mouse | Background Support | Notes |\n |------------------------------|---------------|---------------|--------------|--------------------|-------------------------------------------------------------\n | | Seize | High | No | Yes | No | | | SendMessage |\n Medium | Maybe | No | Yes | | |\n PostMessage | Medium | Maybe | No | Yes | | | LegacyEvent | Low\n | No | Yes | No | | | PostThreadMessage\n | Low | Maybe | No | Yes | | |\n SendMessageWithCursorPos | Medium | Maybe | Briefly | Yes | Moves cursor to target position, then\n restores | | PostMessageWithCursorPos | Medium | Maybe | Briefly | Yes | Moves cursor\n to target position, then restores | | SendMessageWithWindowPos | Medium | Maybe | No | Yes |\n Moves window to align target with cursor, then restores | | PostMessageWithWindowPos | Medium | Maybe | No | Yes |\n Moves window to align target with cursor, then restores |\n\n Note:\n - Admin rights mainly depend on the target application's privilege level.\n If the target runs as admin, MaaFramework should also run as admin for compatibility.\n - \"WithCursorPos\" methods briefly move the cursor to target position, send message,\n then restore cursor position. This \"briefly\" seizes the mouse but won't block user operations.\n - \"WithWindowPos\" methods briefly move the window so the target aligns with the current cursor\n position, send message, then restore the window position. The cursor is not moved."]
222
+
#[doc = " @brief Win32 input method\n\n No bitwise OR, select ONE method only.\n\n No default value. Client should choose one as default.\n\n Different applications process input differently, there is no universal solution.\n\n | Method | Compatibility | Require Admin | Seize Mouse | Background Support | Notes |\n |------------------------------|---------------|---------------|-------------|--------------------|-------------------------------------------------------------|\n | Seize | High | No | Yes | No | | | SendMessage |\n Medium | Maybe | No | Yes | | |\n PostMessage | Medium | Maybe | No | Yes | | | LegacyEvent | Low\n | No | Yes | No | | | PostThreadMessage |\n Low | Maybe | No | Yes | Deprecated | |\n SendMessageWithCursorPos | Medium | Maybe | Briefly | Yes | Moves cursor to target position, then\n restores | | PostMessageWithCursorPos | Medium | Maybe | Briefly | Yes | Moves cursor\n to target position, then restores | | SendMessageWithWindowPos | Medium | Maybe | No | Yes |\n Moves window to align target with cursor, then restores | | PostMessageWithWindowPos | Medium | Maybe | No | Yes\n | Moves window to align target with cursor, then restores | | Interception | Medium | Yes | No | No\n | Driver-level input injection via the Interception driver |\n\n Note:\n - Admin rights mainly depend on the target application's privilege level.\n If the target runs as admin, MaaFramework should also run as admin for compatibility.\n - \"WithCursorPos\" methods briefly move the cursor to target position, send message,\n then restore cursor position. This \"briefly\" seizes the mouse but won't block user operations.\n - \"WithWindowPos\" methods briefly move the window so the target aligns with the current cursor\n position, send message, then restore the window position. The cursor is not moved."]
222
223
pubtypeMaaWin32InputMethod = u64;
223
224
#[doc = " @brief macOS screencap method\n\n Select ONE method only.\n\n | Method | Description |\n |-----------------|------------------------------------------------|\n | ScreenCaptureKit| Modern macOS screencap using ScreenCaptureKit |"]
0 commit comments