FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 09-27-2012, 11:29 PM
 
Default UBUNTU: SAUCE: input: Cypress PS/2 Trackpad fix multi-source, double-click

From 7b424abf76fe0883c6d94a3980a1b1ea533575a0 Mon Sep 17 00:00:00 2001
From: Kyle Fazzari <git@status.e4ward.com>
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 <git@status.e4ward.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
---
drivers/input/mouse/cypress_ps2.c | 2 ++
1 file changed, 2 insertions(+)

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);
__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);
--
1.7.9.5


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 04:45 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org