• 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: CGEventKeyboardGetUnicodeString + modifier key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CGEventKeyboardGetUnicodeString + modifier key


  • Subject: Re: CGEventKeyboardGetUnicodeString + modifier key
  • From: Andrew Farmer <email@hidden>
  • Date: Sun, 15 Apr 2007 00:18:53 -0700

On 14 Apr 07, at 23:40, email@hidden wrote:
My question is, what is the ASCII code for a option-letter if you know the letter? If u is ASCII decimal 117, how do I get ASCII 159, which is ΓΌ? And so on for other characters?

There's no fixed method; the character that results from a keypress is based on a big messy lookup process through the user's current keyboard layout and input method.


The real question is: What exactly are you trying to implement? There's probably a much better way of going about it._______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: CGEventKeyboardGetUnicodeString + modifier key
      • From: Bill <email@hidden>
    • Re: CGEventKeyboardGetUnicodeString + modifier key
      • From: Bill Cheeseman <email@hidden>
References: 
 >CGEventKeyboardGetUnicodeString + modifier key (From: email@hidden)

  • Prev by Date: Re: Sorting Array Alphabetically
  • Next by Date: Re: CGEventKeyboardGetUnicodeString + modifier key
  • Previous by thread: CGEventKeyboardGetUnicodeString + modifier key
  • Next by thread: Re: CGEventKeyboardGetUnicodeString + modifier key
  • Index(es):
    • Date
    • Thread