View Single Post
Old 11-08-2012, 02:21 AM   #205
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Quote:
Originally Posted by diba View Post
@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).

See https://www.mobileread.com/forums/sho...d.php?t=119969
dsmid is offline   Reply With Quote