Re: [PATCH 1/3] input: wacom: Add fuzz and scale features

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

 



On 09/02/2010 10:26 PM, Dmitry Torokhov wrote:

> Hi Henrik,
> 
> On Thu, Sep 02, 2010 at 08:18:35PM +0200, Henrik Rydberg wrote:
>> The signal-to-noise ratio varies between devices, but currently all
>> devices are treated the same way. In addition, some devices report
>> very low resolution, which makes the fuzz algorithm ineffective.
>> Add fuzz and scale parameters to the feature struct, allowing for
>> tailored treatment of devices.
>>
> 
> While we may adjust fuzz depending on the resolution scaling of the
> data is not kernel's task and should be left to userspace.


The scaling introduced here is for round-off errors in the EWMA filter. Maybe
the Bamboo Touch is a one-in-a-million case, but any device reporting a
resolution lower than the screen will exhibit very jerky motion without such a
scaling. I put the scaling among the features in an attempt to reduce special
code across the driver.

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