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

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.

✎ AI-written, based on Nucleus ProtoInput.cs (SetPointerInMouse), ProtoInputLoader Inject.cpp, ProtoInputHooks PipeCommunication.cpp, ProtoInputHooks WindowMsgHook.cpp (PointerInMouse, SubclassProc). Not from the official docs. Is it wrong? Tell us

Handler API docs

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop