Quote:
Originally Posted by sptrks
Not sure if it toggles the accelerometer. It has fixed the problem of no events on /dev/input/event3.
|
/dev/input/event3 *IS* the accelerometer. Without checking into the details, perhaps yifanlu enables the accelerometer in his ";un" command.
Quote:
Originally Posted by mc2739
|
Thanks! I could not find it when I looked for it.
For some reason, the accelerometer is already enabled on my touch. But then I did use the ;un command in the past, so that could explain it.
Code that uses the accelerometer should enable it first. It is tempting to disable it again when done using it, but that might break other programs that also use the accelerometer.