Is there a way to see the state of the Xbox button using Xinput.h? (Using an Xbox One controller)

397 Views Asked by At

Basically the title. I'm using Xinput.h on Windows with an Xbox One controller to control the mouse and a bunch of other common key presses remotely, and I really want to use the Xbox button to enable/disable the controller. The Xinput.h documentation for the wButtons variable in the Gamepad struct here doesn't have a way to read the state of the Xbox button, so is there another way to read it?

Do I need another library, separate from Xinput.h, to manage this?

0

There are 0 best solutions below