Hello Unreal community !
I’m trying to work with Enhanced Input Actions and gamepad, but I’m facing a situation in which I can’t make inputs work the way I want.
Here’s what I’m trying to achieve :
In my game I control a first person character, and I can use the mouse to look arround, or the keyboard arrows to look arround more precisely (by using a scalar Modifier on arrow inputs).
At the moment, I’m working on making my project compatible with gamepad controllers, and to handle my various inputs, I decided to use key combinations : in this case, right thumbstick to look arround, and left trigger + right thumbstick for precise look. From what I’ve seen arround on the internet, they key is to use Chorded Actions, so I tried this way :
My InputIA_mod is defined in an other Input Mapping Context, and added to my controller with an higher priority :
The problem is, it seems my “precise look” action is never triggered on gamepad. I found a workarround way by creating a new input action, and defining the chorded action trigger in this new action, but that means creating a new mapping in the mapping context, handling an extra input event…
Is there something I’m getting wrong here, or is this the way to do ?
Thanks in advance !