Represents the state of a controller.
typedef struct _XINPUT_STATE {
DWORD dwPacketNumber;
XINPUT_GAMEPAD Gamepad;
} XINPUT_STATE, *PXINPUT_STATE;
The dwPacketNumber member is incremented only if the status of the controller has changed since the controller was last polled.
Header: Declared in XInput.h.