Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

UBUNTU: SAUCE: Input: synapticss - Set buttonpad property for all cli…

…ckpads

Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Andy Whitcroft <andy.whitcroft@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
  • Loading branch information...
commit 79f8dc8a6c9a2008a42f90d1ed24f548276ee360 1 parent af768d6
Chase Douglas authored heftig committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 drivers/input/mouse/synaptics.c
View
4 drivers/input/mouse/synaptics.c
@@ -1293,7 +1293,9 @@ static void set_input_params(struct input_dev *dev, struct synaptics_data *priv)
/* Clickpads report only left button */
__clear_bit(BTN_RIGHT, dev->keybit);
__clear_bit(BTN_MIDDLE, dev->keybit);
- }
+ } else if (SYN_CAP_CLICKPAD2BTN(priv->ext_cap_0c) ||
+ SYN_CAP_CLICKPAD2BTN2(priv->ext_cap_0c))
+ __set_bit(INPUT_PROP_BUTTONPAD, dev->propbit);
}
static ssize_t synaptics_show_disable_gesture(struct psmouse *psmouse,
Please sign in to comment.
Something went wrong with that request. Please try again.