Commit ab9d343d authored by Andrea Merello's avatar Andrea Merello Committed by Jonathan Cameron
Browse files

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: default avatarAndrea Merello <andrea.merello@iit.it>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220907132205.28021-7-andrea.merello@iit.it


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 246d178c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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)