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

Game.ProtoInput.EnableToggleFakeCursorVisibilityShortcut

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

Game.ProtoInput.EnableToggleFakeCursorVisibilityShortcut: boolean
AI-writtenAI-written. Based on: Nucleus ProtoInputLauncher.cs (opens in a new tab) (SetupInstance β†’ SetToggleFakeCursorVisibilityShortcut); ProtoInputOptions.cs (opens in a new tab) (Vkey default 0x24); ProtoInputHooks RawInput.cpp (opens in a new tab) (SendKeyMessage).

Lets the player show or hide Proto Input's fake cursor with a key on their own keyboard (Game.ProtoInput.ToggleFakeCursorVisibilityShortcutVkey, Home by default); that key press is not passed to the game as a message. Needs Game.ProtoInput.InjectStartup or an InjectRuntime_… option.

In practice

By engine: more common in Unity games, rarer in Source games.

Example: From Hub handlers

Game.ProtoInput.EnableToggleFakeCursorVisibilityShortcut = 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