ui: drop unused MOUSE_EVENT_WHEEL{UP, DN} defines
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.
Signed-off-by Gerd Hoffmann <[email protected]>
--- include/ui/console.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
include/ui/console.h +1 -4
@@ -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