Connoisseur
Posts: 93
Karma: 1228255
Join Date: May 2009
Device: Aura H2O, Aura One, Libra Colour
|
I stand corrected, the patch applies with the old find_base_address statement.
With the new key order the cyrillic patch now reads as follows:
Spoiler:
Code:
<Patch>
patch_name = `Cyrillic keyboard`
patch_enable = `yes`
# patch_group = `Keyboard alternatives`
#
## Replaces keys on the Extended Latin keypad with Cyrillic alternatives.
#
# Enable uppercase for `ß` key
replace_bytes = 6FFB40, 00 26, 01 26
# Replace layout sign
find_base_address = `ÉÀÇ`
replace_string = 0000, `ÉÀÇ`, `АБВ`
# Change keyboard layout
find_base_address = `æ\0à\0è\0ì\0`
# Top row
replace_string = 0021, `ý`, `ё`
# overflow from third row
replace_string = 0045, `ÿ`, `э`
# overflow from bottom row
replace_string = 0054, `ß`, `ю`
# overflow from second row
replace_string = 0060, `ij`, `х`
replace_string = 0E8F, `ŀ`, `ъ`
# Second row, left to right:
replace_string = 0003, `à`, `й`
replace_string = 0012, `á`, `ц`
replace_string = 0027, `â`, `у`
replace_string = 0036, `ä`, `к`
replace_string = 0048, `ã`, `е`
replace_string = 0051, `å`, `н`
replace_string = 0006, `è`, `г`
replace_string = 0015, `é`, `ш`
replace_string = 002A, `ê`, `щ`
replace_string = 0039, `ë`, `з`
# Third row, left to right:
replace_string = 000C, `ò`, `ф`
replace_string = 001B, `ó`, `ы`
replace_string = 0030, `ô`, `в`
replace_string = 003F, `ö`, `а`
replace_string = 004E, `õ`, `п`
replace_string = 005D, `ø`, `р`
replace_string = 0009, `ì`, `о`
replace_string = 0018, `í`, `л`
replace_string = 002D, `î`, `д`
replace_string = 003C, `ï`, `ж`
# Bottom row, left to right:
replace_string = 000F, `ù`, `я`
replace_string = 001E, `ú`, `ч`
replace_string = 0033, `û`, `с`
replace_string = 0042, `ü`, `м`
replace_string = 004B, `ñ`, `и`
replace_string = 0057, `ç`, `т`
replace_string = 005A, `đ`, `ь`
replace_string = 0063, `ł`, `б`
</Patch>
Since the lines are shorter than a standard keyboard the second, third and fourth row end keys flow over into the top row, the second to the right of top row, the third to the left and the fourth to the right again, as follows
Code:
ё э(from 3rd) [unchanged keys] ю(from 4th) х ъ(from 2nd)
й ц у к е н г ш щ з
ф ы в а п р о л д ж
я ч с м и т ь б
|