[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 32/38] input: add input_mouse_mode tracepoint
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PULL 32/38] input: add input_mouse_mode tracepoint |
Date: |
Fri, 28 Feb 2014 15:06:43 +0100 |
Signed-off-by: Gerd Hoffmann <address@hidden>
---
trace-events | 1 +
ui/input.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/trace-events b/trace-events
index b1dd4d1..7238451 100644
--- a/trace-events
+++ b/trace-events
@@ -1027,6 +1027,7 @@ input_event_btn(int conidx, const char *btn, bool down)
"con %d, button %s, down
input_event_rel(int conidx, const char *axis, int value) "con %d, axis %s,
value %d"
input_event_abs(int conidx, const char *axis, int value) "con %d, axis %s,
value 0x%x"
input_event_sync(void) ""
+input_mouse_mode(int absolute) "absolute %d"
# hw/display/vmware_vga.c
vmware_value_read(uint32_t index, uint32_t value) "index %d, value 0x%x"
diff --git a/ui/input.c b/ui/input.c
index a32bcff..55449dc 100644
--- a/ui/input.c
+++ b/ui/input.c
@@ -291,6 +291,7 @@ void qemu_input_check_mode_change(void)
is_absolute = qemu_input_is_absolute();
if (is_absolute != current_is_absolute) {
+ trace_input_mouse_mode(is_absolute);
notifier_list_notify(&mouse_mode_notifiers, NULL);
}
--
1.8.3.1
- [Qemu-devel] [PULL 31/38] input: move mouse mode notifier to new core, (continued)
- [Qemu-devel] [PULL 31/38] input: move mouse mode notifier to new core, Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 29/38] input-legacy: remove kbd_mouse_is_absolute, Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 26/38] input: trace events, Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 30/38] input-legacy: remove kbd_mouse_event, Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 33/38] input: move qmp_query_mice to new core, Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 35/38] input: remove index_from_keycode (no users), Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 34/38] input: move do_mouse_set to new core, Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 24/38] input: keyboard: switch cocoa ui to new core, Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 28/38] input-legacy: remove kbd_mouse_has_absolute, Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 25/38] input: mouse: switch cocoa ui to new core, Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 32/38] input: add input_mouse_mode tracepoint,
Gerd Hoffmann <=
- [Qemu-devel] [PULL 38/38] ui/sdl2 : initial port to SDL 2.0 (v2.0), Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 37/38] console: add QemuUIInfo, Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 36/38] console: add head to index to qemu consoles., Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 02/38] input: rename file to legacy, Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 06/38] input: add core bits of the new input layer, Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 17/38] input: mouse: add qemu_input_is_absolute(), Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 20/38] input: mouse: switch sdl ui to new core, Gerd Hoffmann, 2014/02/28
- [Qemu-devel] [PULL 22/38] input: mouse: switch spice ui to new core, Gerd Hoffmann, 2014/02/28