Hi,
let’s say the X key performs action 1 and I have another action (action 2) with it’s binding being a modifier (shift + X) and then I press shift + X, that ends up performing both action 1 and action 2.
I know this is a limitation that hasn’t been addressed yet in the new input system but do you guys have any workaround for this situation?
Thanks for the reply Sam, I actually tried the first approach as it is simpler but for some reason (I’m gonna use your example to illustrate) OnXInput() runs before OnShiftDown() so I end up with the normal button pressed before the modifier can alter the boolean
I tried multiple settings and none of them worked (except the one I attached in the image). I got it working by adding a hold interaction on the single button (W) but that only worked with Pass Through action type when I tried Button action type it only worked the first time after I pressed the play button then it stopped.
ah, does that mean you’ve been able to fix the problem? I’m not sure what else you could try other than listing both Shift and W as separate actions, but it sounds like you might run into that ‘Pass Through’ vs ‘Button’ issue again
yes the problem is gone now. also listing both keys as separate actions will also be a viable solution.
thanks for your fast replies and help it’s much appreciated.