The code used for getting the wii controllers to work as mice might be worth a look too, not sure how they're doing it but the first mode they had was pure accels I believe.
Try having a dig at:
http://www.wiili.org/Main_Page

On 11/15/07, MenTaLguY <mental@...3...> wrote:
On Thu, 15 Nov 2007 12:42:00 -0500, Gail Carmichael <gbanaszk@...1686...> wrote:
> bulia byak wrote:
>> We get all mouse position information from the events sent by GTK. The
>> code to parse these events is actually all over the place - in tool
>> contexts etc.
>
> Oh, boo! That might make it a bit more difficult.  Thanks for the info
> (any anything else anyone can add).

Have you considered injecting synthetic mouse events into the GDK event
queue using gdk_event_put?

-mental


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel