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

Re: disable touchpad - accidental tap [was: Re: trackpad on powerbook]



On 13 Feb 2005 at 21h02, Arkadiusz Miskiewicz wrote:

Hi, 

> ... no longer. Patch attached (user can avoid disabling USB and/or ADB
> devices).

I think i'd like to keep it simple, and besides, new Apple laptops have
an USB trackpad, so I don't think i'll put it in. 

> ps. there seems to be bug in original sources
>                        if (test_bit(EV_KEY, bit) && test_bit(EV_REP,
>                        bit)) {
>                                 ioctl(fd, EVIOCGID, id);
> [...]
>                        } else if (test_bit(EV_REL, bit)) {
>                                 if (id[ID_PRODUCT] !=
>                                 eventdevs[m].product ||
>                                         id[ID_VENDOR]  !=
>                                         eventdevs[m].vendor) {
> 
> for else if case id isn't updated (missing ioctl(fd, EVIOCGID, id);).

Fixed that in 0.13, thanks!
-- 
Colin



Reply to: