From: Nikolai Kondrashov <spbnick@gmail.com>
To: linux-input@vger.kernel.org, linux-usb@vger.kernel.org
Subject: A usage for BTN_STYLUS2
Date: Tue, 03 Aug 2010 15:35:39 +0400 [thread overview]
Message-ID: <4C57FF0B.6000002@gmail.com> (raw)
Hello,
As far as I could see, there is no mapping to BTN_STYLUS2 (a second button
on the pen barrel, AFAIK) in hidinput_configure_usage, however some specific
drivers use it.
Is it because there is really no usage code for it in the HID Usage Tables
document? If so, maybe there is some widely used usage code for such
button, which we could use?
So far I've seen "Eraser", "Tablet Pick" and, possibly, "Invert" used in
UC-Logic, Kye and Waltop tablets respectively. To me, "Tablet Pick" looks the
least of evils.
I'm asking because many tablets have these buttons and having all of them
using input_mapping just for this would be too much, IMHO.
I'm looking forward to adding support for several, at least, and attempting
to do so by only providing fixed report descriptors, if possible.
Thank you.
Sincerely,
Nick
reply other threads:[~2010-08-03 11:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4C57FF0B.6000002@gmail.com \
--to=spbnick@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-usb@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).