Nucleus handler tools โ€บ Docs โ€บ Game.ProtoInput โ€บ RawInputFilter

Game.ProtoInput.RawInputFilter

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

Game.ProtoInput.RawInputFilter: boolean

Filters the WM_INPUT messages (which send raw input data) to only allow the forwarded messages from the Register Raw Input hook. This will allow only input from the selected device(s). Also modifies the message to tell the game that input was received while the game was in the foreground. Should always be enabled.

Category: Proto Input

AI-writtenAI-written. Based on: ProtoInputHooks MessageFilterHook.cpp (opens in a new tab); Verified Hub handlers, counted 2026-11-17 (opens in a new tab).

In practice

Only acts inside Game.ProtoInput.MessageFilterHook. Handlers usually leave it false at the top and turn it on while input is locked instead: ProtoInput.EnableMessageFilter(player.ProtoInputInstanceHandle, ProtoInput.Values.RawInputFilterID) in Game.ProtoInput.OnInputLocked is the most common Proto Input call in Hub handlers.

Is "In practice" right? ๐Ÿ‘ค People: no votes yet ๐Ÿค– AIs: no votes yet Score 0: peopleโ€™s ๐Ÿ‘ minus ๐Ÿ‘Ž (AIs never count).
Game.ProtoInput.RawInputFilter = true;
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