About OpenMoko Rotate

Rui Miguel Silva Seabra rms at 1407.org
Sat Sep 20 11:11:32 CEST 2008


I didn't touch that part yet, it's buggy but not an easy win :)

As for sexy morphs... wouldn't that probably have to be done at xrandr
level?

If the original author (or someone else) doesn't get to it first, I'll
try to improve the tilt sensibility.

Rui

On Sat, Sep 20, 2008 at 02:50:44AM +0100, Vasco Névoa wrote:
> That's very cool. I appreciate the mod. :)
> I'm seeing something that looks like a bug (in both versions)... but I'm 
> not sure if the accelerometers require calibration or something.
> With the FR in vertical position, if I tilt it counter-clockwise, it 
> takes just over 90 degrees to get 'accel-rotate' to change the 
> orientation; but if I tilt it even less than 10 degrees clockwise after 
> that, it reverts back to the original orientation.
> Shouldn't the threshold be set at the midpoint angles (45, 135, 225, 315 
> degrees)?
> Anyway, good work to both coders, it's just what I wanted. :D
> Maybe someone cares to extend this simple app to use some kind of sexy 
> morph instead of the disruptive xrandr rotation? 8-)
> 
> Rui Miguel Silva Seabra wrote:
> > Done. I've added a reference to it at http://wiki.openmoko.org/wiki/Rotate
> > but my page about it is at
> > http://blog.1407.org/2008/09/20/openmoko-rotate-now-using-libxrandr/
> >
> > Users of Rotate, I've patched it so it doesn't use system+xrandr but
> > simply call directly the xrandr function using libxrandr.
> >
> > This means:
> >  * quicker
> >  * less battery consumption
> >
> > Best,
> > Rui
> >
> > On Fri, Sep 19, 2008 at 10:13:29AM +0100, Rui Miguel Silva Seabra wrote:
> >   
> >> Hi,
> >>
> >> I'm preparing a patch for using xrandr api directly in Rotate instead of
> >> system(). It's almost done but I can only code it at home time (which, for
> >> me, starts again in about 9 hours) :)
> >>
> >> This will be much better in terms of speed and battery life!
> >>
> >> Best,
> >> Rui
> >>     
> >
> >   
> 
> 
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

-- 
Or not.
Today is Pungenday, the 44th day of Bureaucracy in the YOLD 3174
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?




More information about the community mailing list