Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-26-2013, 05:47 PM   #1
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
Matchbox-keyboard - Now optimized for Kindle PW

It took me some hours but I finally managed to change all the layout and buttons of the matchbox-keyboard, the virtual keyboard used in kterm, to fit perfectly on Kindle PW (and maybe touch?). Now the buttons are bigger and the character bold and readable, at the cost of take off all F1, F2 etc. keys.
It could be now integrated in many old and new KUAL apps (better if not virtual terminals).

You can try the keyboard by copying it on kterm folder, overwriting the old files.

UPDATE 1: improved fonts using Baf's script
UPDATE 2: further improvements to layout
Attached Thumbnails
Click image for larger version

Name:	screenshot_2013_10_03T13_21_42+0200.png
Views:	550
Size:	11.8 KB
ID:	112692   Click image for larger version

Name:	screenshot_2013_10_03T13_22_05+0200.png
Views:	620
Size:	13.6 KB
ID:	112693   Click image for larger version

Name:	screenshot_2013_10_03T13_22_11+0200.png
Views:	503
Size:	12.7 KB
ID:	112694   Click image for larger version

Name:	screenshot_2013_10_03T13_22_17+0200.png
Views:	379
Size:	13.1 KB
ID:	112695  
Attached Files
File Type: zip layouts.zip (140.9 KB, 309 views)

Last edited by Aeris; 10-03-2013 at 11:51 AM. Reason: Improved layout
Aeris is offline   Reply With Quote
Old 09-26-2013, 09:44 PM   #2
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
I'll bite. great work.
Will look to resuse.

Thanks Aeris.
twobob is offline   Reply With Quote
Old 09-27-2013, 02:39 AM   #3
baf
Evangelist
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 405
Karma: 2330752
Join Date: May 2012
Device: kt
Quote:
Originally Posted by Aeris View Post
Also, colors of background and borders could be changed but I'm not able to.
I used this simple script to generate images for keyboard. You need convert from ImageMagic. You may change background color and add more graphic elements. Convert is quite powerful tool.
The script will output images to kterm-keys directory in current folder.
Keys.txt files contains all keys data.
Some keys, as return, shift etc, I made separately in a graphic program.
You will need UTF-8 capable terminal and some font installed (I used Helvetica).

BTW. You are comparing your layout to old kterm layout. The latest one, made by nasser, has bigger images.

Code:
#!/bin/bash
height="30"
while read name char width
do
size="$width""x$height"
convert -size $size  xc:transparent -pointsize 22 -fill black -gravity Center -draw "text 0,0 '$char'" -font Helvetica -background white ./kterm-keys/$name.png
done < keys.txt
Attached Files
File Type: txt keys.txt (1.8 KB, 231 views)

Last edited by baf; 09-27-2013 at 02:45 AM.
baf is offline   Reply With Quote
Old 09-27-2013, 04:08 AM   #4
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
LoL man I tought to be using the last version of kterm xD And wasted about 6 hours to convert each characters one by one ahah

I'll try your script! However, by now, on kterm 0.7 the default keyboard shows chars that are a bit blurry on PW!
Aeris is offline   Reply With Quote
Old 09-27-2013, 04:24 AM   #5
baf
Evangelist
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 405
Karma: 2330752
Join Date: May 2012
Device: kt
Quote:
Originally Posted by Aeris View Post
However, by now, on kterm 0.7 the default keyboard shows chars that are a bit blurry on PW!
I don't have PW, so I did not test it. Images were enlarged by cubemike99 AFAIR. They should be recreated with the script rather than enlarged if they look bad.

There were already so many different versions of the keyboard that I am getting lost
baf is offline   Reply With Quote
Old 09-27-2013, 04:32 AM   #6
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
The script is great!

Last edited by Aeris; 09-27-2013 at 04:37 AM.
Aeris is offline   Reply With Quote
Old 09-27-2013, 04:56 AM   #7
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
Mmh just a problem.. convert argument "-font" doesn't change anything on my system o.O I'm on linux, and try to specify the font name with every possible notation (even path one), but nothing, always the same

I've also listed them with convert -list font command, and selected from here, but nothing changes...


UPDATE: solved. I had to bring the -font argument just after "convert". Don't ask me why xD

Last edited by Aeris; 09-27-2013 at 05:04 AM.
Aeris is offline   Reply With Quote
Old 09-27-2013, 06:32 AM   #8
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
baf "d man"
twobob is offline   Reply With Quote
Old 10-03-2013, 07:27 AM   #9
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
Keyboard layout further improved to resemble more an international keyboard, and to gather all the most important keys in the first two modes (normal and shifted).

I'm trying my best to make a good layout for next ported apps, so testers are welcome!
For example I still don't know how does it look on kindle touch...

(Screenshots updated too)

Last edited by Aeris; 10-03-2013 at 07:42 AM.
Aeris is offline   Reply With Quote
Old 10-05-2013, 05:44 PM   #10
Basem Alm-Eldin
Junior Member
Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.
 
Posts: 5
Karma: 11252
Join Date: Oct 2013
Device: Kindle Paperwhite
Thanks for the good job but why doesn't the command Ctrl+u work?, it's supposed to Clear the line before the cursor position.

Last edited by Basem Alm-Eldin; 10-05-2013 at 05:52 PM.
Basem Alm-Eldin is offline   Reply With Quote
Old 10-05-2013, 06:20 PM   #11
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
Yes, but pay attention: you must press ctrl+u in order to do that, not ctrl+U.
So, after pressing shift for example, and then ctrl, you must go back to lowercase letters before pressing u

Summarizing, you must press: shift - ctrl - shift , then u

Other commands, like Ctrl+d for example, may work in both forms (uppercase and lowercase).

Thank you for pointing this out!!

Last edited by Aeris; 10-05-2013 at 06:55 PM.
Aeris is offline   Reply With Quote
Old 10-06-2013, 05:10 PM   #12
Basem Alm-Eldin
Junior Member
Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.Basem Alm-Eldin can tame squirrels without the assistance of a chair or a whip.
 
Posts: 5
Karma: 11252
Join Date: Oct 2013
Device: Kindle Paperwhite
Tricky but it works, thanks
Basem Alm-Eldin is offline   Reply With Quote
Old 10-06-2013, 06:17 PM   #13
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
Yes, I know it's a bit tricky for some combinations...

I could put 'ctrl' in place of 'caps lock', but I'm trying to make a general purpose keyboard, so I think that caps is used more often

Maybe in the future I'll make a kterm optimized layout too; meanwhile, you can try to edit the xml to fit your needs too, switching some buttons! It's pretty intuitive

Last edited by Aeris; 10-06-2013 at 06:33 PM.
Aeris is offline   Reply With Quote
Old 11-05-2013, 02:27 PM   #14
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Any chance of making this useful in landscape?

I'm trying to implement it but "portrait only" is sadly limiting
twobob is offline   Reply With Quote
Old 11-05-2013, 02:47 PM   #15
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
Quote:
Originally Posted by twobob View Post
Any chance of making this useful in landscape?

I'm trying to implement it but "portrait only" is sadly limiting
Didn't you already accomplish that here ?
Aeris is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Kindle Touch] xterm & matchbox-keyboard baf Kindle Developer's Corner 228 05-11-2016 02:50 AM
matchbox keyboard usage twobob Kindle Developer's Corner 3 10-18-2012 06:20 AM
Optimized for Kindle DX Sporadic Amazon Kindle 27 09-22-2010 10:33 PM
optimized for reading on Kindle DX's larger screen kepstein Amazon Kindle 2 06-02-2009 08:32 PM
Matchbox Keyboard Update Grimulkan iRex 17 05-13-2009 04:24 PM


All times are GMT -4. The time now is 05:17 AM.


MobileRead.com is a privately owned, operated and funded community.