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

Game.ProtoInput.GetRawInputDataHook = true;

Handler API docs

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop