Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
Tested-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Benoit Gschwind <gschwind@gnu-log.net>
Tested-by: Benoit Gschwind <gschwind@gnu-log.net>
const char *axis_source;
struct eventdemo *e = data;
+ if (!log_axis)
+ return;
+
e->print_pointer_frame = true;
switch (source) {
{
struct eventdemo *e = data;
+ if (!log_axis)
+ return;
+
e->print_pointer_frame = true;
printf("axis stop time: %d, axis: %s\n",
time,
{
struct eventdemo *e = data;
+ if (!log_axis)
+ return;
+
e->print_pointer_frame = true;
printf("axis discrete axis: %d value: %d\n", axis, discrete);
}