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
AI-writtenAI-written. Based on: Nucleus ProtoInput.cs (opens in a new tab) (SetTranslateXinputtoMKB); ProtoInputLoader Inject.cpp (opens in a new tab); ProtoInputHooks PipeCommunication.cpp (opens in a new tab) (SetTranslateXinputtoMKB, gotkeyboardmouse); TranslateXtoMKB.cpp (opens in a new tab).

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.

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