X1nput Impulse is Xinput rewritten using the Windows.Gaming.Input API which has better support for Xbox One controllers, including impulse triggers.
There's no way for the game to know whether the controller supports impulse triggers using Xinput API, so this DLL just converts normal vibrations to trigger vibrations.
Windows.Gaming.Input API requires Windows 10+ to work.
I'll try to improve the code and add a way to customize strength of the vibrations, but I'm hoping someone could learn from this code and write do something useful with it.
Fork of https://github.com/araghon007/X1nput
- Launch X1nputConfigurator.exe
- Press Refresh. This may take a short while.
-
From the list, select the name of the game you want to use X1nput in and press Inject
-
Enjoy trigger rumble
-
You can unload X1nput from a game at any time by selecting the game and pressing Unload
- Press the Controller Setup menu option
- Untick the Automatic checkbox, select a controller from the list and press Test
- If your controller rumbles, press Use, otherwise try other controllers from the list
- If you want to use multiple controllers, tick the Multi-Controller Support
4a. Select a controller and press Test, to see if it's the one you're using
4b. Press Use 1-4 depending on which user index your controller is assigned. It should be the same as the player number in your selected game.
- Close the window and if X1nput is already injected in a game, select it in the main window and press Refresh
There are 2 ways to configure X1nput. Through X1nput Configurator, or manually using notepad. To configure X1nput through X1nput Configurator, do the following:
- Press the Configure menu option.
-
Here you can see a whole lot of variables which I won't explain here, but you can hover your mouse cursor over them to find out more.
-
Mess around, have fun and hit Save.
-
If X1nput is already injected in a game, select it and press Refresh
To manually modify the configuration file, find the X1nput.ini file and edit it with your text editor of choice. You can then manually move X1nput.ini to the folder of the game's executable. This can even allow for per-game configuration, as long as you disable Override Config in X1nput Configurator.
- The application doesn't start - Make sure you have .NET Framework 4.8 Runtime installed and that your Windows 10 installation is up-to-date
- I can't see a game in the list - Try running X1nputConfigurator as administrator. Alternatively you can use any injector, as long as you copy X1nput.ini to the game's folder.
- I can't feel trigger rumble on my controller - Try pressing the triggers while your controller is vibrating. If that does work, refer to Configuration. Otherwise press Refresh and make sure the game is under Injected. If it is, try Manual Controller Setup.
- My controller doesn't vibrate at all after injecting - Try using a different connection method, make sure you're using the right drivers or try updating your Windows 10
- X1nput doesn't get injected - Try using a different injector
Report any unexpected behavior by opening an Issue
- Open X1nput.sln using Visual Studio 2019 or higher
- Build the solution using AnyCPU, 32 and 64-bit X1nput DLLs should be automatically copied to the output folder