diff options
author | Andrea Merello <andrea.merello@iit.it> | 2022-09-07 15:21:55 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-09-21 18:42:55 +0100 |
commit | dcedf14553810cd6bbf7227c995beb4548e0859d (patch) | |
tree | 26623de4daf51142040fa95d7cd2bf030d0dbb2d /include/uapi/linux/iio | |
parent | iio: event_monitor: add linear acceleration modifiers (diff) | |
download | linux-dev-dcedf14553810cd6bbf7227c995beb4548e0859d.tar.xz linux-dev-dcedf14553810cd6bbf7227c995beb4548e0859d.zip |
iio: add modifers for pitch, yaw, roll
Add modifiers for reporting rotations as euler angles (i.e. yaw, pitch and
roll).
Signed-off-by: Andrea Merello <andrea.merello@iit.it>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220907132205.28021-5-andrea.merello@iit.it
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/uapi/linux/iio')
-rw-r--r-- | include/uapi/linux/iio/types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/iio/types.h b/include/uapi/linux/iio/types.h index b7ba9861a24d..c79f2f046a0b 100644 --- a/include/uapi/linux/iio/types.h +++ b/include/uapi/linux/iio/types.h @@ -98,6 +98,9 @@ enum iio_modifier { IIO_MOD_LINEAR_X, IIO_MOD_LINEAR_Y, IIO_MOD_LINEAR_Z, + IIO_MOD_PITCH, + IIO_MOD_YAW, + IIO_MOD_ROLL, }; enum iio_event_type { |