• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Confused about CFRunLoop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Confused about CFRunLoop
      • From: Eric Schlegel <email@hidden>
References: 
 >Confused about CFRunLoop (From: Brian Greenstone <email@hidden>)
 >Re: Confused about CFRunLoop (From: Eric Schlegel <email@hidden>)
 >Re: Confused about CFRunLoop (From: Brian Greenstone <email@hidden>)
 >Re: Confused about CFRunLoop (From: Eric Schlegel <email@hidden>)

  • Prev by Date: Re: OT: Cocoa classes in Vancouver, Canada
  • Next by Date: Re: Adding spaces to an NSString
  • Previous by thread: Re: Confused about CFRunLoop
  • Next by thread: Re: Confused about CFRunLoop
  • Index(es):
    • Date
    • Thread