Re: Confused about CFRunLoop
Re: Confused about CFRunLoop
- Subject: Re: Confused about CFRunLoop
- From: Eric Schlegel <email@hidden>
- Date: Tue, 18 Mar 2008 21:25:28 -0700
On Mar 18, 2008, at 7:23 PM, Brian Greenstone wrote:
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 :)
Maybe we should take this offline. The only lower-level call in CF
that you would replace [NSApp run] with would be CFRunLoopRun, but you
already said that didn't work, because it prevented mouse and keyboard
events from being processed. That's exactly what I'd expect.
-eric
_______________________________________________
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