Re: [PATCH 2/2] elantech: Report multitouch with proper ABS_MT messages

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

 



Op 06-05-10 00:15, Henrik Rydberg schreef:
> Éric Piel wrote:
>> Op 05-05-10 21:06, Henrik Rydberg schreef:
:
>> Thanks a lot for the tips.
>> I've hacked up an app which does just this, based on touchd and
>> pyinputevent.
> 
> Thanks for the app, works nicely after adjusting the touchpad resolution to fit
> my bcm5974.
Cool! (actually it could be possible to read this resolution from the
input info on the device, to make the app more user-friendly)

>> Apparently when there are two fingers, the hardware doesn't report
>> really the finger coordinates but the lowest and highest points of the
>> rectangle defined by the two fingers.
> 
> I take it you are referring to the enumeration of the fingers, the order in
> which they appear on the wire?
No. What I mean is that one reported point always contains the maximum X
of the two coordinate and the maximum Y of the two coodinates, while the
other point always get the minimum of both.

So if you have the fingers like this:
-------------------
|                 |
|            A    |
|                 |
|     B           |
|                 |
-------------------
You get the actual values, but if you put your fingers like this:
-------------------
|                 |
|     A           |
|                 |
|            B    |
|                 |
-------------------
You get the same values as for the previous configuration!

I guess that for a lot of gestures it doesn't matter much...

Eric
--
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