An x86-64 guest scrolled only up and down: QEMU's usb-tablet, which took the
host window's scrolling, has no sideways wheel. The x86-64 kext's mouse now has
an AC Pan beside its wheel, which IOHIDEventDriver makes the scroll event's
sideways axis, and once the mouse is up the kext names it to the host with the
new SCROLL_DEVICES command. From then on the window sends its scrolling to the
guest as SCROLL events instead of QEMU's wheel buttons: a wheel's notches as
they are, and a touchpad's distance as one notch per 10 points, the points a
line is on SDL (FINE_PER_NOTCH), the rest carried to the next event and
counted afresh where the scrolling turns back. The kext posts the notches as
the mouse's wheel and pan reports, at most 8 x 127 a SCROLL.
For the guest: its scrolling comes from "Reims vGPU Mouse", sideways included,
with macOS's own wheel acceleration, as the tablet's did. For the host: the
window's wheel and scroll callbacks are not called for scrolling the guest's
devices take. An arm64 guest names no devices, so its scrolling goes to the
vmapple tablet as before; the arm64e kext's binary is unchanged.
The wire also carries a SCROLL's distance in 1/256 points, for a guest that
names a precise scroller (RGFX_SCROLL_DEVICE_PRECISE), which no kext names yet.
Measured in windowed walks with a wheel mouse over the window, on macOS 26.7.2
(potluck job m3-max-76095) and 11.7.11 (m3-max-76100): notches up, down, right
and left reach the guest three for three on their axes, in the tablet's
directions; eight quarter-notch parts make two; a burst of ten at 16 ms ramps
from 1 to 91 points, as the tablet's did; QEMU's tablet takes no wheel button.