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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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 <[email protected]>                             -o)
 [ICQ: 160767607 | Jabber: [email protected]]                /\\
 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-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux