Re: [PATCH v3] [input-hid] Add hid-egalax driver to the unified hid-multitouch framework.

From
Henrik Rydberg <hidden>
Date
2011-03-11 11:29:47
Reply to
Benjamin Tissoires, 2011-03-11
On Fri, Mar 11, 2011 at 10:52:55AM +0100, Benjamin Tissoires wrote:
Hi Richard,

On Fri, Mar 11, 2011 at 10:23, Richard Nauber
[off-list ref] wrote:
quoted
quoted
On Fri, Mar 11, 2011 at 7:53 AM, Benjamin Tissoires
[off-list ref] wrote:
Hi Richard,

I'm really sorry, but it's a NACK for me:
what ever Henrik said, I do not want to have numerical constants
throughout the code. It would be the open door to many others. The
reason we have "mt_class" is to regroup each per-device parameters in
it. So there is no need to introduce those constants everywhere.
Hm, so should I make a patch that applies on top of Henriks "Send
events per slot if CONTACTCOUNT is missing"  and uses the generic XY
fixup of my v3 patch?
I would say so. Please just change the name of the field .axis by a better name.
I disagree with this approach. The code in question is per device bug,
not per device. The next firmware bug might be that the axis are
shifted, or that the value is given with wrong byte order, we just
don't know. Until we know what the next bug has in common with the old
ones, let's be simple.

Henrik
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Thread (21 messages) 21 messages, 4 authors, last reply 2011-03-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help