Nucleus handler tools › Docs › Game.ProtoInput
Game.ProtoInput
Open in the workbench (search, and try it in a handler)
Proto Input settings for the whole session.
Game.ProtoInput.AdjustWindowRectHook· booleanGame.ProtoInput.AllowFakeCursorOutOfBounds· booleanGame.ProtoInput.AutoHideTaskbar· boolean — Turns on the Windows taskbar's auto-hide when the session starts and turns it off again when the session ends. Does nothing if auto-hide…Game.ProtoInput.BlockedMessages· number[] — Blocks calls to GetRegisteredRawInputDevices and GetRawInputDeviceList to prevent the game from detecting raw input devices. You will…Game.ProtoInput.BlockRawInputHook· boolean — Blocks calls to GetRegisteredRawInputDevices and GetRawInputDeviceList to prevent the game from detecting raw input devices. You will…Game.ProtoInput.ClipCursorHook· boolean — Prevents the game from setting a bounding region about the mouse cursor. Some games will repeatedly clip the cursor when they receive the…Game.ProtoInput.ClipCursorHookCreatesFakeClip· boolean — Prevents the game from setting a bounding region about the mouse cursor. Some games will repeatedly clip the cursor when they receive the…Game.ProtoInput.CreateSingleHIDHook· boolean — Hooks CreateFile so the game can only open the HID for the selected device (in Nucleus). This will usually require using startup injection.Game.ProtoInput.CursorVisibilityHook· boolean — Monitors when the game tries to hide the cursor (e.g. when you close the menu in a first person game), and sets the visibility of the fake…Game.ProtoInput.DinputDeviceHook· boolean — Some (few) games will use Direct Input instead of Xinput to get controller input. The Direct Input API involves creating an "interface" to…Game.ProtoInput.DinputHookAlsoHooksGetDeviceState· boolean — Some (few) games will use Direct Input instead of Xinput to get controller input. The Direct Input API involves creating an "interface" to…Game.ProtoInput.DontShowCursorWhenImageUpdated· boolean — Monitors when the game tries to hide the cursor (e.g. when you close the menu in a first person game), and sets the visibility of the fake…Game.ProtoInput.DrawFakeCursor· Nucleus.DrawFakeCursor | number | boolean — This is set in the input lockingGame.ProtoInput.EnableFocusMessageLoop· boolean — Game.ProtoInput.FocusLoopIntervalMilliseconds = 5;Game.ProtoInput.EnableToggleFakeCursorVisibilityShortcut· boolean — Lets the player show or hide Proto Input's fake cursor with a key on their own keyboard…Game.ProtoInput.ExtendFakeCursorBounds· booleanGame.ProtoInput.FindWindowHook· boolean — Blocks calls to FindWindow and EnumWindow so the game cannot detect any windows. This is required for opening multiple instances of some…Game.ProtoInput.FocusHooks· boolean — Hooks many functions (see the Details tab of the hook) related to the game checking if it's in the foreground or focused. Should always be…Game.ProtoInput.FocusLoop_WM_ACTIVATE· boolean — Proto Input's focus loop repeatedly tells the game window it was activated by a click (WM_ACTIVATE), so it believes it still has focus.…Game.ProtoInput.FocusLoop_WM_ACTIVATEAPP· boolean — Proto Input's focus loop repeatedly tells the game that its app became the active one (WM_ACTIVATEAPP), so it believes it still has focus.…Game.ProtoInput.FocusLoop_WM_MOUSEACTIVATE· boolean — Proto Input's focus loop repeatedly tells the game window it is being activated by the mouse (WM_MOUSEACTIVATE). Only read when…Game.ProtoInput.FocusLoop_WM_NCACTIVATE· boolean — Proto Input's focus loop repeatedly tells the game window to show itself as active (WM_NCACTIVATE), so it believes it still has focus. Only…Game.ProtoInput.FocusLoop_WM_SETFOCUS· boolean — Proto Input's focus loop repeatedly tells the game window it has keyboard focus (WM_SETFOCUS). Only read when…Game.ProtoInput.FocusLoopIntervalMilliseconds· number — Milliseconds Proto Input's focus loop waits between rounds of focus messages to the game window. Default 5. Only read when…Game.ProtoInput.FreezeExternalInputWhenInputNotLocked· boolean — Sets the virtual keycode for locking input (End key by default)Game.ProtoInput.GetAsyncKeyStateHook· boolean — Similar to Get Key State. Async also tells the caller whether the key was pressed since the last call, so this can resolve issues where…Game.ProtoInput.GetCursorInfoHook· booleanGame.ProtoInput.GetCursorPosHook· boolean — The GetCursorPos is one way of obtaining the cursor position, so this hook redirects it to the "fake" cursor position. Should always be…Game.ProtoInput.GetKeyboardStateHook· boolean — Basically the same as Get Key State, except it returns the state of the entire keyboard. Should almost always be enabled.Game.ProtoInput.GetKeyStateHook· boolean — Hooks GetKeyState to return the "fake" keyboard state. You should almost always have this enabled even if it appears to have no effect:…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…Game.ProtoInput.InjectRuntime_EasyHookMethod· boolean — Injects Proto Input with EasyHook into each instance's running game once Nucleus has found its process, then applies the Game.ProtoInput…Game.ProtoInput.InjectRuntime_EasyHookStealthMethod· boolean — Automatically locks input once the instances are set upGame.ProtoInput.InjectRuntime_RemoteLoadMethod· boolean — Injects Proto Input into each instance's running game by making the game load the Proto Input DLL itself (a remote LoadLibrary call), once…Game.ProtoInput.InjectStartup· boolean — Nucleus starts each instance's game suspended, injects Proto Input, applies the Game.ProtoInput options and only then lets the game run, so…Game.ProtoInput.KeyboardButtonFilter· boolean — Same as the Mouse Buttons filter, for keyboard buttons. Should always be enabled.Game.ProtoInput.MessageFilterHook· boolean — Hooks the GetMessage and PeekMessage functions to intercept every windows message for every window owned by the process. (Note this method…Game.ProtoInput.MessageSubWindows· booleanGame.ProtoInput.MouseActivateFilter· boolean — WM_MOUSEACTIVATE, WM_ACTIVATE and WM_ACTIVATEAPP all tell a window when it's activated or deactivated. These filters modify the messages to…Game.ProtoInput.MouseButtonFilter· boolean — Filters the mouse buttons messages to only pass "fake" input. This prevents any interaction from the "real" mouse cursor with our input.…Game.ProtoInput.MouseMoveFilter· boolean — One method of getting the mouse position/state is through the WM_MOUSEMOVE message, so this modifies the data to return the "fake" mouse…Game.ProtoInput.MouseWheelFilter· boolean — Filters the WM_MOUSEWHEEL messages to only pass "fake" input. This fixes the issue of the foreground window receiving two scrolls for each…Game.ProtoInput.MoveWindowHook· Nucleus.MoveWindowHook | number | booleanGame.ProtoInput.MultipleProtoControllers· boolean — The number of controller icons dragged onto the screensGame.ProtoInput.OnInputLocked· () => void — Function Nucleus calls each time input is locked (the lock key, the gamepad lock shortcut or Game.LockInputAtStart), and once after all…Game.ProtoInput.OnInputUnlocked· () => void — Function Nucleus calls each time input is unlocked, once after all instances are set up if input is not locked by then, and when the…Game.ProtoInput.PointerInMouse· booleanGame.ProtoInput.PutMouseInsideWindow· Nucleus.PutMouseInsideWindow | number | booleanGame.ProtoInput.RawInputFilter· boolean — Filters the WM_INPUT messages (which send raw input data) to only allow the forwarded messages from the Register Raw Input hook. This will…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…Game.ProtoInput.RenameHandles· string[] — Some games will use handles (of mutants, events or semaphores) or named pipes to prevent opening multiple instances. New instances will…Game.ProtoInput.RenameHandlesHook· boolean — Gives each instance its own copy of the named mutexes, events and semaphores listed in Game.ProtoInput.RenameHandles (and named pipes in…Game.ProtoInput.RenameNamedPipes· string[] — Some games will use handles (of mutants, events or semaphores) or named pipes to prevent opening multiple instances. New instances will…Game.ProtoInput.ReRegisterInput· booleanGame.ProtoInput.ScaleFromX· numberGame.ProtoInput.ScaleFromY· numberGame.ProtoInput.SendKeyboardButtonMessages· boolean — Handled on input lock/unlock, don't enable this by defaultGame.ProtoInput.SendMouseButtonMessages· boolean — Proto Input turns the player's mouse clicks (left, right, middle and the two side buttons) into button down/up window messages sent to the…Game.ProtoInput.SendMouseDblClkMessages· booleanGame.ProtoInput.SendMouseMovementMessages· boolean — Proto Input sends a mouse move window message with the player's fake cursor position to the game window each time the player's mouse moves.…Game.ProtoInput.SendMouseWheelMessages· boolean — Proto Input turns the player's mouse wheel into mouse wheel window messages sent to the game window. Applied per instance when Proto Input…Game.ProtoInput.SetCursorPosHook· boolean — SetCursorPos sets the cursor position. This hook causes it to set the "fake" cursor instead. This is important in some games that will set…Game.ProtoInput.SetRemoveBorderHook· Nucleus.SetRemoveBorderHook | number | booleanGame.ProtoInput.SetWindowPosHook· Nucleus.SetWindowPosHook | number | boolean — Prevents the game from calling SetWindowPos to resposition and resize the game window, instead forcing it to the resolution set by Nucleus.…Game.ProtoInput.SetWindowsHookHook· booleanGame.ProtoInput.SetWindowStyleHook· boolean — Hooks SetWindowLong and SetWindowLongPtr to prevent the game from re-adding a title bar after Nucleus has stripped it.Game.ProtoInput.ToggleFakeCursorVisibilityShortcutVkey· number — VK_HOMEGame.ProtoInput.TranslateMKBtoXinput· booleanGame.ProtoInput.TranslateXAccelration· numberGame.ProtoInput.TranslateXAPointClick· booleanGame.ProtoInput.TranslateXAPointMove· booleanGame.ProtoInput.TranslateXAstatic· booleanGame.ProtoInput.TranslateXBPointClick· booleanGame.ProtoInput.TranslateXBPointMove· booleanGame.ProtoInput.TranslateXBstatic· booleanGame.ProtoInput.TranslateXButtonA· numberGame.ProtoInput.TranslateXButtonB· numberGame.ProtoInput.TranslateXButtonDown· numberGame.ProtoInput.TranslateXButtonLeft· numberGame.ProtoInput.TranslateXButtonLS· numberGame.ProtoInput.TranslateXButtonOption· numberGame.ProtoInput.TranslateXButtonRight· numberGame.ProtoInput.TranslateXButtonRS· numberGame.ProtoInput.TranslateXButtonStart· numberGame.ProtoInput.TranslateXButtonUp· numberGame.ProtoInput.TranslateXButtonX· numberGame.ProtoInput.TranslateXButtonY· numberGame.ProtoInput.TranslateXDeadzone· numberGame.ProtoInput.TranslateXinputtoMKB· booleanGame.ProtoInput.TranslateXScanner· booleanGame.ProtoInput.TranslateXSensitivity· numberGame.ProtoInput.TranslateXShouldersNextPoint· booleanGame.ProtoInput.TranslateXStickDown· numberGame.ProtoInput.TranslateXStickL· numberGame.ProtoInput.TranslateXStickLeft· numberGame.ProtoInput.TranslateXStickR· numberGame.ProtoInput.TranslateXStickRight· numberGame.ProtoInput.TranslateXStickUp· numberGame.ProtoInput.TranslateXSwapSticks· booleanGame.ProtoInput.TranslateXXPointClick· booleanGame.ProtoInput.TranslateXXPointMove· booleanGame.ProtoInput.TranslateXXstatic· booleanGame.ProtoInput.TranslateXYPointClick· booleanGame.ProtoInput.TranslateXYPointMove· booleanGame.ProtoInput.TranslateXYstatic· booleanGame.ProtoInput.UseDinputRedirection· boolean — Xinput is used by most games for controller input. This hook changes the controller indexes so each instance can receive input from a…Game.ProtoInput.UseOpenXinput· boolean — Xinput is used by most games for controller input. This hook changes the controller indexes so each instance can receive input from a…Game.ProtoInput.WindowActivateFilter· boolean — WM_MOUSEACTIVATE, WM_ACTIVATE and WM_ACTIVATEAPP all tell a window when it's activated or deactivated. These filters modify the messages to…Game.ProtoInput.WindowActvateAppFilter· boolean — WM_MOUSEACTIVATE, WM_ACTIVATE and WM_ACTIVATEAPP all tell a window when it's activated or deactivated. These filters modify the messages to…Game.ProtoInput.XinputHook· boolean — Xinput is used by most games for controller input. This hook changes the controller indexes so each instance can receive input from a…