Nucleus handler tools β€Ί Docs β€Ί Game.ProtoInput β€Ί FocusLoopIntervalMilliseconds

Game.ProtoInput.FocusLoopIntervalMilliseconds

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

Game.ProtoInput.FocusLoopIntervalMilliseconds: number
AI-writtenAI-written. Based on: Nucleus ProtoInputLauncher.cs (opens in a new tab) (SetupInstance β†’ StartFocusMessageLoop); ProtoInputOptions.cs (opens in a new tab); ProtoInputHooks FocusMessageLoop.cpp (opens in a new tab) (LoopThread).

Milliseconds Proto Input's focus loop waits between rounds of focus messages to the game window. Default 5. Only read when Game.ProtoInput.EnableFocusMessageLoop is on and Proto Input is injected (Game.ProtoInput.InjectStartup or an InjectRuntime_… option).

Default: 5 Β· Category: Proto Input

In practice

By engine: rarer in Source games.

Game.ProtoInput.FocusLoopIntervalMilliseconds = 5;
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