Christopher Hansen (christopher.han...@yahoo.com) on 2009-05-14 1:45 PM said:

>I'm writing a game and I need to set the key and key repeat thresholds
>in my Cocoa application.  The functions needed to do to this under
>Carbon (Events.h) are:
>
>LMGetKeyThresh
>LMSetKeyThresh
>LMGetKeyRepThresh
>LMSetKeyRepThresh
>
>I'm looking for the Cocoa equivalents.

Such questions perplex me.  You don't like procedural C APIs?  You'd
rather some class method?  Or a C API that starts with NS?  Though the
setters are deprecated, the getters above are not deprecated and are
available in 64 bit.  Are you trying to avoid linking to the
Carbon.framework because you currently don't link to it?  In any case, I
believe those API are your only/best choice.

Sean


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to