How do I block XInput / DirectInput in games?

In some games, the ability to remap the controller is non-existent and the default mapping is mismatched with my controller. I want to know how to prevent those games (commonly running DirectX) from detecting that I have a controller connected while I use Xpadder to do the remapping myself?


Solution 1:

On some controllers, they will have a switch that switches between XInput and DirectInput. If the games are using DirectX, usually they will be using XInput, as stated here,

Note Use of legacy DirectInput is not recommended, and DirectInput is not available for Windows Store apps.

The site also is more favoring towards using XInput, at least for DirectX games. If you flip that switch to DirectX, and XPadder supports mapping DirectX controls, you'll be good to go.