Hi,

On Mon, 2007-06-04 at 14:25 -0700, Eric Bowden wrote:

> I am trying to write a <something> (more on that later) for the Gimp
> that allows a 6-DOF device (specifically, a 3dConnexion SpaceTraveler)
> to manipulate a selected layer, with the most important functions
> being the ability to translate and rotate (rotating into the screen (a
> la perspective transform) would be nice too).  Now, I tried to write a
> C-Plug-in but the driver for this device (on Linux) requires me to
> retrieve all events off an X Window -- fine, so my plugin pops up a
> dummy X-window to receive events.  My plugin receives the events just
> fine and can track the state of the Device, but if I want to preview
> any operations I make through a gimp_dialog the X Events get squelched
> until the dialog closes.

You could do the same thing that the GIMP input controller modules do
and read the events directly from the Linux Input layer instead of
receiving them as X events. As long as this is the only application
using the device, it should work just fine.


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to