From 0e198a87991d99a0b76a24ad1118c0ca7b344f49 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 5 Apr 2022 15:03:18 -0700 Subject: [PATCH] Added a define VERBOSE_MOTION_EVENTS to show mouse and finger motion events --- src/test/SDL_test_common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/SDL_test_common.c b/src/test/SDL_test_common.c index 48c6c72f0..93a0e7c74 100644 --- a/src/test/SDL_test_common.c +++ b/src/test/SDL_test_common.c @@ -1464,10 +1464,12 @@ default: return "???"; static void SDLTest_PrintEvent(SDL_Event * event) { +#ifndef VERBOSE_MOTION_EVENTS if ((event->type == SDL_MOUSEMOTION) || (event->type == SDL_FINGERMOTION)) { /* Mouse and finger motion are really spammy */ return; } +#endif switch (event->type) { case SDL_DISPLAYEVENT: