[SDL] Double Click
Peter Ketting
peterketting at sysmatrix.net
Sun May 6 00:26:14 PDT 2007
<snip>
> You asked for an easy way and got one from Peter. In practice the
> problems start as soon as your render loop gets heavy load and takes
> longer than a double click, in which case you can't detect the double
> clicks anymore.
Maybe if you recorded how many ticks it took to render and re-calibrate the
maximum number of ticks allowed between clicks for it to be a double-click?
Probably not an ideal solution, but it just might work.
Cheers,
Peter
More information about the SDL
mailing list