Double click event

Some simple suggestion: can we add a double click event? I know it can
be faked by just comparing the delay between two clicks, but the
problem is that this would not follow whatever maximum delay was
specified in the system settings. A double click event would make use
of such a limit instead.

Any thoughts?

Some simple suggestion: can we add a double click event? I know it can
be faked by just comparing the delay between two clicks, but the
problem is that this would not follow whatever maximum delay was
specified in the system settings. A double click event would make use
of such a limit instead.

I think this is a good idea, and it’s something that I’ve had to fake on a few games.

Fwiw, Windows and Cocoa both have a built-in “double-click” event of some sort. X11 doesn’t, but we could fake it there.

Someone put it in Bugzilla, please.

–ryan.On Oct 21, 2012, at 4:04 AM, Sik the hedgehog <sik.the.hedgehog at gmail.com> wrote:

Someone put it in Bugzilla, please.

http://bugzilla.libsdl.org/show_bug.cgi?id=1625

If this should be “API change” instead of “enhancement” feel free to
fix it, I’m still not too accustomed to SDL’s bugzilla :confused: