Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested?(Userspace accelerometer viewer)

From: Dave Hansen
Date: Mon Jul 11 2005 - 12:01:10 EST


On Mon, 2005-07-11 at 15:26 +0100, Alan Cox wrote:
> On Llu, 2005-07-11 at 10:42, Paul Sladen wrote:
> > theta = (N - 512) * 0.5
> >
> > provides a surprisingly good approximation for pitch/roll values in degrees
> > in the range (-90..+90) so I think the sensor can do ~= +/-2.5G .
> >
> > http://www.paul.sladen.org/thinkpad-r31/aps/accelerometer-screenshot.png (9kB)
>
> Is the quality good enough to use it DEC itsy style as an input device
> for games like Marble madness ?

I was using it as a mouse as I tested interfacing it as an input device.
It could use some fine tuning, but it worked well enough for me to
navigate over to some icons. Should be fine for games like that.

-- Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/