Gets a Boolean value that indicates whether the button at the specified index is currently pressed.
public:
bool IsButtonPressed(
unsigned char buttonId
)
buttonId
Type: unsigned char
Zero-based index of the button to get the pressed state of.
Type: bool
Returns true if the button at the specified index is currently pressed; otherwise, false.
Namespace: Microsoft.Xbox.Input
Metadata: microsoft.xbox.input.arcadestick.winmd