From: Takashi Iwai <tiwai@suse.de>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Alex Chiang <achiang@hp.com>,
linux-kernel <linux-kernel@vger.kernel.org>,
linux-input@vger.kernel.org
Subject: Re: synaptics touchpad doesn't click
Date: Tue, 15 Dec 2009 11:41:56 +0100 [thread overview]
Message-ID: <s5hmy1kiknf.wl%tiwai@suse.de> (raw)
In-Reply-To: <20091215082518.GD12669@core.coreip.homeip.net>
At Tue, 15 Dec 2009 00:25:18 -0800,
Dmitry Torokhov wrote:
>
> Indeed, we need to keep the state in synaptics now, thanks for noticing.
> The updated patch is below.
Also, one minor thing I noticed:
> - if (SYN_CAP_MIDDLE_BUTTON(priv->capabilities)) {
> - hw->middle = (buf[0] ^ buf[3]) & 0x01;
> - hw->scroll = hw->w == 2 ? (signed char)buf[1] : 0;
> + if (click && y < YMIN_NOMINAL) {
In my original patch, the position reporting in the button area is
disabled no matter whether clicked or not. This was intentional
because I find it quite annoying that the mouse pointer moves slightly
when I click. I often missed the target when I pressed strongly,
because my finger slipped a millimeter before the click state got
active.
This is a matter of taste, though.
> + /*
> + * User pressed in ClickZone; report new button
> + * state but use :w
It's not in "w" field...
thanks,
Takashi
next prev parent reply other threads:[~2009-12-15 10:42 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-14 1:48 Alex Chiang
2009-12-14 17:34 ` Dmitry Torokhov
2009-12-15 3:41 ` Alex Chiang
2009-12-15 6:26 ` Dmitry Torokhov
2009-12-15 6:40 ` Takashi Iwai
2009-12-15 7:33 ` Dmitry Torokhov
2009-12-15 7:41 ` Takashi Iwai
2009-12-15 8:25 ` Dmitry Torokhov
2009-12-15 10:19 ` Takashi Iwai
2009-12-15 10:41 ` Takashi Iwai [this message]
2009-12-16 1:05 ` Alex Chiang
2009-12-16 2:59 ` Dmitry Torokhov
2009-12-16 6:50 ` Takashi Iwai
2009-12-16 6:56 ` Dmitry Torokhov
2009-12-16 7:14 ` Takashi Iwai
2009-12-16 8:23 ` Dmitry Torokhov
2009-12-16 9:17 ` Takashi Iwai
2009-12-16 17:24 ` Dmitry Torokhov
2009-12-16 17:32 ` Takashi Iwai
2009-12-16 7:16 ` Takashi Iwai
2009-12-16 6:52 ` Alex Chiang
2009-12-16 7:03 ` Dmitry Torokhov
2009-12-16 7:11 ` Takashi Iwai
2009-12-16 8:20 ` Dmitry Torokhov
2009-12-16 9:14 ` Takashi Iwai
2009-12-16 17:31 ` Alex Chiang
2009-12-16 17:42 ` Dmitry Torokhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hmy1kiknf.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=achiang@hp.com \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®