On Sun, Jul 10, 2011 at 6:08 PM, Peter Hutterer <[email protected]>wrote:
> ...
> > I pulled out three of the five models we have and they have the following
> > ids:
> > 0x005: HP tc1100 (has pen buttons)
> > 0x006: HP tc4200 (has pen buttons)
> > 0x004: HP 2710p (no pen buttons)
>
> What's the full PNPID string? I ask because I think 0x5 and 0x6 are already
> in use for some wacom tablets.
>
If it's the string I think it is, it appears to be "WACF00X:00" (where X is
5 or 6 for the tablets in question). These tablets aren't exactly new tech
- the tc1100 came out in something like 2004 - so I would expect that the
ids are already well known. Anyway, the packet sent when the button push
occurs is clearly very unique - so its not like some other action is going
to accidentally trigger this code.
also, before I forget: the kernel w8001 driver supports ISDV4 multi-finger
> protocol, so your change should go in there as well. long-term, the
> X11-driver ISDV4 parsing is bound to go away.
>
Ok, I'll look into it.
> ...
> On a general basis: rather than trickery with magic bits, I'd be nicer to
> get a new set of BTN_... defines into the kernel. We can then use that in
> the driver without having to use hacks. For kernels that don't support it,
> we can still #define that with the same value. Makes sense?
>
Yes, do you think these should be BTN_* or KEY_* defines?
For this particular use-case: there is a KEY_KEYBOARD already which may be
> suitable here (ask on linux-input) and I wonder if KEY_EDITOR would be
> suitable for the "writing tool" (whatever that is). There is no rotation
> button or key yet afaict.
>
The "writing tool" button is originally intended to bring up a "journal"
(pen writing) program. On the newer models this button doesn't actually
exist, instead there is a button with a giant "Q" that is supposed to open a
GUI menu. So, we set this button to open the writing program to match the
older model - but it should probably have its own button code instead. Is
it correct to assume from the way this discussion is headed that these
buttons should really emit these keycodes rather than pad button pushes?
Thanks so much for your advice.
Erich Hoover
[email protected]
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel