From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
Vojtech Pavlik <vojtech@suse.cz>
Subject: Re: ALPS touchpad with 4 directions button doesnt work as intended
Date: Mon, 2 Nov 2009 10:00:24 -0800 [thread overview]
Message-ID: <20091102180024.GA3437@core.coreip.homeip.net> (raw)
In-Reply-To: <1257182426.3682.2.camel@maxim-laptop>
On Mon, Nov 02, 2009 at 07:20:26PM +0200, Maxim Levitsky wrote:
> On Sun, 2009-11-01 at 21:38 -0800, Dmitry Torokhov wrote:
> > Hi Maxim,
> >
> > On Sat, Oct 31, 2009 at 04:10:18AM +0200, Maxim Levitsky wrote:
> > > I have a acer 5720G laptop, and its touchpad (ALPS) has three buttons,
> > > usual left/right, and middle button that can be pressed in 4 directions.
> > > Up/down direction work fine, but left/right doesn't. This means that
> > > left direction produces middle button click, and right direction
> > > doesn't work at all.
> > > I took a look at source, and I see that driver doesn't even know about
> > > such configuration.
> > >
> > > Now I am sure its very easy to figure out what is send when no working
> > > button is pressed, but I am a bit confused what BTN_* event to assign to
> > > it, so it will work as horizontal scroll as intended.
> > > And unassign middle button from other direction....
> > >
> >
> > Synaptics driver maps multi-button to BTN_0...BTN_8 and it looks like
> > synaptics X driver maps teh 4-button case by default to
> > up/down/left/right scroll so I'd map ALPS the same.
> >
> Thanks!
>
> One question, should I expect some resistance because the button won't
> work as middle button by default? (I am sure that in X its easy remap it
> back)
>
I am pretty sure these kind of buttons allow 5 distinct presses - left,
right, up, down and "straight" (which may be reported either with
distinct packet or by reporting both up/down or left/right presses) so
you don't have to loose the middle button. This is a speculation
though...
--
Dmitry
next prev parent reply other threads:[~2009-11-02 18:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-31 2:10 Maxim Levitsky
2009-11-02 5:38 ` Dmitry Torokhov
2009-11-02 17:20 ` Maxim Levitsky
2009-11-02 18:00 ` Dmitry Torokhov [this message]
[not found] ` <1257199967.3164.8.camel@localhost.localdomain>
2009-11-02 22:16 ` Maxim Levitsky
2009-11-02 22:25 ` Dmitry Torokhov
2009-11-02 23:21 ` Maxim Levitsky
2009-11-10 9:55 ` Maxim Levitsky
2009-11-10 10:03 ` [PATCH] ALPS: Add support for 4 directions button on Acer Aspire 5720 Maxim Levitsky
2009-11-10 17:30 ` Dmitry Torokhov
2009-11-11 9:09 ` [PATCH v2] " Maxim Levitsky
2009-11-15 8:53 ` Dmitry Torokhov
2009-11-16 18:05 ` Maxim Levitsky
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=20091102180024.GA3437@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maximlevitsky@gmail.com \
--cc=vojtech@suse.cz \
/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®