Nucleus handler tools โบ Docs โบ Game.ProtoInput โบ GetRawInputDataHook
Game.ProtoInput.GetRawInputDataHook
Open in the workbench (search, and try it in a handler)
Game.ProtoInput.GetRawInputDataHook: boolean
When forwarding the input back to the game, you need to create a handle to the input data. However these handles can only be created by Windows. To get around this, Proto Input will send a dummy WM_INPUT message to the game (from the Register Raw Input hook). The game then calls GetRawInputData using the dummy handle. This hook intercepts the call and passes in the saved data. This hook is required to make forwarding raw input work, so it should always be enabled.
Category: Proto Input
In practice
Only matters for games that read raw input themselves. With Game.ProtoInput.RegisterRawInputHook on, Proto Input posts each player's raw input as WM_INPUT to the windows the game registered, tagged with its own signature; this hook lets the game's GetRawInputData read that data. Without the raw input hook it has nothing to pass on. Most Proto Input handlers turn it on, nearly always together with the raw input hook.
Game.ProtoInput.GetRawInputDataHook = true;