Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting the mouse location



I know there is a way to set the mouse location on OS 8/9, but I haven't
been able to find a way in OS X, and have doubts that it is even possible.

Here's my implementation of glutWarpCursor that works properly in both Carbon9 and CarbonX environments. It allows you to build a single binary that controls the mouse in both.

http://www.inio.org/~inio/glutWarpCursor.sit

you need to include CursorDevicesGlue.o in the project for this to link properly.

For some more information check this thread over at the iDevGames forum:
http://www.idevgames.com/forum/showthread.php?s=&postid=4241#post4241
_______________________________________________
mac-games-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/mac-games-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.