Thread (8 messages) 8 messages, 4 authors, 2015-02-02

Re: [PATCH] Input: MT - Add support for balanced slot assignment

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2015-01-22 20:03:00
Also in: lkml

On Thu, Jan 22, 2015 at 08:52:25PM +0100, Henrik Rydberg wrote:
 int input_mt_assign_slots(struct input_dev *dev, int *slots,
-			  const struct input_mt_pos *pos, int num_pos)
+			  const struct input_mt_pos *pos, int num_pos,
+			  int dmax)
Should dmax be unsigned and do we really need to treat 0 specially or we
could use UNIT_MAX as "don't care" value?
 {
 	struct input_mt *mt = dev->mt;
+	int mu = 2 * dmax * dmax;
For my education, what does "mu" stand for? Ideally, if someone could create a
write-up on the contact matching that would be most awesome.

Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help