• Peter Hutterer's avatar
    tablet: add support for relative x/y motion deltas · 108a191a
    Peter Hutterer authored
    Instead of an explicit tablet mode that device must be changed into, let the
    caller decide which coordinates are preferred. The tablet mode may be
    application-specific and usually depends on the tool as well.
    This patch adds an interface to get a motion delta for the x/y axes in
    pixel-like coordinates. libinput provides some magic to convert the tablet
    data into something that resembles pixels from a mouse motion.
    For unaccelerated relative motion, the caller should use the mm values from
    the tablet and calculate deltas manually.
    Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
    Acked-by: Jason Gerecke's avatarJason Gerecke <jason.gerecke@wacom.com>
normalization-of-relative-motion.dox 3.27 KB