On Wed, Oct 5, 2011 at 11:37 PM, Alexia Death <[email protected]> wrote: > On Thu, Oct 6, 2011 at 3:40 AM, Jason Gerecke <[email protected]> wrote: > >> After playing around with this a little bit, adding a 7th valuator >> actually *might* work in existing GTK applications. If I increase the >> number of valuators exposed by the driver, Gimp 2.6's extended input >> device setup correctly expands the list of axes available. Actually >> using that data is another question entirely however. While Gimp seems >> to get data from the second ring (which even appears to increase and >> decrease almost as expected), it segfaults after a few seconds of use. >> That might be due to the quick hack-job I did to make things work, or >> it might be something deeper. Its hard to say with all the symbols in >> the backtrace missing. Additionally, this could all be due to GTK3 >> being smarter under the covers. I need to test the behavior under GTK2 >> as well... > > Gimp 2.6 uses GTK2. There is a porting branch to GTK3 in git for > master. Some smarter behavior about extra axes is expected there. > GTK3 should have XI2 support. > > Setting up pad as extended device is of limited value to the actual > user, because of the way gimp handles tools and devices. You cant > actually use the pad device to manipulate the image with a tool so any > shortcuts you assign to it can only be for scripts and ui manipulation > actions, any actions relating to tools will only affect tools while > the pad itself is active. Because it is seldom used it runs very > little tested code paths. Proper trace would be of interest for me as > well. > I'm not sure if I'll have time to make a trace (this project is on a pretty tight timeline), but I'll forward it your way if it happens. To get the data out I was essentially turning the tablet into a giant Etch-A-Sketch. On my 21UX, I can have Gimp look in valuators 4 and 5 for the X and Y axes and make (extremely) crude drawings with the touch strips. Doing the same thing with the 24HD though causes the aforementioned crashes. It seems to read the data, but crashes as soon as I remove my finger from the ring. I'm more leaning to it being a problem with my implementation since the 21UX works, but I can't dismiss the alternative.
Jason --- Day xee-nee-svsh duu-'ushtlh-ts'it; nuu-wee-ya' duu-xan' 'vm-nvshtlh-ts'it. Huu-chan xuu naa~-gha. ------------------------------------------------------------------------------ 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
