From: Nikolai Kondrashov <spbnick@gmail.com>
To: Chase Douglas <chase.douglas@canonical.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Henrik Rydberg <rydberg@euromail.se>,
Chris Bagwell <chris@cnpbagwell.com>,
Peter Hutterer <peter.hutterer@who-t.net>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] Documentation: Add evdev type and code definitions
Date: Sat, 08 Jan 2011 01:06:35 +0300 [thread overview]
Message-ID: <4D278E6B.7020002@gmail.com> (raw)
In-Reply-To: <1294435695-16750-1-git-send-email-chase.douglas@canonical.com>
On 01/08/2011 12:28 AM, Chase Douglas wrote:
> +* BTN_TOOL_<name>:
> + - These codes are used in conjunction with input trackpads, tablets, and
> + touchscreens. These devices may be used with fingers, pens, or other tools.
> + When an event occurs and a tool is used, the corresponding BTN_TOOL_<name>
> + code should be set to a value of 1. When the tool is no longer interacting
> + with the input device, the BTN_TOOL_<name> code should be reset to 0. All
> + trackpads, tablets, and touchscreens should use at least one BTN_TOOL_<name>
> + code when events are generated.
There are some tablets (namely UC-Logic ones), which do not indicate tool
proximity. Yet they may have both a pen and a mouse. They just send reports
with separate report IDs. Currently it is solved by using
HID_QUIRK_MULTI_INPUT and not sending any BTN_TOOL_* events.
Should the documentation reflect the fact that some tablets do not send any
BTN_TOOL_* events, or should the drivers be updated to synthesise them?
Note that in the latter case there will never be a BTN_TOOL_* with
zero value when the tool leaves the digitizing area, but only when the tools
are switched (if ever).
Sincerely,
Nick
next prev parent reply other threads:[~2011-01-07 22:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-07 21:28 [PATCH v2] Documentation: Add evdev type and code definitions Chase Douglas
2011-01-07 21:53 ` Dmitry Torokhov
2011-01-07 22:03 ` Chase Douglas
2011-01-07 22:42 ` Dmitry Torokhov
2011-01-07 22:06 ` Nikolai Kondrashov [this message]
2011-01-07 22:15 ` Chase Douglas
2011-01-07 22:26 ` Nikolai Kondrashov
2011-01-07 22:36 ` Chase Douglas
2011-01-08 1:15 ` Chris Bagwell
2011-01-09 14:51 ` Henrik Rydberg
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=4D278E6B.7020002@gmail.com \
--to=spbnick@gmail.com \
--cc=chase.douglas@canonical.com \
--cc=chris@cnpbagwell.com \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peter.hutterer@who-t.net \
--cc=rydberg@euromail.se \
/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).