[PATCH libinput] tablet: make the cursor/lens tool behave like a 1000dpi mouse

Carlos Garnacho carlosg at gnome.org
Tue Jun 28 00:42:16 UTC 2016


Hi!,

On Mon, Jun 27, 2016 at 6:53 AM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> The current code tried to emulate the relative motion to be equivalent to the
> absolute motion, except in screen coordinates. This is way too slow for the
> cursor tool that we want to behave like a mouse.
>
> Tablets have high resolution (e.g. an Intuos 4 is a 5080dpi mouse) and that
> motion is way too fast to be usable. Scale it down to match a 1000dpi device
> instead. Since the cursor and lens tool are still high precision devices leave
> them in a flat acceleration profile without actual acceleration.
>
> For the stylus-like devices leave the current accel, pointer acceleration on a
> stylus is hard to handle.
>
> This also adds the missing bits for actually using the speed factor set
> through the config interface.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

Looks good to me,

Reviewed-by: Carlos Garnacho <carlosg at gnome.org>

Cheers,
  Carlos


More information about the wayland-devel mailing list