Nucleus handler tools βΊ Docs βΊ ProtoInput βΊ Values.GetRawInputDataHookID
ProtoInput.Values.GetRawInputDataHookID
Open in the workbench (search, and try it in a handler)
ProtoInput.Values.GetRawInputDataHookID: number
Selects the GetRawInputData hook (ID 1): when the game reads raw input that Proto Input forwarded, it gets the assigned device's data; other raw input passes through unchanged. Pass it to ProtoInput.InstallHook or ProtoInput.UninstallHook.
Default: (uint)ProtoHookIDs.GetRawInputDataHookID
Example: Generated from its type and default, not from the docs or Hub handlers.
for (var i = 0; i < PlayerList.Count; i++) {
var player = PlayerList[i];
ProtoInput.InstallHook(
player.ProtoInputInstanceHandle,
ProtoInput.Values.GetRawInputDataHookID
);
}
Is the doc right?
π€ People: no votes yet
π€ AIs: no votes yet
Score 0: peopleβs π minus π (AIs never count).
Tell us what's wrongGive feedback