Re: Keyboard problems in Logic
Re: Keyboard problems in Logic
- Subject: Re: Keyboard problems in Logic
- From: tahome izwah <email@hidden>
- Date: Thu, 13 Aug 2009 10:53:50 +0200
Looks like this works fine if you're using a Cocoa UI, maybe you
should consider switching?
Another way to do this is to not use events but directly poll the keyboard
short isPressed(unsigned short k )
// k = any keyboard scan code, 0-127
{
KeyMap km;
GetKeys( km);
char *kk = (char *)&km;
return ( ( kk[k>>3] >> (k & 7) ) & 1);
}
Not a clean approach though.
HTH,
--th
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden