Nucleus handler tools › Docs › Game.ProtoInput › RegisterRawInputHook

Game.ProtoInput.RegisterRawInputHook

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

Game.ProtoInput.RegisterRawInputHook: boolean

This hook will unsubscribe the game from Raw Input (if it has already subscribed to it), and then subscribes Proto Input to receive raw input instead. Raw input received is forwarded back to the game if it uses raw input. Proto Input receives all keyboard/mouse input from this hook so it always needs to be enabled.

Category: Proto Input

Game.ProtoInput.RegisterRawInputHook = true;

Handler API docs

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