Re: [Pipmak-Devel] another way of measuring the mouse speed
Status: Alpha
Brought to you by:
cwalther
From: Aidan G. <wgs...@ih...> - 2008-01-16 03:55:24
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Hmmm, I've just discovered a... well, bug really, which I didn't notice when I wrote this last message. If I move the mouse when Pipmak is launching, then for the rest of that Pipmak session, it is impossible to get the mouse out of the window, even WITH the zero threshold. I have no idea where to start looking for the cause of this one. Do you?<br> <br> -Aidan<br> <br> I wrote: <blockquote cite="mid:478...@ih..." type="cite"> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> I applied the patch, and it works perfectly fine on my system. I also added a printf() just after each call to SDL_WM_GrabInput, so I could confirm that Pipmak was grabbing and releasing the mouse when it should. And yes, I do like that behaviour. So if that's that, then...<br> <br> Is anyone working on the bug with mouse clicks during transitions? If not, then where could I start on that one? I know where the event handling case statement is for mouse clicks (at least, I think it's near the one for mouse motion events), but where is the code for display transitions?<br> <br> -Aidan<br> <br> Christian Walther wrote: <blockquote cite="mid:fmdq2i$n1m$2...@ge..." type="cite">I wrote: <br> <blockquote type="cite">Come to think of it, we could probably use a threshold of 0. After all, the goal is not "reach the edge without triggering an ungrab", but "reach the edge, period". If we can make the grabbing transparent to the user, all the better. Have to try that on Windows and Linux... <br> </blockquote> <br> OK, I just checked: <br> <br> - I don't have any problems ungrabbing with the existing code on Linux (that doesn't mean that there is no problem, of course, but it explains why I haven't noticed and fixed it before). <br> <br> - The zero threshold solution seems to work quite well on Windows and Linux. You can't slide the Pipmak cursor along the window edge anymore, but I'm not sure that's necessary. Can you try the attached patch and see if you like that behavior? <br> <br> -Christian <br> <pre wrap=""><pre wrap=""><hr size="4" width="90%"> ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace">http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace</a></pre><pre wrap=""><hr size="4" width="90%"> _______________________________________________ Pipmak-Devel mailing list <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Pip...@li...">Pip...@li...</a> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="news://news.gmane.org/gmane.games.devel.pipmak.devel">news://news.gmane.org/gmane.games.devel.pipmak.devel</a> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/pipmak-devel">https://lists.sourceforge.net/lists/listinfo/pipmak-devel</a></pre></pre> </blockquote> <pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. <a class="moz-txt-link-freetext" href="http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace">http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace</a></pre> <pre wrap=""> <hr size="4" width="90%"> _______________________________________________ Pipmak-Devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:Pip...@li...">Pip...@li...</a> <a class="moz-txt-link-freetext" href="news://news.gmane.org/gmane.games.devel.pipmak.devel">news://news.gmane.org/gmane.games.devel.pipmak.devel</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/pipmak-devel">https://lists.sourceforge.net/lists/listinfo/pipmak-devel</a></pre> </blockquote> </body> </html> |