How can I prevent an app, program or game from using a certain device or controller?

jorgg69

Commendable
Apr 7, 2018
6
1
1,515
I'm using an 8Bitdo controller with their XPad program (it uses Vbus), which gets me a virtual Xbox controller, which is nice for most games if I don't use any Steam Big Picture config for the controller as they don't get any input except the ones converted to Xbox (that is, for example: if I press the button 1 the game itself ignores it, but 8bitdo's Xpad program sends the input for the xbox button A, which gets recognized from the game and uses it to jump).

For a lot of games it works, as they ignore the controller, but for Need for Speed the game keeps telling me to properly config one of the controllers. The game takes the input from the virtual Xbox controller, so that's fine, but then it gets the not configured inputs and tells me to configure them.

tl;dr: My question is, how can I cloak or hide one device for a program or game to not use it, or rather, how can I prevent a program or game to stop using a certain device?
 
Solution
Disable the device before you start the game. Only way for you to specify what a game will try to use is to actually write code for the game and include that options.