View Single Post
Old 10-05-2016, 11:00 PM   #29
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
Thanks for testing that Bald Eagle.

With such different layouts for different devices, maintaining patches for each combination of language and device is going to be a lot of work. As well, the Aura One keyboard has fewer keys than the other devices, and I don't know how the layout of the custom keyboards should be changed to fit.

This is a Keyboard template patch for the Aura One, it just needs the replacement keys to be filled in according to this pattern:
Code:
Row:  Position
---:-----------
Top: 0123456789
2nd: 0123456789
3rd: 0123456789
Bot:  12345678
Keyboard template (Aura One), paste into libnickel.so.1.0.0.patch:
Spoiler:
Code:
<Patch>
patch_name = `Keyboard template (Aura One)`
patch_enable = `yes`
# patch_group = `Keyboard alternatives`
#
## Replaces keys on the Extended Latin keypad.
#
# Aura One keyboard layout:
#
# Row:  Position
# ---:-----------
# Top: 0123456789
# 2nd: 0123456789
# 3rd: 0123456789
# Bot:  12345678
#  
# Untested: Enable uppercase for `ß` key (Top row, pos 7)
#replace_bytes = 6FFB40, 00 26, 01 26
#
# Replace layout sign (Cyrillic example)
find_base_address = `ÉÀÇ`
replace_string = 0000, `ÉÀÇ`, `абв`
# Change keyboard layout
find_base_address = `š\0ž\0þ\0ŀ\0`
# Top row, pos 2-3
replace_string = 0000, `š`, `2`
replace_string = 0003, `ž`, `3`
# Top row, pos 6
replace_string = 0006, `þ`, `6`
# Top row, pos 9
replace_string = 0009, `ŀ`, `9`
#
find_base_address = `æ\0à\0è\0ì\0`
# Top row, pos 0-1
replace_string = 0021, `ý`, `0`
replace_string = 0045, `ÿ`, `1`
# Top row, pos 4-5
replace_string = 0000, `æ`, `4`
replace_string = 0024, `œ`, `5`
# Top row, pos 7-8
replace_string = 0054, `ß`, `7`
replace_string = 0060, `ij`, `8`
# Second row, left to right:
replace_string = 0003, `à`, `0`
replace_string = 0012, `á`, `1`
replace_string = 0027, `â`, `2`
replace_string = 0036, `ä`, `3`
replace_string = 0048, `ã`, `4`
replace_string = 0051, `å`, `5`
replace_string = 0006, `è`, `6`
replace_string = 0015, `é`, `7`
replace_string = 002A, `ê`, `8`
replace_string = 0039, `ë`, `9`
# Third row, left to right:
replace_string = 000C, `ò`, `0`
replace_string = 001B, `ó`, `1`
replace_string = 0030, `ô`, `2`
replace_string = 003F, `ö`, `3`
replace_string = 004E, `õ`, `4`
replace_string = 005D, `ø`, `5`
replace_string = 0009, `ì`, `6`
replace_string = 0018, `í`, `7`
replace_string = 002D, `î`, `8`
replace_string = 003C, `ï`, `9`
# Bottom row, left to right:
replace_string = 000F, `ù`, `1`
replace_string = 001E, `ú`, `2`
replace_string = 0033, `û`, `3`
replace_string = 0042, `ü`, `4`
replace_string = 004B, `ñ`, `5`
replace_string = 0057, `ç`, `6`
replace_string = 005A, `đ`, `7`
replace_string = 0063, `ł`, `8`
</Patch>
GeoffR is offline   Reply With Quote