Nucleus handler tools › Docs › ProtoInput › SetTranslateXinputtoMKB

ProtoInput.SetTranslateXinputtoMKB

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

ProtoInput.SetTranslateXinputtoMKB(
  instanceHandle: number,
  enable: boolean
): void

When true, Proto Input turns the instance's controller into mouse and keyboard input for the game. It is switched off again if a mouse or keyboard was already assigned with ProtoInput.AddSelectedMouseHandle or ProtoInput.AddSelectedKeyboardHandle. Parameters: the instance handle and true/false.

✎ AI-written, based on Nucleus ProtoInput.cs (SetTranslateXinputtoMKB), ProtoInputLoader Inject.cpp, ProtoInputHooks PipeCommunication.cpp (SetTranslateXinputtoMKB, gotkeyboardmouse), ProtoInputHooks TranslateXtoMKB.cpp. 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