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: GetKeys equivalent for Universal Binaries



On Apr 5, 2006, at 4:12 PM, Kaveh Kardan wrote:

I'm porting some legacy code from OS9 to Universal Binaries, and was wondering if there is a simple equivalent to the GetKeys() call. Basically, I need to be able to poll the modifier keys (shift and option).

This is probably better asked on carbon-dev rather than xcode-users, but GetKeys is part of Carbon. It should work for you. There's a little trickiness on Intel because you have to pass a different type, but it still works....


-Eric

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >GetKeys equivalent for Universal Binaries (From: Kaveh Kardan <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.