Original Post
What is the best approach to test whether the left mouse button has been held down and not just clicked?
I am using SDL, specificaly the SDL_PollEvent() function to test for click, so should I just keep track of the time, then compare it to a pre-defined interval constant and then check for the same event?
I am using SDL, specificaly the SDL_PollEvent() function to test for click, so should I just keep track of the time, then compare it to a pre-defined interval constant and then check for the same event?