diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-01-12 12:14:12 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:46:50 -0600 |
commit | 5deb0433931d623f12e6bd8a7e3ce21872070465 (patch) | |
tree | a8087a98f2a904ba2459eda657d61b57b7391f79 /ui/sdl2.c | |
parent | bfa70434e8e217b801abae2d69155e70e1d71a32 (diff) | |
download | hqemu-5deb0433931d623f12e6bd8a7e3ce21872070465.zip hqemu-5deb0433931d623f12e6bd8a7e3ce21872070465.tar.gz |
qapi: rename input buttons
All lowercase, use-dash instead of CamelCase.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'ui/sdl2.c')
-rw-r--r-- | ui/sdl2.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |