Multiple Keypresses

I’m polling the keyboard each frame. I notice that it does not support more than a single key press at a time. For example, W moves forward, A strafes left, I cannot move forward and strafe left at the same time. Any remedies?

Thanks

uhm… you’re doing something wrong then - works fine here! show the code…

Matzon: You telling me it was my fault was enough. :stuck_out_tongue: I looked further into my code, and saw that I was using else if’s instead of just if’s, so it would see one input and skip checking the rest.

hehe :slight_smile:

btw there are always some combinations wich doesnt work. wich keys can be pressed together depends on the keyboard matrix.

on cherry keyboards it’s usually impossible to press left+up+space.

well that wasnt the issue here but i thought i should point that out in case someone else stumbles upon this glitch :>