confusion in keycode
confusion in keycode
- Subject: confusion in keycode
- From: "Gurmit Teotia" <email@hidden>
- Date: Fri, 2 Jun 2006 20:37:46 +0530
Hi All,
My application will receive the mouse and keyboard events from another
application running on Windows platform and I've to simulate them on MAC
using my application (just like VNC server). Now my application will receive
the keycode of Windows operating system which I've to map to MAC OS key
code. I've checked the source code of VNC server code from sourforge.net as
well, they also use a table to map to MAC key code but that mapping is done
only for US keyboard. Now I've these problems:
Do I have to create seperate map tables for different languages? Does
keycode change according to language? I tried by changing the language and
Input method from System Preference->International settings but it does not
seems to change. If we have to create different map table then what is the
suggested way of doing that, I know in localization we can store the values
in key-value paire but I'm not able see a best approach.
Second question is after changing the language and input method in System
Preference->Internation settings to some other language like chinees or
french, my keyboard still generate a,b,c,d. in text editor but I can see the
menus in chinees or french language. Can't I generate the character of
other language just by changing language in Internation settings.
Please bear with me if my question looks silly. I don't have much idea about
internationalization.
Regards,
Gurmit
_______________________________________________
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