diff options
author | Chase Douglas <chase.douglas@canonical.com> | 2012-02-24 15:05:51 -0800 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2012-11-14 18:19:22 -0700 |
commit | f7c2a75eb86a5916531a534bf65c1f62b8414842 (patch) | |
tree | 974c939271b8b9ca76a24e9e0672ce57dc8d8013 | |
parent | ccf0c9f520ff722f468834f9203ee936a4a68eba (diff) |
UBUNTU: SAUCE: Input: synapticss - Set buttonpad property for all clickpads
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>
-rw-r--r-- | drivers/input/mouse/synaptics.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index 12d12ca3fee..48ec7da014d 100644 --- a/drivers/input/mouse/synaptics.c +++ b/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, |