summaryrefslogtreecommitdiffstats
path: root/ui/spice-input.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-01-12 12:14:12 +0100
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:46:50 -0600
commit5deb0433931d623f12e6bd8a7e3ce21872070465 (patch)
treea8087a98f2a904ba2459eda657d61b57b7391f79 /ui/spice-input.c
parentbfa70434e8e217b801abae2d69155e70e1d71a32 (diff)
downloadhqemu-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/spice-input.c')
-rw-r--r--ui/spice-input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/spice-input.c b/ui/spice-input.c
index 72e4063..8eeebdb 100644
--- a/ui/spice-input.c
+++ b/ui/spice-input.c
@@ -108,8 +108,8 @@ static void spice_update_buttons(QemuSpicePointer *pointer,
[INPUT_BUTTON_LEFT] = 0x01,
[INPUT_BUTTON_MIDDLE] = 0x04,
[INPUT_BUTTON_RIGHT] = 0x02,
- [INPUT_BUTTON_WHEELUP] = 0x10,
- [INPUT_BUTTON_WHEELDOWN] = 0x20,
+ [INPUT_BUTTON_WHEEL_UP] = 0x10,
+ [INPUT_BUTTON_WHEEL_DOWN] = 0x20,
};
if (wheel < 0) {
OpenPOWER on IntegriCloud