Non-english keyboard

Illidanz

13-09-2008 09:50:05

Hello,
I'm trying to use MyGui with a non-english keyboard, and some keys are swapped, however when I press them I get the american layout input

How can I "translate" the key depending on the layout of the user keyboard?

Thanks

~[L]~

13-09-2008 20:49:38

http://lawliet.net84.net/MyGUI/a00055.h ... 4f4af6b91d

Altren

14-09-2008 01:58:16

Add this to core.lang file but swap symbol codes that swapped on your keyboard.<Lang name="Eng">
0, 0, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 0, 0, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 0, 0, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 96, 0, 92, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 0, 42, 0, 32,
0, 0, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 0, 0, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 0, 0, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 126, 0, 124, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, 0, 42, 0, 32
</Lang>
Then after MyGUI initialisation addInputManager::getInstance().setCurrentLanguage("Eng");

Illidanz

14-09-2008 09:02:33

Thanks for your answers!

I'm trying to edit the file but I have a couple of problems.
What about keys that are not in the english one? for example in my keyboard the "=" is "ì" and I can't find that letter in the <Help name="name_language"> part of the lang file

Other problems are the @ key for example, that need the key AltGR (right Alt) to be pressed, or the "{" that needs leftAlt+Shift+[ as you can see here: http://en.wikipedia.org/wiki/Image:KB_Italian.svg

Illidanz

22-09-2008 21:49:49

No one?

The shift or alt-gr keys are not that important, but I'm trying to find a solution for the other keys (àèìòù)

Thanks