The Following 4 Users Say Thank You to nicolai For This Useful Post: | ||
![]() |
2012-09-12
, 06:49
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#102
|
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.
![]() |
2012-09-12
, 07:26
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#103
|
The Following 8 Users Say Thank You to nicolai For This Useful Post: | ||
![]() |
2012-09-18
, 20:09
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#104
|
The Following 7 Users Say Thank You to freemangordon For This Useful Post: | ||
![]() |
2012-10-02
, 07:25
|
|
Posts: 158 |
Thanked: 355 times |
Joined on Sep 2011
|
#105
|
The Following 6 Users Say Thank You to artpra For This Useful Post: | ||
![]() |
2012-10-18
, 12:06
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#106
|
The Following 3 Users Say Thank You to freemangordon For This Useful Post: | ||
![]() |
2012-10-18
, 12:29
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#107
|
Need some help, please create some mockups for portrait mode
keyboard, but notice the menu/space/enter buttons on the bottom
are fixed and not defined by the keyboard layout xml. The
shift and backspace use a fixed size icon of 72x70 pixels.
The Following 6 Users Say Thank You to nicolai For This Useful Post: | ||
![]() |
2012-10-18
, 12:56
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#108
|
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:
![]() |
2012-10-18
, 13:08
|
|
Posts: 158 |
Thanked: 355 times |
Joined on Sep 2011
|
#109
|
The Following 4 Users Say Thank You to artpra For This Useful Post: | ||
![]() |
2012-10-18
, 13:12
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#110
|
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.
The Following 4 Users Say Thank You to reinob For This Useful Post: | ||
![]() |
Tags |
nokia n900, portrait vkb |
|
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.
my contributions:
Desktop Clock Widget|Calendar Home Widget|Lens Cover Reminder|ConnectNow|Scout|App Search Widget|ProfilesX|
Desktop-Switcher|SMS-Messageblocker
-Donate-