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

ProtoInput.SetDinputHookAlsoHooksGetDeviceState

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

ProtoInput.SetDinputHookAlsoHooksGetDeviceState(
  instanceHandle: number,
  enable: boolean
): void
AI-writtenAI-written. Based on: Nucleus ProtoInput.cs (opens in a new tab) (SetDinputHookAlsoHooksGetDeviceState); ProtoInputLoader protoloader.h (opens in a new tab) (comment: must be called before InstallHook on the Dinput order hook); ProtoInputHooks PipeCommunication.cpp (opens in a new tab); DinputOrderHook.cpp (opens in a new tab) (InstallControllerHooks).

When true, the DinputOrderHookID hook also hooks the controller's GetDeviceState. Parameters: the instance handle and true/false. Call it before installing the DinputOrderHookID hook.

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