FS#4856 - UI font in keyboard screen & loadable keyboard layout
Attached to Project:
Rockbox
Opened by Frank Dischner (phaedrus961) - Monday, 20 March 2006, 07:23 GMT
Opened by Frank Dischner (phaedrus961) - Monday, 20 March 2006, 07:23 GMT
|
DetailsI've created a patch that allows the user to customize the virtual keyboard. Basically, it takes a utf8 string and writes it to the screen line by line using the ui font and creates extra pages if needed. This allows the user to use any characters supported by their font in their keyboard layout.
To create a new layout, simply make a utf8 text file with the chars in the order you want and give it the extension 'kbd' (without quotes). Then just 'play' it from the file browser. What's still needed: 1. A better default layout 2. A kbd file icon (it currently uses the font icon) |
This task depends upon
Closed by Marcoen Hirschberg (marcoen)
Thursday, 11 May 2006, 07:09 GMT
Reason for closing: Accepted
Additional comments about closing: already in cvs
Thursday, 11 May 2006, 07:09 GMT
Reason for closing: Accepted
Additional comments about closing: already in cvs
When drawing the layout it prints all chars using the max width of the font. So it should work with any chars that your font will display. Actually, it'll work with any chars, but you'll only see the ones that your font supports.
I've also attached a premade korean kbd file for testing purposes (only includes jamo chars). Note: the only font that supports korean is unifont.