Nucleus handler tools β€Ί Docs β€Ί ProtoInput β€Ί SetToggleFakeCursorVisibilityShortcut

ProtoInput.SetToggleFakeCursorVisibilityShortcut

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

ProtoInput.SetToggleFakeCursorVisibilityShortcut(
  instanceHandle: number,
  enabled: boolean,
  vkey: number
): void
AI-writtenAI-written. Based on: Nucleus ProtoInput.cs (opens in a new tab) (SetToggleFakeCursorVisibilityShortcut); ProtoInputLoader Inject.cpp (opens in a new tab); ProtoInputHooks PipeCommunication.cpp (opens in a new tab); RawInput.cpp (opens in a new tab) (SendKeyMessage).

Sets a key that shows or hides the fake cursor when pressed on the instance's keyboard; that key press is not passed to the game. Parameters: the instance handle, true/false to enable the shortcut, and the virtual-key code.

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