Nucleus handler tools β€Ί Docs β€Ί ProtoInput β€Ί Values.RawInputFilterID

ProtoInput.Values.RawInputFilterID

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

ProtoInput.Values.RawInputFilterID: number
AI-writtenAI-written. Based on: Nucleus ProtoInput.cs (opens in a new tab) (ExposedValues, ProtoMessageFilterIDs); ProtoInputHooks RawInputFilter.h (opens in a new tab); MessageFilterHook.cpp (opens in a new tab) (FilterMessage).

Selects the raw input filter (ID 0): WM_INPUT messages always say they arrived while the game was in the foreground. Only acts while MessageFilterHookID is installed. Pass it to ProtoInput.EnableMessageFilter or ProtoInput.DisableMessageFilter.

Default: (uint)ProtoMessageFilterIDs.RawInputFilterID

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.EnableMessageFilter(
    player.ProtoInputInstanceHandle,
    ProtoInput.Values.RawInputFilterID
  );
}
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