On Thu, 21 Jun 2007 08:14:43 +0200,
Marco Piovanelli (email@hidden) wrote:
>I had hoped Leopard would provide an easier way to strip modifier
>keys that would work with any keyboard. I guess I'll file an
>enhancement request.
I've been pondering about this a little bit more, and I think
what I'd really like to see is a simpler, higher-level key
translation API that doesn't force me to care about the various
keyboard layout formats (KCHR, uchr, etc.) but just takes a
TISInputSourceRef (or NULL, referring to the currently selected
keyboard). Something like this:
CFStringRef
TISKeyTranslate (
TISInputSourceRef inKeyboardInputSource, // NULL = current keyboard
UInt16 inVirtualKeyCode,
UInt16 inKeyAction,
UInt32 inModifiers,
OptionBits inKeyTranslateOptions,
UInt32 * ioDeadKeyState // can be NULL
);
-- marco
--
It's not the data universe only, it's human conversation.
They want to turn it into a one-way flow that they have entirely
monetized. I look at the collective human mind as a kind of
ecosystem. They want to clear cut it. They want to go into the
rainforest of human thought and mow the thing down.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden