Additional patch for x11-drivers/xf86-input-mouse to support FlipXY/SwapXY option. This allows us to use an eGalax based usb hid touchscreen where the axes are inverted. See kern/183032 for more discussion. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->freebsd-x11 Over to maintainer (via the GNATS Auto Assign Tool)
Any chance to resubmit the patch in proper format? Right now I dont see clearly against which file it should be applied.
As the first line says it is "src/bsd_mouse.c". And it did not take me 2 (two!) years to find that out. Maybe the confusing point is that this is a patch of an already patched file. The first patch is "/usr/ports/x11-drivers/xf86-input-mouse/files/patch-src-bsd_mouse.c". (I give the whole path in case you do not manage to find it.) By the way, this first patch was changed two times in the last two years. Sure, the proposed patch could have been designed smarter. First of all the documentation is missing. It could have been submitted as a patch to the prior patch. But leaving a request that covers changes to 5 (five!) lines of code unanswered for almost two years, and then giving such an evasive answer, is a *real* bummer!
Created attachment 189641 [details] svn-diff-patch-src-bsd_mouse.c
Simply appended the new patch to the old. Patch applies, but have not tested functionality.
I can't test this, since I lack the hardware. Are both patches needed, or is the old one obsoleted?
Still waiting for feedback on this.