Skip to main content

MaaWin32InputMethod

Type Alias MaaWin32InputMethod 

Source
pub type MaaWin32InputMethod = u64;
Expand description

@brief Win32 input method

No bitwise OR, select ONE method only.

No default value. Client should choose one as default.

Different applications process input differently, there is no universal solution.

MethodCompatibilityRequire AdminSeize MouseBackground SupportNotes
SeizeHighNoYesNo
MediumMaybeNoYes
PostMessageMediumMaybeNoYes
NoYesNoPostThreadMessage
LowMaybeNoYes
SendMessageWithCursorPosMediumMaybeBrieflyYesDesigned for apps that check real
cursor positionPostMessageWithCursorPosMediumMaybeBriefly
for apps that check real cursor position

Note:

  • Admin rights mainly depend on the target application’s privilege level. If the target runs as admin, MaaFramework should also run as admin for compatibility.
  • “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.