Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio: event_monitor: add pitch, yaw and roll modifiers

Following the introduction of pitch, yaw and roll IIO modifiers, update the
event_monitor tool accordingly.

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-7-andrea.merello@iit.it
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Andrea Merello and committed by
Jonathan Cameron
ab9d343d 246d178c

+3
+3
tools/iio/iio_event_monitor.c
··· 128 128 [IIO_MOD_LINEAR_X] = "linear_x", 129 129 [IIO_MOD_LINEAR_Y] = "linear_y", 130 130 [IIO_MOD_LINEAR_Z] = "linear_z", 131 + [IIO_MOD_PITCH] = "pitch", 132 + [IIO_MOD_YAW] = "yaw", 133 + [IIO_MOD_ROLL] = "roll", 131 134 }; 132 135 133 136 static bool event_is_known(struct iio_event_data *event)