fix: sync vendored xf86-input-neko scroll support - #23
Draft
possibilities wants to merge 3 commits into
Draft
possibilities wants to merge 3 commits into
possibilities wants to merge 3 commits into
Conversation
The vendored driver here has no scroll support: a NEKO_SCROLL (0x80) message falls through to xf86PostTouchEvent. The copy that kernel-images builds and ships registers XI2 scroll valuators for it, and Dockerfile.tmpl builds this copy into the base image, so a standalone base-image deployment with the driver enabled gets a driver that cannot scroll. Take src/neko.c verbatim from kernel-images at 18e75774 (kernel-images PR m1k1o#196): scroll valuators 3 and 4 registered with SCROLL_INCREMENT 120, NEKO_SCROLL posted through xf86PostMotionEventM, the touch class held at its three axes, and the device announced as XI_MOUSE rather than XI_TOUCHSCREEN so Chromium honours the scroll valuators. Document the message and the unit in the README. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…Xorg Preserve the kernel-images driver source while testing its XI2 scroll and touch protocol on Debian bullseye and bookworm.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to #17 (the vendored driver part).
What changed
Sync
utils/xorg-deps/xf86-input-neko/src/neko.cwith the scroll-capable driver from kernel-images #196, pinned to 18e75774. The driver source is byte-for-byte identical.This handles NEKO_SCROLL (0x80), registers relative vertical/horizontal scroll valuators with a 120-unit increment, and keeps touch events on their original three axes. The README documents the wire message.
Verification
Bullseye CI uses Debian's signed final-LTS snapshot because the regular security package URLs currently return 404s. The tests document inherited limitations around idle-server wakeups, fragmented socket messages, modifier ordering, and thread lifecycle. A complete application/base image and Chromium rendering test were not run.
The XTest fallback conversion discussed in #17 is a separate patch. This PR deliberately does not close the multi-part issue.