Nucleus handler tools β€Ί Docs β€Ί ProtoInput β€Ί SetUseOpenXinput

ProtoInput.SetUseOpenXinput

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

ProtoInput.SetUseOpenXinput(
  instanceHandle: number,
  useOpenXinput: boolean
): void
AI-writtenAI-written. Based on: Nucleus ProtoInput.cs (opens in a new tab) (SetUseOpenXinput); ProtoInputLoader Inject.cpp (opens in a new tab); ProtoInputHooks PipeCommunication.cpp (opens in a new tab); XinputHook.cpp (opens in a new tab) (XInputGetState_Inline, Hook_XInputGetCapabilities comment).

When true, the XinputHookID hook reads controllers through OpenXinput instead of xinput1_3.dll, which allows controller numbers above 4. 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