my PC controller is not working only for 1 game

I have been playing hitman absolution for a while with my controller and now the controller is not working for this game(only the home button is working) but the controller is working normally with other games. Can someone help me ASAP.
Best Answer
Some gamepads support both DirectInput and XInput modes. These gamepads can be identified by a switch on them that has two options, “D” (DirectInput) and “X” (XInput).
To play Hitman: Absolution a gamepad must be supported and set to DirectInput mode.
I'm going to assume you have one of the logitec controllers, previously used DirectInput, then switched to XInput either by accident or to play another game, but now forgot to switch back?
Pictures about "my PC controller is not working only for 1 game"



Why is my controller not working on my PC?
Use A Different USB Cable Make sure the cable you're using is in good working order. If you have a second micro USB cable, use it. Try using a different USB cable or a different USB port on your Windows 10 PC to check whether your controller works regularly. It is frequently used to charge a variety of mobile phones.Can you use a controller on all PC games?
Xbox Controllers Whether it came with the Xbox One or Xbox Series, or you bought it separately, the Xbox Wireless Controller is immediately compatible with any Windows 10 or 11 PC as a wired controller; just plug it into a USB port and you can start playing with it.How to fix Controller Issues in Windows...
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Jaroslav Nymburský, Pixabay, Joseph Redfield, Startup Stock Photos