From: Daniel Drake <dsd@laptop.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org, pgf@laptop.org
Subject: Re: [PATCH 1/3] Input: hgpk - enable advanced mode through module parameter
Date: Tue, 5 Oct 2010 17:59:35 +0100 [thread overview]
Message-ID: <AANLkTinHiCWBb+wZT9niBfGWd3Q-X448CdtMC8yD0NtF@mail.gmail.com> (raw)
In-Reply-To: <20101004174533.GC8321@core.coreip.homeip.net>
On 4 October 2010 18:45, Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote:
> Why do you use abs->rel conversion in driver and not rely on the
> standard userspace component handling thouchpads in absolute mode?
Thanks for your feedback.
The justification mainly revolves around a patch that I saved for
later - one that enables pentablet mode for use with a stylus, which
relies on advanced mode. I'll include that patch when I come to
resending them all after this review, so that everything is clear.
But we don't actually want to use it as a tablet, we want to use it as
a mouse pointer (since the touchpad way of using the mouse is not very
reliable) - i.e. we want it to be relative.
I experimented and enabled it in absolute mode, but I couldn't find
any way of making X treat it as relative. It still "behaves absolute"
even with this command:
xinput set-mode "OLPC HGPK ALPS HGPK" relative
We want it to behave relatively, i.e. if I finish my stylus movement
in one place and continue from another, the mouse cursor should not
jump.
Does this act as justification for doing the relative calculations in
the driver, or is there an option that I'm missing?
Thanks,
Daniel
next prev parent reply other threads:[~2010-10-05 16:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-02 20:42 [PATCH 1/3] Input: hgpk - enable advanced mode through module parameter Daniel Drake
2010-10-04 17:45 ` Dmitry Torokhov
2010-10-04 18:27 ` Paul Fox
2010-10-04 18:33 ` Dmitry Torokhov
2010-10-05 16:59 ` Daniel Drake [this message]
2010-10-05 17:23 ` Dmitry Torokhov
2010-10-13 18:15 ` Daniel Drake
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=AANLkTinHiCWBb+wZT9niBfGWd3Q-X448CdtMC8yD0NtF@mail.gmail.com \
--to=dsd@laptop.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=pgf@laptop.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.