PDA

View Full Version : Please help me to collect localized VK-ini-files



ReneMiner
23-09-2013, 10:32
I need some ini-file localized to as many keyboard-layouts as possible for international purposes so that's why I ask you all to do me a small favour:

Attached some ini-File that contains the german keyboard layout - I just changed extension to .txt so I can upload it here. It would be great to have the characters that appear if you press these keys on your keyboard (AltGr means Right-Menu on some keyboards - on mine it's AltGr-Key...)

How to?

Open the text-file and run the VK-Example from this post (http://www.thinbasic.com/community/showthread.php?t=12011&highlight=sucks) to check the VK-numbers out. Fill in the real chars to the ini-file that appear when you press a key (lower), Key together with Shift (Upper) and together with right menu key (AltGr) if they differ from lower char.
Name the file finally Keyboard_<your language>.txt and post it here.

It's especially about keys as +,;:-#'~äöüß?[]{}<|>= etc. that are at different places on my german keyboard. It doesn't need numpad-, edit- nor function-keys but just the positions of the chars that differ. Some of them have no equate, so these are listed like "VK186" which equals the ü-Key on my keyboard.

Finally my current project - and probably a few others - will work localized correct to all keyboard-layouts if the user is able to pick his layout by language.

Thanks in advance,

René

Petr Schreiber
23-09-2013, 10:42
Hi Rene,

I attach version for Czech keyboard.

Petr

ReneMiner
23-09-2013, 13:30
Thanks a lot- just confuses me so I ask back to make sure: You have to press Shift-Key to access the numerals 0 to 9 ?
And key 226 (<,|) has no char without holding Shift nor AltGr? Or is it mixed up?

Petr Schreiber
23-09-2013, 13:51
You have to press Shift-Key to access the numerals 0 to 9 ?

Yes, exactly :)



And key 226 (<,|) has no char without holding Shift nor AltGr? Or is it mixed up?

I don't have key 226 on my keyboard at all.


Petr

ReneMiner
23-09-2013, 13:58
...

I don't have key 226 on my keyboard at all.


Petr

Still big problem please help -


Edit: had to change this post -if it starts with the words "Then no problem" in threads-overview everybody thinks that thing is done - in reality no problem because the key can not be pushed :D
and I still would like to have a few more keyboard-layouts since Windows-Function MapVirtualKey is no help at all, as you can imagine when thinking of the keyboard differences and what letter to display when holding shift or right menu key.

Secretly and silent some French+English(US)-Keyboard layout came overnight - this is great - thanks to the not mentioned one - I'll append it here to complete the collection:

ReneMiner
24-09-2013, 10:03
Already came a big step further now - attached some test-script - does not do much - but will show which char has been pushed according to your selected keyboard-layout. So you just might push buttons on your keyboard and see a character then.

I'll need that later for TBGL-GUI-Textboxes, Inputboxes & similar - but since I do not want to start creating the controls before some special stuff (http://www.thinbasic.com/community/project.php?issueid=440#note2627)for UDTs has been developed I busy myself doing some preparations as this.

Lot of stuff in the keyboard-unit has been commented out - just ignore anything commented in Function Keyboard_Read ;)

You will need Minversion 1.9.8.0 and also the latest TBGL-Package (http://www.thinbasic.com/community/showthread.php?t=10909) to run this

Petr Schreiber
24-09-2013, 19:29
Thanks,

I updated the czech file in my original post - I found key 226 on my home keyboard.


Petr