GameInputFocusPolicy
Enumerates focus policies for an input device.Syntax
Constants
Remarks
This enumeration is used by the IGameInput::SetFocusPolicy method. CallSetFocusPolicy to specify whether input is sent to a game when it is not in focus. By default, GameInput will not provide background input. Values may be combined.
If the game processes the Guide or Share buttons, setting the GameInputExclusiveForegroundGuideButton or GameInputExclusiveForegroundShareButton flags respectively can help ensure background overlay applications do not also handle them. For example, this can prevent unwanted overlay menus or screenshots from popping up over a game that intends to use the buttons itself.
Many users use overlay applications that use the Guide button for menus and the Share button for screenshots. Consider whether your game has a need to override that functionality to avoid user confusion.
Requirements
Header: GameInput.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesSee also
Overview of GameInputGameInput
