Re: [PATCH 0/4] Input: ABS2 and friends
flat view
From: David Herrmann <hidden>
Date: 2013-12-18 08:12:47
Also in:
lkml
Hi On Tue, Dec 17, 2013 at 10:28 PM, [off-list ref] wrote:
quoted
Hi This implements the recently discussed ABS2 API. It's working fine on my machine with libevdev. Comments welcome!Just looking at the documentation file, I have a couple of suggestions. 1). Make a note on the direction of gravity wrt the example image. Ie what which axis/value will be positive with the device laid flat/stationary on a desk. Might just prevent some confusion later.
Yepp, can add that to the Accelerometer section.
2). Calibration, Accels and Gyros are noisy in different ways. Gyros tend to be wrong in the long term, giving some consistant bias which should be calibrated out. Accels are noisy in the short term, but generally right over a long period.
I'm not entirely sure where to put calibration/normalization. Letting user-space deal with that should simplify things a lot. We could even add it to libevdev. Comments welcome..
Am I correct that the event framework will provide time-stamping of data, thus making computation of relative movements possible.
Yes, part of the evdev API. Thanks David