Nucleus handler tools › Docs › ProtoInput › SetupMessagesToSend

ProtoInput.SetupMessagesToSend

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

ProtoInput.SetupMessagesToSend(
  instanceHandle: number,
  sendMouseWheelMessages: boolean,
  sendMouseButtonMessages: boolean,
  sendMouseMoveMessages: boolean,
  sendKeyboardPressMessages: boolean,
  sendMouseDblClkMessages: boolean
): void

Chooses which window messages Proto Input posts to the game window from the assigned mouse and keyboard. Parameters, in order: the instance handle, then true/false for mouse wheel, mouse button, mouse move, keyboard key and mouse double-click messages.

✎ AI-written, based on Nucleus ProtoInput.cs (SetupMessagesToSend), ProtoInputLoader Inject.cpp, ProtoInputHooks PipeCommunication.cpp (SetupMessagesToSend), ProtoInputHooks RawInput.cpp (rawInputState.send...). 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