• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Keyboard problems in Logic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >AudioQueue - Setting channel layout (From: Richard Bannister <email@hidden>)
 >Keyboard problems in Logic (From: john smith <email@hidden>)
 >RE: Keyboard problems in Logic (From: john smith <email@hidden>)

  • Prev by Date: RE: Keyboard problems in Logic
  • Next by Date: Re: Keyboard problems in Logic
  • Previous by thread: RE: Keyboard problems in Logic
  • Next by thread: Re: Keyboard problems in Logic
  • Index(es):
    • Date
    • Thread