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: Is GetKeys still preferred?



At 16:07 -0700 08-04-29, Stefan Werner wrote:

I believe the preferred method is to not use any polling whatsoever and listen for key up/down events instead. I am not aware of any direct 'modern' replacement for GetKeys (or GetMouse).

Yeah, it's what the Windows side is doing. Luckily this is only in debug builds. Unluckily they're looking for function keys -- if it were just modifiers I could use something like GetCurrentKeyModifiers.
--


David Dunham     A Sharp, LLC
Voice/Fax: 206 783 7404     http://a-sharp.com
Efficiency is intelligent laziness.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Is GetKeys still preferred? (From: David Dunham <email@hidden>)
 >Re: Is GetKeys still preferred? (From: Stefan Werner <email@hidden>)



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.