Ettore Pasquini ([EMAIL PROTECTED]) wrote:
> I work for 3Dconnexion (a Logitech company) and we make 3D input devices.
> We also care about popular 2D apps that could use the high sensitivity of
> our SpaceNavigator for panning and zooming. GIMP was under our radar and
> now we are considering to add support for our devices.
> I am new to the GIMP code base so I wanted to ask some questions about the
> architecture first. What would be the best way (from a pure engineering
> standpoint) to integrate my code? Meaning, via a plugin or just into the
> main app? Are there modules for I/O events (to deal with tablets,
> controllers, etc) that I should start with and expand?
> BTW let's not worry about licensing issues now. My code will obviously be
> shared and our devices are HID compliant, so no need to mess with
> proprietary drivers.
yeah, except for at least one quirk :)
(I wrote the patch to enable the LEDs for the Linux-Kernel :)
On what Operation System are you working btw.?
There already is a HID input module for the Gimp, you can find the
source code in the top-level "modules" directory, relevant are the
We have various input modules, also available is a MIDI input module.
The current architecture unfortunately does not yet allow you to hook
into the (paint)-Tools directly, you can only invoke "actions". There
are lots of actions and it is easy to e.g. control the opacity.
However, you can not control the pointer position in this way.
Have a look into this, I'd be glad to help you to work on this.
[EMAIL PROTECTED] http://simon.budig.de/
Gimp-developer mailing list