Nucleus handler tools › Docs › ProtoInput › SetUseDinputRedirection
ProtoInput.SetUseDinputRedirection
Open in the workbench (search, and try it in a handler)
ProtoInput.SetUseDinputRedirection(
instanceHandle: number,
useRedirection: boolean
): void
When true, the XinputHookID hook reads a DirectInput controller (the one chosen by ProtoInput.SetControllerIndex, among DirectInput devices) and gives it to the game as an XInput controller. Parameters: the instance handle and true/false. Call it before installing the XinputHookID hook.
_✎ AI-written, based on Nucleus ProtoInput.cs (SetUseDinputRedirection), ProtoInputLoader protoloader.h (comment: must be called before InstallHook on the Xinput hook), ProtoInputHooks PipeCommunication.cpp (SetUseDinput), ProtoInputHooks XinputHook.cpp (XInputGetStateDinput_Inline, SelectDinputDevice). Not from the official docs._ Is it wrong? Tell us