Nucleus handler tools โบ Docs โบ Game โบ HookGetKeyState
Game.HookGetKeyState
Open in the workbench (search, and try it in a handler)
Game.HookGetKeyState: boolean
Deprecated: use Proto Input instead (see https://www.splitscreen.me/docs/proto).
These options hook Windows functions that can be used by the game to detect if keys are down.
Default: true ยท Category: Support for multiple mice and keyboards
In practice
Read by Nucleus' own input hooks, injected into each instance (DllsInjector.cs, only with Game.SupportsMultipleKeyboardsAndMice), from before Proto Input. The Proto Input guide lists it among the options a Proto Input handler must set to false explicitly (some of them default to true), so Proto Input handlers set it false. Only the few handlers that use Nucleus' own keyboard and mouse input instead of Proto Input set it true.
Game.HookGetKeyState = false;