From patchwork Thu Sep 27 23:29:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Quantal] UBUNTU: SAUCE: input: Cypress PS/2 Trackpad fix multi-source, double-click Date: Thu, 27 Sep 2012 13:29:45 -0000 From: git@status.e4ward.com X-Patchwork-Id: 187773 Message-Id: <5064E169.2090505@gmail.com> To: kernel-team@lists.ubuntu.com Cc: kamal@canonical.com >From 7b424abf76fe0883c6d94a3980a1b1ea533575a0 Mon Sep 17 00:00:00 2001 From: Kyle Fazzari Date: Thu, 27 Sep 2012 18:35:04 -0400 Subject: [PATCH] UBUNTU: SAUCE: input: Cypress PS/2 Trackpad fix multi-source double-click Fix "Quickly clicking touchpad results in double click (with tap to click)" by setting INPUT_PROP_BUTTONPAD property. This lets xserver-xorg-input-synaptics know that the touchpad has a button underneath it so it can take care of the multiple-click-source issue. BugLink: https://bugs.launchpad.net/dell-sputnik/+bug/1055788 Signed-off-by: Kyle Fazzari Signed-off-by: Kamal Mostafa --- drivers/input/mouse/cypress_ps2.c | 2 ++ 1 file changed, 2 insertions(+) __set_bit(BTN_TOOL_FINGER, input->keybit); @@ -439,6 +440,7 @@ static int cypress_set_input_params(struct input_dev *input, __clear_bit(REL_X, input->relbit); __clear_bit(REL_Y, input->relbit); } else { + __set_bit(INPUT_PROP_BUTTONPAD, input->propbit); __set_bit(EV_REL, input->evbit); __set_bit(REL_X, input->relbit); __set_bit(REL_Y, input->relbit); diff --git a/drivers/input/mouse/cypress_ps2.c b/drivers/input/mouse/cypress_ps2.c index 3a572ec..c3752be 100644 --- a/drivers/input/mouse/cypress_ps2.c +++ b/drivers/input/mouse/cypress_ps2.c @@ -423,6 +423,7 @@ static int cypress_set_input_params(struct input_dev *input, } + __set_bit(INPUT_PROP_BUTTONPAD, input->propbit); __set_bit(EV_KEY, input->evbit); __set_bit(BTN_TOUCH, input->keybit);