summaryrefslogtreecommitdiff
path: root/tools/event-gui.c
AgeCommit message (Collapse)AuthorFilesLines
2014-07-22style fix: Remove duplicate empty linesPeter Hutterer1-1/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-07-22tools: always enable tapping in the event-gui programPeter Hutterer1-0/+9
This is a debugging tool, so the features to debug should be enabled by default. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2014-07-15tools/event-gui: Silence a couple of compiler warningsJonas Ådahl1-2/+2
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2014-07-03tools: fix touch/abs event coordinate transformation in event-guiPeter Hutterer1-6/+6
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-07-03tools: draw the circle for abs events in the right positionPeter Hutterer1-2/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-06-25Merge branch 'master' of git+ssh://git.freedesktop.org/git/wayland/libinputPeter Hutterer1-5/+5
2014-06-25Drop the deprecated LIBINPUT_POINTER_*_SCROLL enumsPeter Hutterer1-2/+2
We have enough API breakage in this release that it's not worth keeping these around. Every caller must be fixed for all the other stuff anyway, so drop this too. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-06-25Merge branch 'ref-counting-context'Peter Hutterer1-1/+1
Conflicts: src/udev-seat.c test/log.c
2014-06-25Make context reference countedJonas Ådahl1-1/+1
Instead of only allowing one owner keeping a libinput context alive, make context reference counted, replacing libinput_destroy() with libinput_unref() while adding another function libinput_ref(). Even though there might not be any current use cases, it doesn't mean we should hard code this usage model in the API. The old behaviour can be emulated by never calling libinput_ref() while replacing libinput_destroy() with libinput_unref(). Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-06-23event-gui: Don't drop fraction of pointer motion eventsJonas Ådahl1-5/+5
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2014-06-23udev: split libinput_udev context init into two functionsPeter Hutterer1-2/+2
This is preparation work for context-specific log handlers. Callers are now encouraged to first initialize the context with libinput_udev_create_context() and then set the seat for this context with libinput_udev_assign_seat(). In the upcoming patch to support context-specific log handlers this enables a caller to set the log handler for a context before any devices are initialized. Otherwise, a log message generated by a new device may pass a libinput context that the caller is not yet aware of. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2014-06-23tools: add a tool for GUI-based debuggingPeter Hutterer1-0/+474
Looking at debugging output is nice but not useful when testing for the feel of a device. Add a tool that presents a canvas and draws the various events onto it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>