I'm developing a SDL2 game framework on YT.
I have a demo game which is basically pong with extra steps.
My problem is that if player "wasd" is holding a button down and player "arrows" then holds three keys (left, up, right), player wasd loses control of their key presses. (So arrows not only can cheat, but it's an easy enough combo that it might be done by accident)
I think the problem lies with the spamming of the held-down keys overloading the keysym buffer.
The game only needs to capture initial keydown-keyup. Is there a way to ignore spamming of the held down key on polling event, and maybe then capture more initial presses?
In github the game is in demo->pong
https://github.com/Michael-LightGameFramework/LightGameFrameworkSDL2
(Edit: Now I've tested the game on my laptop, and notice that any keydown held will also freeze the touch-pad mouse. All my machines are Fedora-Linux at this point, so I don't know how Windoze or Mac might handle things, this might be a drivers issue.)
(Edit2: Yep, if I open a non-related text editor in Fedora and hold left-up-right, then I lose all ability to type any other keys. Weird. Definitely an OS issue. Well, that stinks for wasd multiplayer gaming. Anyone else experiencing this? I don't have the time or know-how in order to submit a bug report...)