linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rafi Rubin <rafi@seas.upenn.edu>
To: "Stéphane Chatty" <chatty@enac.fr>
Cc: linux-input@vger.kernel.org
Subject: Re: [PATCH] ntrig tool separation
Date: Wed, 17 Jun 2009 14:37:44 -0400	[thread overview]
Message-ID: <4A3937F8.9080606@seas.upenn.edu> (raw)
In-Reply-To: <9A2A8015-912B-498D-B5E1-1D79B933DECD@enac.fr>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Good point, that's actually what I did earlier in my much sloppier version.  I'll rewrite this patch.

Stéphane Chatty wrote:
> 
> Le 17 juin 09 à 07:50, Rafi Rubin a écrit :
> 
>> When both touch and pen are active send a tool announcement before
>> sending any status changes so that event users may differentiate
>> which tool is changing.
>>
> 
> With my multitouch-enabled TouchSmart tx2 (firwmare 4.2.17.8.5, finally
> found it!) I get a series of ten BTN_TOOL_DOUBLETAP (value = 0 then 1,
> five times) in every event. This is because the device emits HID_GD_X
> several times in every event, whatever the real number of touches on the
> screen.
> 
> The way to avoid this would be to delay the emission of your
> BTN_TOOL_DOUBLETAP as I did for ABS_X and ABS_Y, that is when we receive
> HID_DG_HEIGHT (single touch firmware) or 0xff000002 (multi-touch firmware)
> 
> St.
> 
> -- 
> To unsubscribe from this list: send the line "unsubscribe linux-input" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAko5N/cACgkQwuRiAT9o609lZACfUyxsUSbrSXSsZtJFXLgBSU9B
J0kAmwSeANwjprdqc6BTjIFozVWsfQxn
=5z+v
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2009-06-17 18:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17  5:50 [PATCH] ntrig tool separation Rafi Rubin
2009-06-17 13:41 ` Stéphane Chatty
2009-06-17 18:37   ` Rafi Rubin [this message]

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=4A3937F8.9080606@seas.upenn.edu \
    --to=rafi@seas.upenn.edu \
    --cc=chatty@enac.fr \
    --cc=linux-input@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;
as well as URLs for NNTP newsgroup(s).