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

Game.ProtoInput.FocusLoop_WM_ACTIVATEAPP

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

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

Proto Input's focus loop repeatedly tells the game that its app became the active one (WM_ACTIVATEAPP), so it believes it still has focus. Only read when Game.ProtoInput.EnableFocusMessageLoop is on and Proto Input is injected (Game.ProtoInput.InjectStartup or an InjectRuntime_… option).

Category: Proto Input

In practice

By engine: rarer in Source games.

Game.ProtoInput.FocusLoop_WM_ACTIVATEAPP = false;
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