I bought an Xbox One controller not so long ago and found out about a cool feature they have. Impulse Triggers.
I tried to find a way to get that feature to work in any game with force feedback, and I did with X1nput, but I also wanted to make a plugin for UE4 that would allow developers to add that feature into their games directly.
There is an API in Windows 10 called Windows.Input.Gaming which promises better support for newer controllers, faster API response time and a higher amount of controllers being used simultaneously.
I’ve been fiddling around with c++ for too long and found out it’s quite frustrating. So here it is in Blueprint form.
This plugin so far only adds support for controller vibration, but I’m planning to add full Windows.Gaming.Input support later on. I just need to figure out how to make Input Plugins first.
**Anyway, here’s the link: **GitHub - araghon007/UE4_WindowsGamingInput: Windows.Gaming.Input API support for UE4
And** example usage:**
Currently only supports Windows 10. The plugin was created on Unreal Engine 4.22.
Edit: fixed images.