View Single Post
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#40
Originally Posted by Remus View Post
Decoded both en_US and en_GB for you since you didn't clearly specify which one you wanted.

Best of luck.
Thank you for the files.

The XML file appears to describe 2 layouts or 'modes. Normal and Full. However these could be two elements of the same vkb, one part being what we see in this file, another part for the stuff we cannot:

Code:
<screen>
		<mode name="NORMAL"/>
		<mode name="FULL"/>
	</screen>

Yet the XML contains two sections called Normal and thumb!

Code:
<keyboard layout="NORMAL" default_key_size="0">
Code:
<keyboard layout="THUMB" default_key_size="3">
It would seem 'thumb' describes the layout of the vkb. The 'normal' layout does not seem to correlate with anything on the n900. Not the vkb nor the real one. It does however look slightly similar to the one on the n810 with the 'bank' of number keys like on a regular keyboard.

The thumb layout describes the first 3 lines (the one with letters, numbers, symbols) and their 4 possible combinations.

At no point is the 4th row described in the XML file. The fourth row contains the 'keyboard functions (cut, copy, paste), space bar, 'symbols' key and return.

Strangely enough though, didn't pr1.1 have a different vkb?



So what does a de-compiled pr1.1 vkb xml file look like?


This leaves the final mystery of what are the different keysizes:

Code:
<keyboard layout="NORMAL" default_key_size="0">
Code:
<keyboard layout="THUMB" default_key_size="3">
And how does this relate to the field keysize?:

Code:
<keysizes>
		<size height="35" baseline="26" width="35" margin_top="0" margin_left="0" />
		<size height="35" baseline="26" width="50" margin_top="0" margin_left="0" />
		<size height="35" baseline="26" width="55" margin_top="0" margin_left="0" />
		<size height="55" baseline="41" width="72" margin_top="0" margin_left="0" />
		<size height="55" baseline="41" width="143" margin_top="0" margin_left="0" />
	</keysizes>
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

The Following 5 Users Say Thank You to vi_ For This Useful Post: