Originally Posted by diba
@dsmid: why are 2 keyboard.txt in your version? What is the k...-european.txt good for? Changed the keyboard.txt and everythings fine ...
physkeyb was invented by Sir Alex and it was intended to be used for Russian cyrillic alphabet. Therefore the English and Russian layouts were simply switched by pressing Shift-Space. The layout from keyboard.txt was used after the switch.
But this mode is not useful for languages that use latin alphabet like Czech or Polish or even German, because typing texts requires switching the layouts all the time.
Therefore Sir Alex added a new feature configured by keyboard-european.txt. This layout enables typing additional characters by double-pressing keys, e.g. pressing key A twice would type š, if it is defined so. Using keyboard-european.txt disables the switching mode.
I implemented a timeout feature later to define for how many miliseconds it should wait for the second press before giving up (otherwise you won't be able to type "Kanaan" - it would always give you Kanšn).