From 2516cd8e3feb75b7e6ad64aa1050d1ae75d55007 Mon Sep 17 00:00:00 2001 From: Chase Douglas Date: Fri, 24 Feb 2012 15:05:51 -0800 Subject: UBUNTU: SAUCE: Input: synapticss - Set buttonpad property for all clickpads Signed-off-by: Chase Douglas Acked-by: Seth Forshee Acked-by: Andy Whitcroft Signed-off-by: Tim Gardner --- drivers/input/mouse/synaptics.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index c703d53be3a..c6d98696399 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c @@ -1223,7 +1223,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, -- cgit v1.2.3