[PD] Gem - glutWarpPointer?

Chris McCormick chris at mccormick.cx
Mon Dec 17 01:30:28 CET 2007

On Fri, Dec 14, 2007 at 01:17:39PM -0500, Hans-Christoph Steiner wrote:
> You could probably do it by using [hid] to get the mouse events.   
> Also, my new [cursor] object will give you the screen pixel coords,  
> which might be easier than the relative data direct from the mouse/hid.

Thanks for the hints. I can already get screen pixel coordinates of the
mouse using Gem functions. The problem is when the mouse hits the edge
of the screen, or leaves the window, they stop coming in. Maybe [hid]
solves that problem, but aren't there cross platform issues with [hid]? I
think I am basically going to have to wrap some functions of the SDL
library in an external since that's very cross platform, and very widely
supported. I've been meaning to do it to get in joystick data for
ergates for a while now.




More information about the Pd-list mailing list