Change absolute and touch events to use mm as default unit
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 19 Jun 2014 01:30:21 +0000 (11:30 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 19 Jun 2014 03:38:15 +0000 (13:38 +1000)
commit21cf84a5801dc63932857574b81e5e79db10aed1
tree4877c4b534e939b5fb8ee93fe41950d27344e3f3
parent3a812385d1c21747508ca51634a48ebf2970b84c
Change absolute and touch events to use mm as default unit

Instead of device-specific coordinates that the caller can't interpret without
knowing the range anyway, return mm as the default value.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
src/evdev.h
src/libinput.c
src/libinput.h
tools/event-debug.c