Original Post
Hey Guys, Have a small issue with SDL. I am using SDL Keyboard events in my game. The player can move with the arrow keys, and shoot with the spacebar. If i keep the left arrow pressed, the player moves to the left, but if I press the right arrow next, the player stops moving and I need to press the right arrow again for the player to start moving to the right. Also for instance I want to keep moving forward and press the shooting key. But only one action will take place and not the other So what I am looking for is how to handle multiple key press in SDL? Thanks