Correctly identify touchpads
Michael Tokarev
mjt at tls.msk.ru
Thu Dec 24 12:32:31 PST 2009
Dmitry Torokhov wrote:
[]
>> B: KEY=6420 7000f 0 0 0 0
>> B: ABS=11000003
>>
[]
>> - if (test_bit (ABS_PRESSURE, bitmask_abs)) {
[]
>> What's wrong? ;)
>
> Not sure, seems to be working here... Keying on ABS_PRESSURE is
It apparently works on some laptops here and fails on others.
> definitely not correct as some touchpads to not report it and many
> touchscreens do. Is this on 32 or 64 bit kernels? What about userspace?
32bit userspace, either 32 or 64bit kernel. But since the string
as read from sysfs does not depend on kernel bitness, both should
be irrelevant... I hope.
/mjt
More information about the hal
mailing list