View Single Post
Old 01-12-2016, 10:22 PM   #12
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
`Bulgarian keyboard`

A Bulgarian keyboard, to add to the collection. Thanks Tonysd.

Spoiler:
Code:
<Patch>
patch_name = `Bulgarian keyboard`
patch_enable = `yes`
# patch_group = `Keyboard alternatives`
#
## Replaces keys on the Extended Latin keypad with Bulgarian alternatives.
#  
# Enable uppercase for `ß` key
replace_bytes = 851C38, 00 24, 01 24
# Replace layout sign
find_base_address = `ÉÀÇ`
replace_string = 0000, `ÉÀÇ`, `абв`
# Change keyboard layout
find_base_address = `æ\0\0à\0\0è\0\0ì\0\0`
# Second row, left to right:
# (for Touch/Mini/Glo/Aura the first key moves to top row, first column.)
replace_string = 0000, `æ\0`, `!`
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, left to right:
# (for Touch/Mini/Glo/Aura the first key moves to top row, second column.)
replace_string = 0030, `œ\0`, `?`
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, left to right:
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`, `.`
#
# Top row: Extra keys for Touch/Mini/Glo/Aura only.
# (This patch cannot change the top row of the AuraHD/H2O/GloHD keypad.)
find_base_address = `ƒ\0\0þ\0\0š\0\0ž\0\0`
# Top row: columns 1-2 (see first key of second/third rows above.)
# Top row: columns 3-5
replace_string = 0004, `þ\0`, `"`
replace_string = 0008, `š\0`, `@`
replace_string = 000C, `ž\0`, `=
# Top row: column 6 is a duplicate of the last key on the bottom row.
# Top row: columns 7-10
replace_string = 0000, `ƒ\0`, `(`
replace_string = 0010, `μ\0`, `)`
replace_string = 0014, `ª\0`, `-`
replace_string = 0018, `º\0`, `_`
</Patch>
GeoffR is offline   Reply With Quote