* [Qemu-devel] [PATCH] ui: drop unused MOUSE_EVENT_WHEEL{UP, DN} defines
@ 2016-11-29 8:53 Gerd Hoffmann
0 siblings, 0 replies; only message in thread
From: Gerd Hoffmann @ 2016-11-29 8:53 UTC (permalink / raw)
To: qemu-devel; +Cc: Gerd Hoffmann
Also update comment to make clear this
is for legacy mouse emulation only.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
include/ui/console.h | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/include/ui/console.h b/include/ui/console.h
index e2589e2..718e5cb 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -13,13 +13,10 @@
# include <epoxy/gl.h>
#endif
-/* keyboard/mouse support */
-
+/* mouse buttons, used by legacy handlers (qemu_add_mouse_event_handler) */
#define MOUSE_EVENT_LBUTTON 0x01
#define MOUSE_EVENT_RBUTTON 0x02
#define MOUSE_EVENT_MBUTTON 0x04
-#define MOUSE_EVENT_WHEELUP 0x08
-#define MOUSE_EVENT_WHEELDN 0x10
/* identical to the ps/2 keyboard bits */
#define QEMU_SCROLL_LOCK_LED (1 << 0)
--
1.8.3.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-11-29 8:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-29 8:53 [Qemu-devel] [PATCH] ui: drop unused MOUSE_EVENT_WHEEL{UP, DN} defines Gerd Hoffmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.