Re: Confused about CFRunLoop
Re: Confused about CFRunLoop
- Subject: Re: Confused about CFRunLoop
- From: Brian Greenstone <email@hidden>
- Date: Tue, 18 Mar 2008 21:23:36 -0500
Actually, no. Not for games. For games we use the HID Manager for
input which allows us to use more than just the keyboard and mouse.
It allows for gamepads, steering wheels, tablets, etc, etc. The code
doesn't even need to know where the input is coming from. The code
can't tell the difference between a mouse click, a key press, or a
joystick button press. It all gets abstracted out :)
-B
On Mar 18, 2008, at 7:12 PM, Eric Schlegel wrote:
On Mar 18, 2008, at 6:41 AM, Brian Greenstone wrote:
Works perfectly! It inserts my timer into the main run loop and
processes everything as it should. Now I just need to figure out
the CF equivalent of thos NSApplication calls and then I can be Obj-
C free ;)
If you want mouse and keyboard events to be handled, you _must_ use
either Carbon or Cocoa; you can't use CF by itself.
-eric
__________________________________________________________
Brian Greenstone
President & CEO email@hidden
Pangea Software, Inc. http://www.pangeasoft.net
12405 John Simpson Ct. voice/fax: (512)266-9991
Austin, TX 78732
__________________________________________________________
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden