Re: Interfacing with a 6-DOF Device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux