Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-07-2009, 08:34 AM
|
#1
|
LQ Newbie
Registered: May 2006
Posts: 11
Rep:
|
Where does GIMP get graphics tablet input data?
I'm thinking of writing an add-on for GIMP that would provide more control over the data received from a graphics tablet. Now, I'm not sure how GIMP receives said input data - can this add-on be made as a simple plugin or would I have to get dirty with the core?
Also, what would be the best place to find more info about how GIMP works?
Thanks!
|
|
|
02-07-2009, 08:38 AM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Gimp get the signals from the xorg server not from the pad. Start looking there and the kernel driver first.
Last edited by jschiwal; 02-07-2009 at 08:40 AM.
|
|
|
02-07-2009, 10:37 AM
|
#3
|
LQ Newbie
Registered: May 2006
Posts: 11
Original Poster
Rep:
|
Quote:
Originally Posted by jschiwal
Gimp get the signals from the xorg server not from the pad. Start looking there and the kernel driver first.
|
So it wouldn't be possible to just change the way GIMP interprets the data, I'd have to start from the kernel driver?
|
|
|
02-07-2009, 10:46 AM
|
#4
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Depends. Are there signals ignored by gimp? Or should some things like gestures be handled by the gimp.
What do you want to add or handle differently. If there is a button that is dead, that is probably an xorg.conf configuration issue. If you want a line to thicken if there is more pressure applied, and the driver does provide pressure information, that might be something you can add.
|
|
|
02-07-2009, 11:09 AM
|
#5
|
LQ Newbie
Registered: May 2006
Posts: 11
Original Poster
Rep:
|
Quote:
Originally Posted by jschiwal
Depends. Are there signals ignored by gimp? Or should some things like gestures be handled by the gimp.
What do you want to add or handle differently. If there is a button that is dead, that is probably an xorg.conf configuration issue. If you want a line to thicken if there is more pressure applied, and the driver does provide pressure information, that might be something you can add.
|
I was thinking along the lines of a mass effect from Inkscape and/or to make it easier to draw straight lines - perhaps ignoring some of the input data sent so as to avoid "wobbly" lines.
So yes, just reinterprenting data that is already received by GIMP in different ways.
|
|
|
All times are GMT -5. The time now is 05:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|