A usage for BTN_STYLUS2

From: Nikolai Kondrashov <hidden>
Date: 2010-08-03 11:35:55

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help