> --- drivers/macintosh/adbhid.c.orig 2004-03-10 23:41:43.000000000 +0100 > +++ drivers/macintosh/adbhid.c 2004-03-10 23:41:34.000000000 > +0100 > @@ -327,7 +327,7 @@ > input_report_key(&adbhid[id]->input, BTN_LEFT, !((data[1] >> 7) & 1)); > input_report_key(&adbhid[id]->input, BTN_MIDDLE, !((data[2] >> 7) & 1)); > > - if (nb >= 4) > + if (nb >= 4 && adbhid[id]->mouse_kind != ADBMOUSE_TRACKPAD) > input_report_key(&adbhid[id]->input, BTN_RIGHT, !((data[3] >> > 7) & 1)); > > input_report_rel(&adbhid[id]->input, REL_X, > > Kudos to Alex Clausen for this (and Alex, I don't think there's rocket > science involved, just crappy hardware).
Can I have Alex email to add a proper Signed-off-by: line on the patch please ? Ben.