linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Henrik Rydberg" <rydberg@euromail.se>
To: Chris Bagwell <chris@cnpbagwell.com>
Cc: Ping Cheng <pinglinux@gmail.com>, linux-input@vger.kernel.org
Subject: Re: [PATCH 3/4] input - wacom : support one finger touch the touchscreen way
Date: Fri, 11 Feb 2011 22:49:48 +0100	[thread overview]
Message-ID: <20110211214948.GA7375@polaris.bitmath.org> (raw)
In-Reply-To: <AANLkTimsRQF7cpUWXS3VfvFUm3NpB=0yuRccbc+FfvKV@mail.gmail.com>

Hi Chis,

> Extra clarification on whats going on here:
> 
> Patch #1 removes BTN_TOOL_TRIPLETAP; among other supporting 2 finger
> touch code.  In that context, it was used as an awkward indication to
> xf86-input-wacom that device supported 2 finger touch.

Which is great, no argument there.

> In this patch #3, it removes BTN_TOOL_DOUBLETAP; which was an awkward
> indication to xf86-input-wacom that device supports 1 finger touch.
> Once this patch is applied, applications must deduce touchscreen input
> supports 1 finger touch same way as they do for other touchscreens
> (not seeing BTN_TOOL_FINGER and no stylus related BTN_'s as well).

Also makes sense - I only noticed that it was gone without
replacement, and Ping's and your answer gives ample rationale for its
removal.

> Patch #4 adds BTN_TOOL_DOUBLETAP back but using normal meaning that
> the device supports 2 finger touch.

Right, thanks.

> I had reviewed this patch series in context of some related changes
> from Ping to xf86-input-wacom.  I wanted to document doubletap part of
> that review on this list though.
> 
> Ping originally didn't want to add that back in.  At least one of the
> reasons was that there were no known applications that supported both
> "touchscreens" (absolute mode) and the BTN_TOOL_DOUBLETAP at same
> time.

Given the current state of userland, a touchscreen should not emit
doubletaps, true.

> I did look around quite a bit after Ping's comment and I couldn't come
> up with anything (mtdev, xf86-input-evdev, etc).  So its a good point.
>  When something supports ABS_MT_*, thats given much more weight then
> BTN_TOOL_DOUPLETAP would; which is the case here.

Yes - unless the device is of the SEMI_MT kind, the finger-counting
BTN_TOOL_* events really have no meaning.
 
> Anyways, I requested if Ping would add BTN_TOOL_DOUBLETAP in to align
> with current hid-ntrig and since it didn't seem to hurt and could
> possibly help some future app.  Please double check me here if it is
> in fact a good idea to add DOUBLETAP in for touchscreens.

In fact, I think it hurts a bit, so removing it is a good idea.

Thanks,
Henrik

  reply	other threads:[~2011-02-11 21:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-11  1:32 [PATCH 3/4] input - wacom : support one finger touch the touchscreen way Ping Cheng
2011-02-11 19:56 ` Henrik Rydberg
2011-02-11 20:24   ` Ping Cheng
2011-02-11 20:40     ` Ping Cheng
2011-02-11 20:58       ` Chris Bagwell
2011-02-11 21:49         ` Henrik Rydberg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-02-16 22:53 Ping Cheng
2011-02-20 12:21 ` Henrik Rydberg
     [not found]   ` <AANLkTikKiZeKcWCGgZ5ZADpA-odXuLP1yDk4847cjuN=@mail.gmail.com>
2011-02-25 14:44     ` Henrik Rydberg
2011-02-22 17:40 Ping Cheng

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=20110211214948.GA7375@polaris.bitmath.org \
    --to=rydberg@euromail.se \
    --cc=chris@cnpbagwell.com \
    --cc=linux-input@vger.kernel.org \
    --cc=pinglinux@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).