microsoft / XboxConsole

Programmatically control your development Xbox One consoles.
Other
83 stars 25 forks source link

Can't simulate gamepad input for game #3

Open Heremeus opened 6 years ago

Heremeus commented 6 years ago

I'm trying to press a button ingame but the game ignores it and keeps listening to the physical controller instead of the virtual controller. I used 'user.PairWithVirtualControllerExclusive(gamepad);' as recommended in the Getting Started Guide without success. It works fine in the home menu but stops working in the game as per guide ("This causes any paired virtual controllers to be ignored as soon as a title launches, even though they may work on the Home screen."). Is PairWithVirtualControllerExclusive not disconnecting physical controllers? Is there any option to simulate button presses? How does the Xbox One Manager Remote Control send button inputs to the console?