Skip to main content

IGameInputReading::GetControllerSwitchState

Retrieves the switch state from a game controller.

Syntax

Parameters

stateArrayCount   _In_
Type: uint32_t
The expected number of switches on the game controller. This value can be retrieved by calling IGameInputReading::GetControllerSwitchCount. Input API Overview
IGameInputReading

Version History

Last modified on August 4, 2026