Skip to main content

GAMEPAD_BUTTONS Enumeration

Controller button identifier flags. GAMEPAD_BUTTONS values are used in a GAMEPAD_REPORT to indicate which buttons are currently pressed.

Syntax

Constants

Remarks

GAMEPAD_BUTTONS is a flag enumeration so the values may be combined into a single value which represents multiple buttons being pressed. GAMEPAD_BUTTONS is a member of the GAMEPAD_REPORT struct. It is combined with additional information about non-button inputs like the triggers and stick values to represent the state of a gamepad input device. These states are sent to a console using the IXtfInputClient.

Requirements

Header: xtfinput.h Library: xtfinput.lib Supported platforms: Windows (for XBOX console tools)

See also

XtfInput
GAMEPAD_REPORT
IXtfInputClient
Last modified on August 20, 2026