Quote:
Originally Posted by boskyout
In the first spoiler, why it showed "info X:makexconfig:Accelerometer device: N/A !!:" I remembered that yifanlu once said that KT has the Accelerometer device, what does it exactly mean?
|
I was wondering that same thing, and I posted that question to the IRC channel.
Not only does the touch have a accelerometer, but it is enabled, and you can see the live accelerometer data stream with:
.hd /dev/input/event3
.
Here is some sample output from the above command when I shook my Kindle Touch from top-to-bottom and from side-to-side (velocity sensing), and with it held in front of me by rotating it sideways past 45-degree angles (gravity sensing):
"Shake mode" could be used (with appropriate software) to skip forward and backward in a media playlist, and probably has other great uses limited only by your imagination. Perhaps it could participate in the global earthquake detector network, for example.
"Gravity sensing" mode could be used to rotate the screen between portrait and landscape mode just like in the Kindles DX Graphite. Unless a way can be found to acquire accelerometer data events besides crossing 45-degree boundaries, it cannot yet be used for some of the fancy things like you can do with an android device or an ipad.
You can also read the
touchscreen with:
.hd /dev/input/event4
.
This datastream contains events defined in GPL source code. It supports sensing the position of one or two fingers. Here is sample output for moving one and two fingers:
There are other input devices as well, including the home button. These input device commands only output data while an event is happening. The data streams begin with a timestamp so that velocity and acceleration can be determined, which is great for gesture recognition and handwriting analysis on the touchscreen.
Due to the coarse nature of the IR elements in the touchscreen, you need a fat stylus for handwriting. The fat end of a round chopstick from a Chinese restaurant works well as a stylus, when held perpendicular to the screen. The thin end does not work reliably.
Enjoy playing with your new toy!