Nucleus handler tools βΊ Docs βΊ ProtoInput βΊ Values.KeyboardButtonFilterID
ProtoInput.Values.KeyboardButtonFilterID
Open in the workbench (search, and try it in a handler)
ProtoInput.Values.KeyboardButtonFilterID: number
Selects the keyboard button filter (ID 7): only WM_KEYDOWN/WM_KEYUP messages synthesized by Proto Input reach the game, so the real keyboard doesn't interfere. Only acts while MessageFilterHookID is installed. Pass it to ProtoInput.EnableMessageFilter or ProtoInput.DisableMessageFilter.
Default: (uint)ProtoMessageFilterIDs.KeyboardButtonFilterID
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.KeyboardButtonFilterID
);
}
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