![]() |
#1 |
Developer's Corner Mascot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 Last edited by Aeris; 10-03-2013 at 11:51 AM. Reason: Improved layout |
![]() |
![]() |
![]() |
#2 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 405
Karma: 2330752
Join Date: May 2012
Device: kt
|
Quote:
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 Last edited by baf; 09-27-2013 at 02:45 AM. |
|
![]() |
![]() |
![]() |
#4 |
Developer's Corner Mascot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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! |
![]() |
![]() |
![]() |
#5 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 405
Karma: 2330752
Join Date: May 2012
Device: kt
|
Quote:
There were already so many different versions of the keyboard that I am getting lost ![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Developer's Corner Mascot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#7 |
Developer's Corner Mascot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#8 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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"
![]() |
![]() |
![]() |
![]() |
#9 |
Developer's Corner Mascot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#11 |
Developer's Corner Mascot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5
Karma: 11252
Join Date: Oct 2013
Device: Kindle Paperwhite
|
Tricky but it works, thanks
![]() |
![]() |
![]() |
![]() |
#13 |
Developer's Corner Mascot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#14 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#15 | |
Developer's Corner Mascot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |