|
Page 11 of 17 |
|
Prev |
9 10 11
12 13
|
Next
| Last
Re: New stuff available for creating/editing virtual keyboards on the N900 now available
From this line
https://gitorious.org/community-ssu/...rer.c#line1846 it appears slide key characters are stored at key->label field with 1. no key is pressed (line 1857) at offset 0 and every subsequent key with 4 byte offset. 2. current_slide_key > 1 (line 1829) at offstet 4 * (key->current_slide_key - 1) % byte_count 3. I am not quite sure what this does (line 1839) But even if no key was pressed, at key->label[0] is no key char. The Keyboardlayout I use has a button with a slide key with 12 keys. The first character is not at offset 0 but at offset 56 and the next characters are at offset 56 + 16*x Whereas this "56" depends on number of slides (bytecount in structure vkb_key). Using a slide key with 6 keys (bytecount) this offet is 32. (offset = ((byte_count >> 1) + 1) << 3 But only after loading the vkb the first time. Changing the language, this memory location holds only garbage. |
Re: New stuff available for creating/editing virtual keyboards on the N900 now available
Quote:
|
Re: New stuff available for creating/editing virtual keyboards on the N900 now available
1 Attachment(s)
en_US.vkb layout with slide keys.
nicolai |
Re: New stuff available for creating/editing virtual keyboards on the N900 now available
Quote:
https://gitorious.org/community-ssu/...4afefabd92dd55 |
Re: New stuff available for creating/editing virtual keyboards on the N900 now available
There is one BIG problem with stock virtual keyboard forced to portrait mode, which I forgot to mention and hope for fix: sometimes it doesn`t respect cursor position. You put cursor somewhere in the middle of your text line to add some word, on the virt. keyboard view everything is ok, but in edited text field it is messed.
It happens quite often. |
Re: New stuff available for creating/editing virtual keyboards on the N900 now available
@nicolai - as it seems you don't have time/will to continue your work on portrait VKB, would you mind to share your patches, so one to be able to continue?
|
Re: New stuff available for creating/editing virtual keyboards on the N900 now available
You could merge hildon-input-method-plugins with
my portrait-orientation-support branch. This only changes the spacebar width and makes the keyboard support the portrait mode flag. I have another patch for loading an extra portrait-mode keyboard layout. But this code depends on what kind of portrait-mode keybaord layout we want to have (3 rows with slide keys or 4 rows with wider keybuttons) Therefore I need a good keyboard layout suggestion which matches mentioned conditions: Quote:
|
Re: New stuff available for creating/editing virtual keyboards on the N900 now available
Quote:
|
Re: New stuff available for creating/editing virtual keyboards on the N900 now available
Quote:
|
Re: New stuff available for creating/editing virtual keyboards on the N900 now available
Quote:
|
| All times are GMT. The time now is 07:55. |
Page 11 of 17 |
|
Prev |
9 10 11
12 13
|
Next
| Last
vBulletin® Version 3.8.8