[Pipmak-Devel] another way of measuring the mouse speed
Status: Alpha
Brought to you by:
cwalther
From: Aidan G. <wgs...@ih...> - 2008-01-10 03:15:26
|
Hello again, My father (who is much more experienced in C, and programming in general than I am), and I have come up with another way of measuring the rate at which the mouse hits the edge of the window in Pipmak. I won't bore you with all the details, but we measure the time between mouse events, and then use that to calculate the speed of the mouse, and use THAT to decide if the mouse should be ungrabbed. The code for regrabbing the mouse is still the same though. This will, of course, need to be tested on at least one other system, before it could be considered for the next official release of Pipmak. But before I generate a patch, I want to know if you have a set of rules for indentation of the Pipmak code, that I could use with the program "indent" to make sure the indentation in the patch is consistent with the existing code. If emacs (the text editor I use) had a pre-defined indentation style that matched the Pipmak source, then I would have used that when editing the code, but, unfortunately, it didn't. And by the way, where did Pipmak get its name from? Regards, Aidan |