Quote:
Originally Posted by GeoffR
I've updated the keyboard template patch in post #34 to include most of the other keys in the top row of the keyboard.
If someone can use the new template to create a more complete Arabic, Hebrew, and Turkish keyboards then post them here and I'll add links to them in the "more patches" section of post #2.
|
hi
thank you GeoffR
this is a Persian ( also Arabic ) keyboard made by your privious work include four extra character in Persian ( پ چ ژ گ ), I tried to replace correct form with ًQWERTY template
Code:
<Patch>
patch_name = `Persian keyboard`
patch_enable = `yes`
# Enable uppercase for `ß` key
replace_bytes = 90726C, 00 24, 01 24
# Replace layout sign
replace_string = D6C4F8, `ÉÀÇ`, `FA/EN`
# 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>`
here is the pic:
but still have a question
in your code these extra lines refer to the numbers ? (refer to which part of the keyboard)
base_address = D6E8E4
# Top row, position 3-5 from left
replace_string = 0004, `þ\0`, `þ`
replace_string = 0008, `š\0`, `š`
replace_string = 000C, `ž\0`, `ž`
# Top row, position 7-10 from left
replace_string = 0000, `ƒ\0`, `ƒ`
replace_string = 0010, `μ\0`, `μ`
replace_string = 0014, `ª\0`, `ª`
replace_string = 0018, `º\0`, `º`
since I changed my keyboard I can't match them with original places
and after this line "base_address = D6C418 " (line 21 ) everything is the same as privious template