From f22d0af076b159426c50a7a76ce2a42b8de95b52 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 12 Jan 2016 12:14:12 +0100 Subject: qapi: rename input buttons All lowercase, use-dash instead of CamelCase. Signed-off-by: Gerd Hoffmann Reviewed-by: Daniel P. Berrange Reviewed-by: Markus Armbruster Reviewed-by: Eric Blake --- ui/sdl2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/sdl2.c') diff --git a/ui/sdl2.c b/ui/sdl2.c index e0128ad755..d0424421ec 100644 --- a/ui/sdl2.c +++ b/ui/sdl2.c @@ -509,9 +509,9 @@ static void handle_mousewheel(SDL_Event *ev) InputButton btn; if (wev->y > 0) { - btn = INPUT_BUTTON_WHEELUP; + btn = INPUT_BUTTON_WHEEL_UP; } else if (wev->y < 0) { - btn = INPUT_BUTTON_WHEELDOWN; + btn = INPUT_BUTTON_WHEEL_DOWN; } else { return; } -- cgit v1.2.3-55-g7522