Hi,
I’m working on the game in which player often holds down around 4 buttons at the time (movement along x-axis, movement along y-axis, rotation, action).
To avoid constantly reading keyDown, I’m holding their states in bools. Here is the screenshot of that (rather simple) setup.
THE PROBLEM: When I’m holding down 2 key, e.g. ‘d’ and ‘e’, clicking down 3rd key, e.g. ‘w’ is not recognized. However it works fine on its own.
Some combinations of 3 keys seem to be working too, but they are minority. More examples:
Hold ‘d’ and ‘e’, click ‘2’ = works
Hold ‘w’ and ‘e’, click ‘2’ = doesn’t work
Hold ‘a’ and ‘w’, click ‘q’ = doesn’t work
Hold ‘a’ and ‘w’, click ‘e’ = works
UPDATE: Anticipating some answers, I redone input from ActionMappings to InputAxis - the problem persists with exactly same behavior. https://imgur.com/y4fzOsx.png
UPDATE2: Apparently it’s a keyboard issue. I downloaded utility to show keys pressed (ShowOff – Skrommel's One Hour Software) - some combinations of 3 keys work while others do not. This explanation was suggested by /u/avik244.