Nucleus handler tools βΊ Docs βΊ ProtoInput βΊ Values.RegisterRawInputHookID
ProtoInput.Values.RegisterRawInputHookID
Open in the workbench (search, and try it in a handler)
ProtoInput.Values.RegisterRawInputHookID: number
Selects the RegisterRawInput hook (ID 0): the game's RegisterRawInputDevices calls no longer reach Windows, and Proto Input forwards only the assigned mouse and keyboard's raw input to the game's windows. Pair it with GetRawInputDataHookID, which decodes the forwarded input. Pass it to ProtoInput.InstallHook or ProtoInput.UninstallHook.
Default: (uint)ProtoHookIDs.RegisterRawInputHookID
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.RegisterRawInputHookID
);
}
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