Nucleus handler tools › Docs › Game.Hook
Game.Hook
Open in the workbench (search, and try it in a handler)
Focus and input hooks injected into each instance.
Game.Hook.BlockInputEvents· boolean — If force focus is enabled, this blocks all input events but gamepad.Game.Hook.BlockKeyboardEvents· boolean — If force focus is enabled, this blocks all keyboard input.Game.Hook.BlockMouseEvents· boolean — If force focus is enabled, this blocks all mouse input.Game.Hook.CustomDllEnabled· boolean — Use Nucleus' own XInput DLL (a custom x360ce) in each instance to give it one controller and keep it in focus. On by default: set it to…Game.Hook.DInputEnabled· boolean — If enabled, will allow DInput devices to be used as a device input in Nucleus. This doesn't mean that it will work with the game if not…Game.Hook.DInputForceDisable· boolean — If we should completely remove support for DirectInput input from the gameGame.Hook.EnableMKBInput· boolean — Enable Mouse/Keyboard input for instances when using Alpha 10 custom xinput dll (normally MKB is restricted).Game.Hook.FixPosition· boolean — Should the custom dll do the repositioning? | Only works with Alpha 10 custom dll | default: false.Game.Hook.FixResolution· boolean — Should the custom dll do the resizing? | Only works with Alpha 10 custom dll | default: false.Game.Hook.ForceFocus· boolean — If our custom x360ce xinput DLL should hook into the game's window and fake Window's events so we never leave focus.Game.Hook.ForceFocusWindowName· string — If force focus is enabled, this is the window we are attaching ourselves to and the window we are going to keep on top. Needs the exact…Game.Hook.ResHeight· number — If manual resizing, what is the window's height | If both ResWidth and ResHeight value > 0, window will be positioned manually.Game.Hook.ResWidth· number — If manual resizing, what is the window's width | If both ResWidth and ResHeight value > 0, window will be positioned manually.Game.Hook.SDL2Enabled· boolean — If the game supports sdl2 joysticks(not a hook)Game.Hook.SetWindowSize· boolean — If our custom dll should set the window size and position locally, instead of the handler (inconsistent with some window sizes, look at…Game.Hook.UseAlpha8CustomDll· boolean — Use the xinput custom dll from Alpha 8 instead of Alpha 10 | Will still force alpha 10 custom dll if game is x64.Game.Hook.WindowX· number — If manual positioning, what is the window's X coordinate | If both X and Y value > 0, window will be positioned manually.Game.Hook.WindowY· number — If manual positioning, what is the window's Y coordinate | If both X and Y value > 0, window will be positioned manually.Game.Hook.XInputCopies· string[]Game.Hook.XInputEnabled· boolean — If enabled, will allow XInput devices to be used as a device input in Nucleus. This doesn't mean that it will work with the game if not…Game.Hook.XInputNames· string[] — The name of our custom DLL for gamepad control, some games need other names like xinput1_4.dll, xinput1_2.dll, xinput1_1.dll and…Game.Hook.XInputReroute· boolean — If enabled, will allow XInput devices to act like DInput devices. This allows using more than 4 controllers. You can use only ONE XboxOne…