LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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


Reply
  Search this Thread
Old 02-07-2009, 08:34 AM   #1
Paralel
LQ Newbie
 
Registered: May 2006
Posts: 11

Rep: Reputation: 0
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!
 
Old 02-07-2009, 08:38 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
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.
 
Old 02-07-2009, 10:37 AM   #3
Paralel
LQ Newbie
 
Registered: May 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jschiwal View Post
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?
 
Old 02-07-2009, 10:46 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
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.
 
Old 02-07-2009, 11:09 AM   #5
Paralel
LQ Newbie
 
Registered: May 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jschiwal View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I configure my wacom graphics tablet to work with ubuntu (inkscape,GIMP etc.) izquierdista Ubuntu 5 09-30-2007 11:05 PM
Who knos about pressure sensitivty in GIMP with a cyber tablet? staph Linux - Software 0 03-24-2007 09:42 PM
Pablo Tablet: GIMP iXneonXi Linux - Software 4 11-08-2006 06:50 PM
TRUST graphical tablet + linux + gimp vmicho Linux - Hardware 1 11-07-2006 05:11 AM
GIMP won't let go of my tablet pointer! leiavoia Linux - Software 0 02-24-2006 08:00 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration