Tag Info

New answers tagged

0

SDL2 is intended to deliver all these events, not to block one while another is active. SDL2 does deliver keyboard repeats. I use almost the same code, and I see repeated keys, but also mouse movement events interspersed. You could filter out keyboard repeats by doing } else if (event.type == SDL_KEYDOWN) { if(event.key.repeat == 0) { ...


-1

Something for recent inquisitions, this is still in beta and works pretty well. Get the free beta download here: http://pluralinput.com/



Top 50 recent answers are included