From: Andrea Merello Date: Wed, 7 Sep 2022 13:21:57 +0000 (+0200) Subject: iio: event_monitor: add pitch, yaw and roll modifiers X-Git-Tag: v6.6.17~6447^2~25^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab9d343da3a43c8e28c6341cbf7fd30b6bc42664;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Andy Shevchenko Link: https://lore.kernel.org/r/20220907132205.28021-7-andrea.merello@iit.it Signed-off-by: Jonathan Cameron --- diff --git a/tools/iio/iio_event_monitor.c b/tools/iio/iio_event_monitor.c index f88ffdc..0a5c2bb 100644 --- a/tools/iio/iio_event_monitor.c +++ b/tools/iio/iio_event_monitor.c @@ -128,6 +128,9 @@ static const char * const iio_modifier_names[] = { [IIO_MOD_LINEAR_X] = "linear_x", [IIO_MOD_LINEAR_Y] = "linear_y", [IIO_MOD_LINEAR_Z] = "linear_z", + [IIO_MOD_PITCH] = "pitch", + [IIO_MOD_YAW] = "yaw", + [IIO_MOD_ROLL] = "roll", }; static bool event_is_known(struct iio_event_data *event)