help with intelizing
help with intelizing
- Subject: help with intelizing
- From: Benjámin Salánki <email@hidden>
- Date: Wed, 2 Aug 2006 19:43:18 +0200
Hi dear list.
I have a simple function:
static BOOL AnyKeyDown()
{
const UInt32 kCapsLockBit = 0x02L;
KeyMap keys;
GetKeys(keys);
return keys[0] || (keys[1] & ~kCapsLockBit) || keys[2] || keys[3];
}
now this works great when I compile for PPC, but when I try to
compile for Intel I get the following errors:
error: used struct type value where scalar is required
error: invalid operands to binary &
could anyone help me get this to work on Intel as well?
thanks so much,
ben
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden