[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] ui: drop unused MOUSE_EVENT_WHEEL{UP, DN} defines
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH] ui: drop unused MOUSE_EVENT_WHEEL{UP, DN} defines |
Date: |
Tue, 29 Nov 2016 09:53:52 +0100 |
Also update comment to make clear this
is for legacy mouse emulation only.
Signed-off-by: Gerd Hoffmann <address@hidden>
---
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] ui: drop unused MOUSE_EVENT_WHEEL{UP, DN} defines,
Gerd Hoffmann <=