Am Mittwoch, den 23.02.2011, 19:56 +0100 schrieb Peter van de Werken: > On Wed, Feb 23, 2011 at 06:01:09PM +0100, Michael 'Mickey' Lauer wrote: > > I have applied everything, but wonder a bit about 09/11. The idea of > > the one second timeout was to prevent flooding the system with > > orientation messages while the device was being turned around -- based > > on the assumption that it's confusing when the display starts catching > > up with the orientation while the user obviously hasn't stopped > > messing around with it. > Initially I found that I never got an orientation changed signal because > of that 1 sec timer. Thinking about it again, it probably kept being > reset due to the lis302 threshold being set too low. > > By raising the lis302 duration, and using a deadzone I didn't see a need > to reduce the number of signals further. But you raise a good point, it > is probably better to wait a bit for the orientation to settle before > sending a signal. Attached is a patch that adds the timeout back.
Applied, thanks again! :M: _______________________________________________ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland