View Single Post
Old 09-20-2011, 11:53 AM   #548
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by VICTORSJG View Post
Ben i've seen in calendar.js the keyboard is loaded once at startup, i don't know if the different keyboards could be loaded selecting them via a menu on prs settings wich user wants to choose, once these keyboards have been defined in calendar.js.
Hi Victor,

Yes, the plan is to be able to choose different keyboards using the Calendar options popup. However, this involves extending the number of keys on the popup which will also affect the format of the keyboard file. So, while the potential is there, the actual implementation of alternate keyboards might take a while.

However, for people like yourself who build your own PRS+, you can modify the western.kbd file and put in your own characters. This will then be loaded when the Calendar starts. (Note that if this file is missing, Calendar just loads the regular western keyboard anyway! So it is not strictly required, I just did it this way so that people could do their own keyboards.)

It should be obvious how the file works. There are basically 4 "pages" of characters, 2 for letters and 2 for symbols, with SHIFT to switch between the lower and uppercase letters, and the 2 symbol pages. You will quickly find, however, that there is only room for 26 characters each on the four different "pages". This is why we need to extend the number of keys on the popup. In the meantime, you will need to sacrifice some of the symbol keys for any extra letters your language requires.

Hope this helps!

Sincerely,
Ben.
BenChen is offline   Reply With Quote