Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

Lenz Grimmer
2005-07-04T19:27:37Z

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Aaron Cohen wrote:

> Can't the accelerometer be used as an input device in addition to just
> being a "about to fall detector?"

Yes, it can - the kernel driver just prints the data taken from the
accelerometer. It's up to another application to make sense out of this.
One purpose would be the mentioned "fall detector" that would then
instruct the disk drive to part its head.

> I seem to remember games where the the input method involved tilting
> the device in the direction you want a marble to roll or something
> like that.

Correct, that would be one option. Mark Smith (they IBM guy who wrote up
the information required to write the kernel module) actually mentioned
he had patched SDL to support the accelerometer as an input device.

Playing "Neverball" by tilting your Laptop sounds like fun :)

Bye,
LenZ
- --
- ------------------------------------------------------------------
Lenz Grimmer <lenz@grimmer.com> -o)
[ICQ: 160767607 | Jabber: LenZGr@jabber.org] /\\
http://www.lenzg.org/ V_V
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCyY20SVDhKrJykfIRAjo/AJ0dyN0GXE7U5H3+updjuMKALoHlXQCdExrA
FwgCv2ELKCc9cC0M47E5B+w=
=pigJ
-----END PGP SIGNATURE-----