Nucleus handler tools › Docs › ProtoInput › AddSelectedKeyboardHandle

ProtoInput.AddSelectedKeyboardHandle

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

ProtoInput.AddSelectedKeyboardHandle(
  instanceHandle: number,
  keyboardHandle: number
): void

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

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