View Single Post
Old 02-20-2015, 12:11 PM   #35
barobach_so
Connoisseur
barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.
 
Posts: 76
Karma: 25460
Join Date: Feb 2015
Device: kobo h2o
Quote:
Originally Posted by GeoffR View Post
Here is a version of the Cyrillic keyboard patch that doesn't require the letters to be coded as hex bytes. You can use it to create your own keyboard patches by replacing the Cyrillic letters with any other UTF-8 letter. Tap the "ÉÀÇ" key on your Kobo keyboard to see the letters that are being replaced. (Use lowercase letters in the patch, the shift key will use the appropriate uppercase letter automatically if one exists.)

Spoiler:
Code:
<Patch>
patch_name = `Cyrillic keyboard (template)`
patch_enable = `yes`
# Enable uppercase for `ß` key
replace_bytes = 90726C, 00 24, 01 24
# Replace layout sign
replace_string = D6C4F8, `ÉÀÇ`, `абв`
# Change keyboard layout
base_address = D6C418
# Top row
replace_string = 0000, `æ\0`, `й`
replace_string = 0030, `œ\0`, `ф`
# Second row
replace_string = 0004, `à\0`, `ц`
replace_string = 0008, `è\0`, `у`
replace_string = 000C, `ì\0`, `к`
replace_string = 0010, `ò\0`, `е`
replace_string = 0014, `ù\0`, `н`
replace_string = 0018, `á\0`, `г`
replace_string = 001C, `é\0`, `ш`
replace_string = 0020, `í\0`, `щ`
replace_string = 0024, `ó\0`, `з`
replace_string = 0028, `ú\0`, `х`
replace_string = 002C, `ý\0`, `ъ`
# Third row
replace_string = 0034, `â\0`, `ы`
replace_string = 0038, `ê\0`, `в`
replace_string = 003C, `î\0`, `а`
replace_string = 0040, `ô\0`, `п`
replace_string = 0044, `û\0`, `р`
replace_string = 0048, `ä\0`, `о`
replace_string = 004C, `ë\0`, `л`
replace_string = 0050, `ï\0`, `д`
replace_string = 0054, `ö\0`, `ж`
replace_string = 0058, `ü\0`, `э`
replace_string = 005C, `ÿ\0`, `ё`
# Bottom row
replace_string = 0060, `ã\0`, `я`
replace_string = 0064, `ñ\0`, `ч`
replace_string = 0068, `õ\0`, `с`
replace_string = 006C, `å\0`, `м`
replace_string = 0070, `ß\0`, `и`
replace_string = 0074, `ç\0`, `т`
replace_string = 0078, `đ\0`, `ь`
replace_string = 007C, `ø\0`, `б`
replace_string = 0080, `ij\0`, `ю`
replace_string = 0084, `ł\0`, `.`
</Patch>
Hi
Thank you GeoffR
I really appreciate you work
I build a Persian Keyboard by your patch with unicode characters
change "ÉÀÇ" to "FA/EN" for change keyboards, but I miss some Persian characters there is no other place to put it.

can I somehow make shift key to do something and give me other empty places to put other characters?

Persian and Arabic have a lot of vowel characters.

Last edited by barobach_so; 02-20-2015 at 12:15 PM.
barobach_so is offline   Reply With Quote