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.
.hc On Dec 14, 2007, at 5:43 AM, Chris McCormick wrote: > Hi, > > My dream of writing a quake style shooter in Gem (heh) has been > foiled. > Apparently neither Gem nor luagl support the glutWarpPointer call > which > many shooters use to restrict the mouse to the centre of the screen > between reads of the mouse pointer movements (so the mouse can't move > off the screen). That and the fact that the Gem window sometimes seems > to not pick up key presses in full screen mode. Any chance we can add > glutWarpPointer to Gem? Any other ideas? > > Best, > > Chris. > > ------------------- > http://mccormick.cx > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/ > listinfo/pd-list ------------------------------------------------------------------------ ---- "It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
