Re: is there a way to reassign a SDL2 source value in a program?
Eric Wing <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <CA+Q62MCa0SVy+033dY-PjhH-SfawWSrvaaKGORzammDAMNLsPg@mail.gmail.com> |
Is this problem related to why Android always returns 1 for the click count? On 9/6/16, Alex Szpakowski <[email protected]> wrote: > iOS also provides a UITouch.tapCount property (“the number of times the user > tapped their fingers on a certain point within a predefined period”), which > is not used by SDL at all but would be exactly what I expect to be exposed > by the SDL mouse event clicks field. > >> >> That said… I think it should actually just use what the OS considers to be >> a double-click (when the OS provides that information), similarly to how >> key repeat works right now. Double-click speed on desktops is typically a >> user-exposed system wide setting, so I feel like SDL’s APIs should expose >> that information rather than doing something that a developer using SDL >> can do on their own. >> FWIW, for Mac, NSEvent provides clickCount. Thanks, Eric _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org