[PD] Gem - glutWarpPointer?

Hans-Christoph Steiner hans at eds.org
Mon Dec 17 06:14:25 CET 2007


On Dec 16, 2007, at 1:07 AM, Chris McCormick wrote:

>> On Dec 14, 2007 4:43 AM, Chris McCormick <chris at mccormick.cx> wrote:
>>> My dream of writing a quake style shooter in Gem (heh) has been  
>>> foiled.
>>> Apparently neither Gem nor luagl support the glutWarpPointer call  
>>> which
>
> On Fri, Dec 14, 2007 at 09:43:24AM -0600, chris clepper wrote:
>> It would mean requiring GLUT to build GEM, which is a dependency  
>> we removed
>> a while ago.  Also, this function apparently does not work on OSX.
>
> Ah ok, I'm glad Gem doesn't depend on GLUT. Do you know how games like
> Quake get mouse-look values on OSX without allowing the mouse to go
> outside the window?

They probably use the USB HID API for getting the data directly from  
the devices.  Then you can turn off the mouse pointer and ignore it  
completely.

.hc


------------------------------------------------------------------------ 
----

"Free software means you control what your computer does. Non-free  
software means someone else controls that, and to some extent  
controls you." - Richard M. Stallman






More information about the Pd-list mailing list