linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IIO_GESTURE proposal
@ 2015-06-02  4:35 Matt Ranostay
  2015-06-02 18:28 ` Jonathan Cameron
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Ranostay @ 2015-06-02  4:35 UTC (permalink / raw)
  To: Jonathan Cameron, linux-iio@vger.kernel.org

Jonathan,

So I am currently planning on implementing a driver for the Avago
APDS-9960 that has the typical ALS, RGBC, and proximity sensor
components. But this part has a gesture function that uses 4 IR
photodiodes aligned in a grid of UP-DOWN-LEFT-RIGHT that detect IR
light reflection off an object, and in turn reports back the direction
a hand or similar would make over the sensor.

Now the data that is reported back is the intensity of each of the 4
LEDs (UPLR) which then userspace can compute the velocity, and
direction of the gesture. My question should some thing like this be
using 4 IIO_INTENSITY channels or just one 32-bit value and new type
of IIO_GESTURE?

Datasheet -> https://cdn.sparkfun.com/datasheets/Sensors/Proximity/apds9960.pdf


Thanks,

Matt Ranostay

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-07 15:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-02  4:35 IIO_GESTURE proposal Matt Ranostay
2015-06-02 18:28 ` Jonathan Cameron
2015-06-03  5:20   ` Matt Ranostay
2015-06-04 16:44     ` Matt Ranostay
2015-06-07 15:43       ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).