[SDL] is there a way to reassign a SDL2 source value in a program?

Dominus domiman at gmail.com
Tue Sep 6 14:32:03 PDT 2016


Ryan C. Gordon wrote:
> On 9/4/16 5:39 AM, Dominus wrote:
> 
> > I'm wondering whether it is possible to reassign
> > SDL_double_click_radius another value. On our iOS app a bigger radius
> > works a bit better but it can only be done by changing the SDL2 source.
> > Can this be done in the program's source?
> > 
> 
> Not at the moment, but we could add a hint for this.
> 
> That being said: a double-click radius of 1 pixel seems deeply 
> unforgiving to me, so we should probably increase this in any case. What 
> value works well for your app?
> 

A hint would be nice. We currently use 5 but that is probably a bit excessive, 3 might be a good default.
Though Alex makes a good point:

Alex Szpakowski 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.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20160906/c6d29a87/attachment.htm>


More information about the SDL mailing list