A touchpad scrolled an x86-64 guest by turning its mouse's wheel, a notch per
10 points, which macOS accelerates as a wheel's: a quick swipe went several
times as far as the fingers moved. The x86-64 kext now starts a precise
scroller beside its mouse, "Reims vGPU Scroller" (product 0x5248): the mouse's
descriptor with a physical range of -1 to 1 on its wheel and pan, which macOS
reads as 127 counts a unit and so marks its events continuous and precise, in
points, as a touchpad's; and HIDSupportsScrollAcceleration false on the device,
which turns macOS's scroll acceleration off for it. SCROLL_DEVICES names it too
(RGFX_SCROLL_DEVICE_PRECISE), so the host sends a touchpad's distance in 1/256
points, and the kext makes one count of it per 10 points, the rest carried on
and started afresh where the scrolling turns back.
For the guest: a touchpad's scrolling, and a Mac host's precise scrolling with
its coasting, come from the scroller, continuous and precise, as far as the
host reports and unaccelerated, in steps of 10 points, with no gesture phases.
A wheel's notches still come from the mouse. The arm64e kext is unchanged.
Why 10 points a step: with the acceleration off a count scrolls 10 points at
any speed (120 counts made 1200 points slow, fast and in lumps, on both axes,
at 127 and 90 counts a unit; potluck jobs m3-max-75987 on 26.7.2 and
m3-max-75994 on 11.7.11). Apple's driver passes each count whole and reads no
resolution multiplier, so no descriptor makes a count worth less. With the
acceleration on, neither a flat acceleration table nor one linear curve
scrolled as far a count at every speed (m3-max-76084).
Measured in windowed walks with a wheel mouse over the window, on macOS 26.7.2
(potluck job m3-max-76127) and 11.7.11 (m3-max-76128): "Reims vGPU Scroller"
reads HIDScrollResolution 127 and HIDSupportsScrollAcceleration No down to its
event service; forty quarter-notch parts 16 ms apart (100 points) made ten
continuous, precise events of 10 points each, up and sideways, where the mouse
would have ramped; the wheel's notches and bursts read as before.