Quote:Original post by Evil Steve
Sounds reasonable. Although personally I'd just use window messages and keep track of keys and buttons as they're pressed and as the mouse is moved. Pretty much the same as you have now though.
However I can't use windows messages because I'm using SDL. SDL has its own version of mouse/keyboard input control but it is buggy depending on your input settings in SDL.
Secondly I don't want to use it, especially for mouse input, since the overhead of windows constantly spamming WM_MOUSEMOVE messages is greater than a simple GetCursorPos() every tick of the game.
Thanks for the suggestions though.