On Sat, Sep 4, 2010 at 3:48 AM, Nikolai Kondrashov <[email protected]> wrote:
> Hello everyone,
>
> I'm interrested in adding support for more tablets to xf86-input-wacom.
> That is I wan't to do patches. However, many tablets are quite dumb,
> compared to Wacom ones, but they still could benefit from many software
> features the driver has, like rotation, pressure curves, etc.
>
> My question is how much catering to "dumbness" are you prepared to tolerate
> in the code? I now have 4 tablet models, which don't report "In Range" for
> their stylus, thus they don't send BTN_TOOL_STYLUS. Then, none of the
> tablets I work on send MSC_SERIAL. Will you accept patches dealing with such
> things?
>
> I was aiming for xf86-input-evdev (with some patches), when I was fixing the
> kernel support for these tablets, however, having xf86-input-wacom support
> them would be really great.
>
> Thank you.
>
> Sincerely,
> Nick

Hi Nick,

Here is some initial things to consider.  First up, the typical way of
detecting in userspace what type the input device is is by looking at
what events it declares it supports.  You'll see this even in
xf86-input-evdev init logic.

What input devices do the waltop kernel drivers create?  For example,
is there one for pen and one for eraser?  Or does "dumb" mean they
only support one type of stylus-tool?

How are the buttons on the tablet reported?  Are they on their own
input device?  Hopefully so because that would closely match how
xf86-input-wacom wants to see them and solves an issue with which
stylus tool owns the button reports.

Without defining BTN_TOOL_PEN, BTN_TOOL_RUBBER, and BTN_TOOL_FINGER
(for pen, eraser, and buttons respectively) in kernel for each input
device, at best, xf86-input-wacom would have to assume they were all
PENs and user would be forced to config files to resolve this.

Once that basic issue is solved, the additional changes needed to
xf86-input-wacom are probably pretty small.

Chris

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to