View Single Post
Old 10-22-2025, 03:23 PM   #9
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 48,058
Karma: 174315300
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by xA907x View Post
Today I noticed that the KoboRoot adds an extra keyboard layout, that I'll have to look at.
The extra keyboard layout is a bit strange. The only way I've seen to modify keyboard layouts is using the KoboPatch tool. There were some patches to replace the extended Latin keyboard on a Kobo ereader with Arabic characters but I haven't seen a patch for it on current firmware. I've copied an older Arabic keyboard patch in the spoiler/code tags below:

Spoiler:
Code:
#
## Replaces keys on the Extended Latin keypad with Arabic alternatives.
## Note that after the device boots, the keypad will just show blank squares
## until the first book has been opened.
#  
# 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`, `-`
DNSB is offline   Reply With Quote