On Wed, Oct 5, 2011 at 10:19 AM, Peter Hutterer
<[email protected]> wrote:
> On Tue, Oct 04, 2011 at 06:00:28PM -0700, Jason Gerecke wrote:
>> For the X driver, we run into a backwards-compatibility problem
>> (...unless we go the lame route with ABS_WHEEL). While XI2 provides up
>> to 36 valuators, I believe there was a limit of 6 valuators at some
>> point in the past. With the pad device having 3 axes reserved for
>> X/Y/P, and 2 axes reserved for touch strips, there's just not enough
>> room for both touch rings. We can break apps that were written with
>> the 6 valuator limit in mind or break apps that assume the first 5
>> axes are X/Y/P/TSl/TSr. I'm not sure what kind of fall-out to expect
>> from either option, so any insight would be appreciated :)
>
> sooner or later we will have to break those apps. I think Alexia may have
> more comments here, the last one I found was
> "GTK event handling code that feeds gimp has fixed struct of 6
>  axis. Stuffing an extra axis would kill the tool for all past versions
>  of GIMP and anything thats relased  months to a year in the future,
>  because GTK wont catch up and then a lot of code in gimp that deals
>  with coord structs would need to change too. Its a crap-ton of code
>  and even I dont know where changing the coords structs can lead."

Actually, gimp does not care much for pad devices, they are usually
configured outside gimp to emit key combinations and such, so if you
want to start breaking the old habits, starting from pad devices would
be perfect. I think, from one cursory look at relevant GDK code long
ago, most that can happen is that the new/extra axis wont be
recognized or used. GTK3 is XI2 compatible I think, so after gimp gets
ported I guess at some point gimp will need to grow into using the
device advertised axes as well. After that wheel&rotation should
probably be split up into separate axis for pens as well.


-- 
--Alexia

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to