05-25-2012, 06:01 AM | #1 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
[Kindle Touch] xterm & matchbox-keyboard
Hi,
Inspired by other thread in this forum I built xterm and matchbox-keyboard for Kindle Touch. I prepared package for GUI Launcher. You can download it on this site. I hope the package will work for you. If not please let me know. I could have spoiled something, as I am new to Kindles. It should work on Kindle Touch with firmware 5.1.0. For now, keyboard layout is very basic and not very comfortable. I will work on it when I have some free time. |
05-25-2012, 06:35 AM | #2 |
Enthusiast
Posts: 29
Karma: 10
Join Date: May 2012
Device: Kindle Touch
|
Awesome ! ... maybe you could optimize for landscape mode and also put up scroll buttons for increasing font size...
Are the patches in your site; the only modifications you made on the code ? Last edited by deep; 05-25-2012 at 06:54 AM. |
05-25-2012, 06:43 AM | #3 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Patches are on the site. Just minor changes.
Changing xterm window size when orientation changes is a good idea. I put it on my todo list. |
05-25-2012, 07:16 AM | #4 |
Coding fuzzball
Posts: 16
Karma: 38918
Join Date: May 2012
Device: Kindle Touch
|
Very nice :3
|
05-25-2012, 08:11 AM | #5 |
Connoisseur
Posts: 58
Karma: 63518
Join Date: Apr 2012
Device: KT
|
So the second really good looking Terminal Emulator for the Touch with Keyboard.
(Haven't tried it yet!) But i wonder, why both have their own keyboard. What is the problem with using the standard-touch-keyboard? Why cant we just stick to this, so we don't have 5 different apps, that uses 5 different on-screen keyboards with 4 different layouts. For me it looks like everyone is reinventing the wheel. Well you might have your reasons to do so: but can you tell them? Greetings. This post is not only addressed to baf, but to everyone who has integrated his own keyboard. |
05-25-2012, 08:17 AM | #6 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
05-25-2012, 08:20 AM | #7 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
You cannot use the CODE that generates and manages those "standard" keyboard layouts in native-mode (compiled C) programs like these, because the built-in keyboard code is in the java framework and not available to native-mode programs. And as for just how "standard" those keyboard layouts are, just compare the K4 and K5 keyboard layouts -- they look and operate COMPLETELY DIFFERENTLY. To write a native-mode app that uses both sets of layouts, you would have to detect which kindle model your code was running on and then use a DIFFERENT set of keyboard layouts and code to drive them. The unfinished terminal program that I work on when I have time uses a "REAL standard" keyboard layout commonly used on netbook computers. It does not need additional keyboard layouts for normal operation. I "blit" character images onto the keys so that I can support other keyboard layouts such as AZERTY or Cyrillic. I wish I had time to complete this, but I will have very little available time during the next two months. Last edited by geekmaster; 05-25-2012 at 08:34 AM. |
|
05-25-2012, 08:24 AM | #8 |
Connoisseur
Posts: 58
Karma: 63518
Join Date: Apr 2012
Device: KT
|
@knc1
Well i can understand, that some people want to drive a different car than others, so there might be more products of any kind, but all cars have round wheels, a break, a gas panel and a steering wheel. And the keyboard is not the product itself, but the interface to the product. We can be happy, that you don't need to do a special drivers license for any different car-brand, like you would have to do, if they would not use the same interface. is that your signature image? Thanks for the good answer, geekmaster. If the keyboard is missing special keys: add them. its java, we can replace java functionality. Last edited by MaPePeR; 05-25-2012 at 08:29 AM. |
05-25-2012, 08:27 AM | #9 | |
Coding fuzzball
Posts: 16
Karma: 38918
Join Date: May 2012
Device: Kindle Touch
|
Quote:
For mine, there were a couple of reasons: Firstly, I have no idea how to read input from the built-in Kindle keyboard. Secondly, the built in keybord doesn't have all of the keys normally used on a computer anyway, for example, it has no Esc or Ctrl keys. |
|
05-25-2012, 08:35 AM | #10 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
No. google the text of my signature (less the word: "hack") -
Last verse (of B. Dylan's poem, other people have added to it): Quote:
Last edited by knc1; 05-25-2012 at 08:52 AM. |
|
05-25-2012, 08:36 AM | #11 | |
Enthusiast
Posts: 29
Karma: 10
Join Date: May 2012
Device: Kindle Touch
|
Quote:
|
|
05-25-2012, 08:42 AM | #12 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
We could use a client/server method where a java "keyboard manager" program passes pressed keys to a native-mode (compiled C) program (perhaps through a shared file). But that is not simple, and may break on some kindle models or firmware versions. I want my programs to run on all kindle models and firmware versions, with little or no awareness of WHICH kindle they are running on. I keycode differences by detecting the model only during program initialization and selecting a keycode translation table for later use. I also select which kind of eink update calls to do during initialization. The main code body should not care which kindle it runs on. P.S. The best thing about standards is that there are so many to choose from. |
|
05-25-2012, 08:48 AM | #13 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Perhaps you've noticed during the evolution of the NetBook products - - - Our "space bar" is disappearing, if the trends continue, it will soon be no larger than any other key. /RANT Which might not be such a bad idea in the confined real estate of an on-screen keyboard. |
|
05-25-2012, 08:49 AM | #14 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
It consists of a single simple C program file with no header files, and uses only a small number of "standard" header files (like stdio.h), like my other published C programs. And like the others, it works on all of my kindles (DX/DXG/K3/K4/K5). It is not ready to publish yet, but I do work on it when I have time (not much now though). I like to condense my code down to fit as much functionality as possible into the smallest number of lines of code that I can in the simplest way that I can. That is what I do for "fun".
Meanwhile, other terminal programs are welcome. Last edited by geekmaster; 05-25-2012 at 09:06 AM. |
05-25-2012, 08:51 AM | #15 | ||
Connoisseur
Posts: 58
Karma: 63518
Join Date: Apr 2012
Device: KT
|
Quote:
Quote:
(Also: if we invert the standard 16"color" gray dithering: will we get more b/w pixels? for (even) more quality? if you say "blit to the screen" is that after or before the standard-dithering? simply ignore if this is to OT) |
||
Tags |
launcher add-ons |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Progress] Jailbreaking Kindle 4.0 (Touch/No Keyboard) | yifanlu | Kindle Developer's Corner | 434 | 04-22-2016 10:29 AM |
Battery life in kindle keyboard an kindle non touch. | ersott | Amazon Kindle | 24 | 10-30-2013 04:33 AM |
[Kindle Touch] Touch-screen keyboard demo | JoppyFurr | Kindle Developer's Corner | 6 | 05-19-2012 11:04 AM |
Kindle Touch add new keyboard | Novas | Kindle Developer's Corner | 2 | 01-12-2012 08:29 AM |
Matchbox Keyboard Update | Grimulkan | iRex | 17 | 05-13-2009 04:24 PM |