1

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?

drobot
  • 23
  • 5
  • That button is known as the "guide" button, and as far as I know it's not exposed by XInput itself. You might be able to handle it using raw input. – Etienne de Martel Dec 09 '20 at 05:38

0 Answers0