cajus wrote: 
> YES it works! Great!!
> 
> 
> I don't think this is a problem. Nobody should need to switch
> dynamically between skins.
> 
> As I tried the new keyboard, I found some other issues, that might be
> fixed:
> The text for ENTER_SMALL is too long (in
> jivelite/share/jive/applets/JogglerSkin/strings.txt).
> In English it is "done" which almost fit, but in German it is "Fertig",
> which is too long.
> There are two possibilities to get around this:
> 1.) use "OK" which should fit and would be fine for English and German
> (but I don't know, if this text is used somewhere else where "OK" would
> not fit well)
> 2.) Make the key bigger: in keyboard.lua the done button seems to be
> defined in the keymap with "self:_go(92)". Should be worth a try with
> "self:_go(120)"?
> 
> The same appears for the key that switches between the keymaps:
> *-123-&-* and *-"~<]-* switches between the 'numeric' and 'numericshift'
> keymaps.
> Both texts are a little long, I didn't find the definition, so I suggest
> to make the key bigger for this keys as well.
> 
> Finally in the keymap  'numeric' seems to miss a character. In the third
> row there is : 
> *-_switchKeyboardButton & , ? ! * left_arrow right_arrow-*
> This number of characters do not fill the line, it looks like before the
> arrow_keys a character (or spacer) is missing.
> 
> Edit:
> It looks like this issues are addressed by the other changes Arie
> mentioned in '#343'
> (http://forums.slimdevices.com/showthread.php?103330-Jivelite-for-piCorePlayer&p=856995&viewfull=1#post856995)
> (except the done/Fertig key)
> I just made it to compile Jivelite on my Linux Box (x86_64). The spacing
> of the keys is different here (compared with the Jivelite on the
> piCodePlayer)!?
> I tried a key size of 120 for the keymap-switch and the done key, which
> seem to work on my linux box as expected: the text fits into the button.
> Too bad, but the key-size of 120  breaks the WQVGA skin, so a generic
> change in the keyboard.lua will not work for all users.
> I couldn't try it on the piCorePlayer, because I haven't tried to
> compile Jivelite for ARM
> End Edit:
> 
> 

I've combined portions of the SqueezPlay and JiveLite Keyboard.lua and
did my best to make it resolution independent (see attachment). To get a
perfect fit for all the special keys you mention the 92 in self:_go(92)
should be twice the width of a key (the default value is 46; for 78
self:_go(156) should be used). This should fix all the issues you
mention.

The only issue I have is that on my official Raspberry Pi display my
version always returns a screen resolution of 800x480 even if I select
the WQVGA skin whereas Ralphy's version does work. My LUA/Jive skills
are limited so maybe it is not allowed to call the
Framework:getScreenSize() the way I do. For testing purposes the 'a' and
'q' keys display the width and height values of the screen!

I also noticed that the HD skins I tested did not define a keyboard so
the search function just displays a text entry box but no keyboard.

20703


+-------------------------------------------------------------------+
|Filename: Keyboard.zip                                             |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=20703|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
kolossos4730's Profile: http://forums.slimdevices.com/member.php?userid=63988
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to