It isn't possible to leave all of the existing code intact,
at least not for touchpads, which form the most complex and
critical case here. Either all of them run with the modified
synaptics driver, or they don't. I don't see a reasonable
solution in between (wsconscomm.c might become a little monster
otherwise).
This leaves the option of running mouse and touch panel
drivers with wsmouse_input, as before, and restrict the changes
to the touchpad drivers. This could provide a kind of "fallback"
in case of serious regressions, and the trivial parts of
the "drivers" diff could be removed. If this is what you want,
I could prepare it, but it would take a few days.
On 03/17/2016 01:58 PM, Martin Pieuchot wrote:
On 13/03/16(Sun) 18:37, Ulf Brosziewski wrote:
The diffs below are a rewrite of the input-processing part of wsmouse. It
adds support for multitouch input.
I have split the set of diffs into three parts and I will post part 2 and 3
in separate messages. Part 1 below contains all patches for wscons, part 2
is for the hardware drivers, part 3 is a patch for the synaptics driver in
xenocara (compiling that driver will require the modified version of
wsconsio.h in /usr/include/dev/wscons).
I'm really afraid because this is just a single diff split in 3, they
are not independent. Plus since your original mails included a broken
diff I doubt anybody tried it.
That said you've done some great work and I like it a lot.
Could you prepare a diff with all the new stuff that does do change
anything in the existing code? This could go in directly.
Which hardware still need to be tested?