Input processing performance I'm building a game using SDL in Linux platform. Now I want to read user input with SDL GetKeyboardState, but my doubt is wich is the best way using a thread or a timer. I tried both and I think they work well.