@@ -876,6 +876,7 @@ static int bcm5974_probe(struct usb_interface *iface,input_dev->name="bcm5974";input_dev->phys=dev->phys;+__set_bit(INPUT_PROP_BUTTONPAD,input_dev->propbit);usb_to_input_id(dev->udev,&input_dev->id);/* report driver capabilities via the version field */input_dev->id.version=cfg->caps;
@@ -876,6 +876,7 @@ static int bcm5974_probe(struct usb_interface *iface,input_dev->name="bcm5974";input_dev->phys=dev->phys;+__set_bit(INPUT_PROP_BUTTONPAD,input_dev->propbit);usb_to_input_id(dev->udev,&input_dev->id);/* report driver capabilities via the version field */input_dev->id.version=cfg->caps;
Only macbooks from 2010 and later have the integrated touchpad, so
this has clearly not been broadly tested. Please use the
HAS_INTEGRATED_BUTTON property to steer the logic right.
Thanks,
Henrik