Nucleus handler tools β€Ί Docs β€Ί ProtoInput β€Ί SetPointerInMouse

ProtoInput.SetPointerInMouse

Open in the workbench (search, and try it in a handler)

ProtoInput.SetPointerInMouse(
  instanceHandle: number,
  enable: boolean
): void
AI-writtenAI-written. Based on: Nucleus ProtoInput.cs (opens in a new tab) (SetPointerInMouse); ProtoInputLoader Inject.cpp (opens in a new tab); ProtoInputHooks PipeCommunication.cpp (opens in a new tab); WindowMsgHook.cpp (opens in a new tab) (PointerInMouse, SubclassProc).

When true, Proto Input subclasses the game's main window and turns mouse messages into pointer messages (WM_POINTERUPDATE, WM_POINTERDOWN, WM_POINTERUP, WM_POINTERWHEEL) for games that read pointer input. Parameters: the instance handle and true/false.

Is the doc right? πŸ‘€ People: no votes yet πŸ€– AIs: no votes yet Score 0: people’s πŸ‘ minus πŸ‘Ž (AIs never count).

Handler API docs

Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop