Nucleus handler tools › Docs › ProtoInput › AddSelectedMouseHandle

ProtoInput.AddSelectedMouseHandle

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

ProtoInput.AddSelectedMouseHandle(
  instanceHandle: number,
  mouseHandle: number
): void

Assigns a mouse to the game instance, so its raw input drives that instance's fake mouse. Parameters: the instance handle and the mouse's raw input device handle. Can be called more than once to assign several mice.

✎ AI-written, based on Nucleus ProtoInput.cs (AddSelectedMouseHandle), ProtoInputLoader Inject.cpp (AddSelectedInputHandleImpl), ProtoInputHooks PipeCommunication.cpp (AddSelectedMouseOrKeyboard), ProtoInputHooks RawInput.cpp (ProcessRawInput). 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