Skip to content
Permalink
Browse files

include: sensor: Add position change channel

This would be used for motion sensors.

Signed-off-by: Pawel Dunaj <pawel.dunaj@nordicsemi.no>
  • Loading branch information...
pdunaj authored and MaureenHelm committed May 28, 2019
1 parent eb97fea commit 9367161a09c8c1c55db1026942c1cd6605b454e3
Showing with 7 additions and 0 deletions.
  1. +7 −0 include/sensor.h
@@ -125,6 +125,13 @@ enum sensor_channel {
/** Angular rotation, in degrees */
SENSOR_CHAN_ROTATION,

/** Position change on the X axis, in points. */
SENSOR_CHAN_POS_DX,
/** Position change on the Y axis, in points. */
SENSOR_CHAN_POS_DY,
/** Position change on the Z axis, in points. */
SENSOR_CHAN_POS_DZ,

/** All channels. */
SENSOR_CHAN_ALL,
};

0 comments on commit 9367161

Please sign in to comment.
You can’t perform that action at this time.