Skip to contentSkip to conversation

ui: drop unused MOUSE_EVENT_WHEEL{UP, DN} defines

PATCH New Gerd Hoffmann 1 participant 1 message Nov 29, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ui: drop unused MOUSE_EVENT_WHEEL{UP, DN} defines

Also update comment to make clear this
is for legacy mouse emulation only.

---
 include/ui/console.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
include/ui/console.h +1 -4
index e2589e2..718e5cb 100644
@@ -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)
Signature · 1 line
1.8.3.1