xwayland: hook up wl_pointer.axis_v120 events

For details on the protocol itself see the Wayland merge request:
wayland/wayland!72

The v120 event has a value base of 120, so one wheel detent is 120, half a
wheel is 60, etc. This is the API Windows has been using since Vista but it
requires HW support from the device. Logitech mice and many Microsoft mice of
the last decade or so have support and it's enabled in the kernel since v5.0.

The new events replace wl_pointer.axis_discrete events, once you bind to
wl_pointer >= 8 you only get the v120 events. So backwards compatibility
is simple, we just multiply the discrete events if we get them and
treat everything as 120 event internally.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
5 jobs for wip/hi-res-scrolling in 5 minutes and 5 seconds (queued for 1 second)
latest
Status Name Job ID Coverage
  Docker Image
passed debian-buster #13281691

00:00:50

 
  Build And Test
passed autotools #13281692

00:04:14

failed meson #13281693

00:02:31

failed meson-noglamor #13281694

00:01:57

passed mingw-cross-build #13281695

00:00:58

 
Name Stage Failure
failed
meson-noglamor Build And Test
cleanups performed                  1825
files in cache 93255
cache size 4.6 GB
max cache size 5.0 GB
Uploading artifacts for failed job
Uploading artifacts...
WARNING: build/test/piglit-results/: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
meson Build And Test
files in cache                     94101
cache size 4.5 GB
max cache size 5.0 GB
Uploading artifacts for failed job
Uploading artifacts...
WARNING: build/test/piglit-results/: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1