On Tue, Aug 31, 2010 at 12:44 AM, Peter Hutterer
<peter.hutte...@who-t.net> wrote:
> On Wed, Aug 25, 2010 at 06:28:53PM +0200, Ping Cheng wrote:
>> On Wed, Aug 25, 2010 at 5:04 PM, Chris Bagwell <ch...@cnpbagwell.com> wrote:
>> > Sure, I'll jump back in once the touch-only model support is
>> > committed.  Assuming Henrik's patch is submit, there is some things to
>> > discuss on X side; which I will be happy to help with as well.
>>
>> Thank you for your help.
>>
>> > Henrik's current driver on linux-input is both MT and synaptic-like;
>> > which is actually my preference as well but brings up important issue.
>> >  Do we modify xf86-input-wacom to be compatible with synpatic-like
>> > input events or do we work with distributions to develop rules to
>> > re-direct wacom "touch" input devices over to xf86-input-synaptics?
>>
>> I'd like to know Peter's answer to this question. It is not purely a
>> Wacom driver decision, I think.
>
> AFAICT, the device is exported as a separate device, right? If so, there's
> no need to hook the wacom driver onto it - we just treat it as a touchpad
> and hook the synaptics driver onto it.
>

Yes, on both Bamboo's and Tablet PC's, the exported device is nicely
isolated.  In Bamboo's case, its very much like a standard touchpad
(x/y/pressure+4 buttons).  For Tablet PC's, its very much like a
buttonless touchpad.

Some pros/cons for having xf86-input-synaptics handle wacom touch devices.

Pros:
* Get synaptics gesture support immediately (edge scrolling, two
finger scrolling).
* Get gnome-mouse-properties (and similar) GUI configuration support
(I can finally enable Lefty mode from a GUI!)
* It will force us to be Synaptics compatible.  This allows switching
to xf86-input-multitouch driver and get their gestures (swipes,
pinching, 3-fingers, etc).  Or at least it keeps us closer to
compatible to what ever client-side gesture engines are coming up.

Cons:
* ISDV4 devices requires some touchpad logic in xf86-input-wacom
anyways (not a code savings)
* User would lose xf86-input-wacom's advanced button remapping.

My suggestion?

* Make touchpad-like wacom devices to use events that are
synaptics-like (no multiplexing, no serial/channel #'s, change way
BTN_TOOL_*'s are used, use MT events for 2 finger HW, etc).  This
means specifically Bamboo and Tablet PC's.  Since Tablet PC code has
already shipped in a kernel, we need a roadmap of how and when to
convert over.
* Modify xf86-input-wacom so that it can handle todays ISDV4/TabletPC
version of touchpads and also make it compatible with synaptics-like
touchpads.  Since its backwards/forwards compatible, that roadmap for
TabletPC can be change it today.
* Decide which X driver we prefer as default and then let user do any
xorg.conf.d modifications if they prefer a specific pro/con item
above.

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
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to