Re: [PATCH v3] input: mt: Move tracking and pointer emulation to input-mt

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

 



On Tue, 7 Dec 2010, Henrik Rydberg wrote:

> The drivers using the type B protocol all report tracking information
> the same way. The contact id is semantically equivalent to
> ABS_MT_SLOT, and the handling of ABS_MT_TRACKING_ID only complicates
> the driver. The situation can be improved upon by providing a common
> pointer emulation code, thereby removing the need for the tracking id
> in the driver.  This patch moves all tracking event handling over to
> the input core, simplifying both the existing drivers and the ones
> currently in preparation.
> 
> Signed-off-by: Henrik Rydberg <rydberg@xxxxxxxxxxx>
> ---
> This is revision three of the patch, with changes to incorporate the
> active use of ABS_MT_TOOL_TYPE. Example usages are found in pen and
> touch tablets and simple dual touch devices. The report_slot_state()
> function now takes the tool type as argument, since a change in either
> tool type of touch state should trigger a new tracking id.
> 
> Thanks,
> Henrik
> 
>  drivers/hid/hid-3m-pct.c                |   30 +---------

Acked-by: Jiri Kosina <jkosina@xxxxxxx>

-- 
Jiri Kosina
SUSE Labs, Novell Inc.
--
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