Re: [PATCH] input-mt: Allow -1 for tracking id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sadrul,

On Thu, Apr 14, 2011 at 06:13:17PM -0400, Sadrul Chowdhury wrote:
> In protocol B, the tracking ID can be set to -1. But since the min
> value is set to 0, the clients don't receive a -1 when a contact is
> lifted. The attached patch sets the min to -1 to fix this issue.

All ABS_MT_TRACKING_ID values outside the valid value range denote an
invalid touch. To simplify implementation in userland, where the valid
range may not always be known, the documentation was changed to say
"-1" instead. Apparently the original explanation was unintentionally
dropped with it.

Because the change goes against the semantics of the tracking id, this
patch constitues an interface breakage, with malfunctions in userspace
as a result. Therefore, this patch will not be applied.

Thanks,
Henrik
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux