Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-03-2012, 11:17 AM   #76
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 593
Karma: 2061091
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
I'm happy your Kindle is usable again
Remember that Shift-Space shortcut is the switcher, should you need to type any of those characters (w,a,x,d,s).

Last edited by dsmid; 12-03-2012 at 11:20 AM.
dsmid is offline   Reply With Quote
Old 12-03-2012, 09:28 PM   #77
telharmonium
Member
telharmonium can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametertelharmonium can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametertelharmonium can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametertelharmonium can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametertelharmonium can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametertelharmonium can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametertelharmonium can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametertelharmonium can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametertelharmonium can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametertelharmonium can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametertelharmonium can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 19
Karma: 12838
Join Date: Nov 2012
Device: Kindle 3
Copy that! I hope you don't mind, but I wanted to ask: would it be possible for me to install KindleNote (or other programs?) Or would doing this undo your physkbd hack? Just asking.

Last edited by telharmonium; 12-03-2012 at 09:31 PM.
telharmonium is offline   Reply With Quote
Old 12-04-2012, 02:40 AM   #78
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 593
Karma: 2061091
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
You can install anything you want. Physkeyb will stay untouched unless you uninstall it.
dsmid is offline   Reply With Quote
Old 12-14-2012, 12:39 PM   #79
Artik
Junior Member
Artik began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2011
Device: Kindle 3G
dsmid, thank you for updating the keyboard hack for 3.4, the basic functionality works like a charm!
I was wondering whether you could implement some of the latest changes Sir Alex did to his hack. As far as I understand, he didn't post this version to each and every forum he frequents, particularly, probably not here. But anyway, here's the difference:

Your version appears to be able to act in two distinct ways:
1)when keyboard-european.txt is present, the main layout is the original one, while the additional symbols are typed in via double-presses (a feature you implemented previously). Shift-space in this case serves as a hotkey to enable Voice Guide, a feature introduced in 3.4
2)when only keyboard.txt is present, shift-space is used to alternate between two separate one-press layouts, the double-press feature is disabled.

Now, what Sir Alex, as I understand, did after your double-press patch was that he made it work simultaneously with shift-space switch. This allowed the user to have both, say, European layout on double-presses over Latin layout, as well as Cyrillic as a separate shift-space layout. For this version only one file config.txt was used to define all the three layouts.

I'll attach this version and config file (although the latter can be extracted from the bin, I guess).

Also, is it possible to remap the layout switch to, say, alt-space, or alt-shift, so as not to cut the Voice Guide hotkey?
Attached Files
File Type: zip update_physkeyb_0.08.zip (26.1 KB, 163 views)
File Type: txt config.txt (648 Bytes, 196 views)
Artik is offline   Reply With Quote
Old 12-14-2012, 01:00 PM   #80
Artik
Junior Member
Artik began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2011
Device: Kindle 3G
Sorry for double posting (to late to edit). Just noticed the new version is able to switch layout in browser withouth the need to bring up sym menu! Thanks, dsmid!
Artik is offline   Reply With Quote
Old 12-19-2012, 11:17 AM   #81
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 593
Karma: 2061091
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Artik, I'm afraid I won't be able to modify Sir Alex' physkeyb 0.08 because Sir Alex has never published the source code.
I was able to fork version 0.04 because it was easy to to decompile.

Now both versions (mine and Sir Alex') are simply too far from each other but I will try to decompile 0.08 and I'll see what I can do.

Unfortunately Sir Alex doesn't believe in the open source development model, it would be nice to cooperate in this particular case.
dsmid is offline   Reply With Quote
Old 12-20-2012, 03:07 AM   #82
Artik
Junior Member
Artik began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2011
Device: Kindle 3G
Thanks for taking the time. I guess my input would be pretty much useless here, but off the top of my head one thing I noticed different in your jars and his was calling to different... subfunctions (I'm not sure that's a proper name) - those things that are loaded at the beginning from the framework and have names ending in ".a" ".b" ".c". Anyway, I asked him on a forum where he specifically mentioned that "it's time for someone to step in my place, since I'm now into Kindle 4&5" for sources, but he doesn't appear there too often and I don't think his inbox allows PMs. He also seems to have an ICQ, which I'll PM you.
Artik is offline   Reply With Quote
Old 12-20-2012, 06:22 AM   #83
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 593
Karma: 2061091
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
No need to contact Sir Alex now, I was able to implement the desired features myself.

New version 3.4.3 is available:

Code:
Version 3.4.3:
- Double-presses and alternative layout can be used together now
- Layout switch shortcut changed to Shift-Enter to avoid conflict with voice
  guide
- Any text can be used as a value in keyboard_european.txt, useful for
  inserting long texts with a double-press
- Label is displayed at the bottom of the screen when switching layout
  or disabling/enabling double-press mode.
  The default label is 'en' for the default layout (keyboard-european.txt,
  followed by * if double-press is enabled or - if disabled with .q sequence)
  and 'alt' for the alternative layout.
  You can define your own label in keyboard-european.txt (supposed to be
  2 characters long) and keyboard.txt (supposed to be 3 characters long,
  pad with spaces if needed):
    label=rus
dsmid is offline   Reply With Quote
Old 12-20-2012, 11:41 AM   #84
Artik
Junior Member
Artik began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2011
Device: Kindle 3G
Quote:
Originally Posted by dsmid View Post
New version 3.4.3 is available:
That is simply brilliant!
Artik is offline   Reply With Quote
Old 12-21-2012, 03:18 PM   #85
PoP
Antonín ♯♭♪♮♫ ᵖʸᶠᵍᶜʳˡ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 519
Karma: 7391817
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3.₄, PRS-350, SGS3, Rπ, iPad Air
Quote:
Originally Posted by dsmid View Post
New version 3.4.3 is available:
Karma to you, works as a charm!

If anyone is interested attached is my fr keyboard-european to enter french accented characters and my FWY switchable keyboard where I have added the entry "#k104" to turn to next page by pressing the space bar while reading a book.

Oh, the accents are mapped to be the qwert keys (respectively for acute, circumflex, grave, umlaut, tilde) you press the accent key followed by the letter to get the accented letter (ex qe to get é, tn to get ñ)
Attached Files
File Type: zip PoP keyboards.zip (654 Bytes, 85 views)

Last edited by PoP; 12-21-2012 at 03:26 PM.
PoP is offline   Reply With Quote
Old 12-23-2012, 09:00 AM   #86
PoP
Antonín ♯♭♪♮♫ ᵖʸᶠᵍᶜʳˡ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 519
Karma: 7391817
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3.₄, PRS-350, SGS3, Rπ, iPad Air
Et... Joyeux Norel ea tous!
PoP is offline   Reply With Quote
Old 12-25-2012, 12:45 PM   #87
Konst
Junior Member
Konst began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2012
Device: Kindle keyboard wi-fi
halp

sorry for my english
Mr. Dsmid, your work is very good, but absolytely non-used in russian. For tape 1 letter on doubles, I need a) press shift-enter b) make double press c) press shift-enter and only after this 6 (!) steps I can tape next letter. In russian we have 33 letters!
Christ God beg you! Made something for contemporaneously (sic!) using doubles and non-latin letters!

Last edited by Konst; 12-25-2012 at 12:49 PM.
Konst is offline   Reply With Quote
Old 12-28-2012, 02:54 AM   #88
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 593
Karma: 2061091
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Hi Konst,

Thanks for you comments. I just implemented what Artik requested, maybe I misunderstood his post.

I hope the new version 3.4.4 will satisfy your needs:

Code:
Version 3.4.4:
  - The configuration is unified now, it can contain single-press keys
    as well as double-press keys, both work at the same time
  - The value can contain #-prefixed keycodes as well as strings for
    both key types
  - The config key can be a java keycode now (prefixed with #), useful
    for redefining special buttons
  - There can be up to 9 keyboard layouts, named <name>.kbd
  - For the sake of backward compatibility, keyboard-european.txt as
    well as keyboard.txt are valid keyboard definition file names
  - Special '.q' shortcut has been removed. * or - is not appended to
    label anymore. Labels are supposed to be three characters wide in
    all cases. Default labels are the first three letters of the keyboard
    definition file name
dsmid is offline   Reply With Quote
Old 12-28-2012, 02:57 AM   #89
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 593
Karma: 2061091
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
The newly added README:

Code:
Physkeyb
--------

A booklet that is able to redefine Kindle 3 keyboard layout.

There can be up to nine layouts switchable by Shift-Enter shortcut.
A layout label appears in the bottom right corner of the screen when switched.
The keyboard definition files are stored in the keyboard folder and have a .kbd
extension. Filenames keyboard-european.txt and keyboard.txt are accepted as well
to ensure backward compatibility.

A .kdb file can contain multiple key-pairs:

<key>=<value>

<key> can be a special option or a Kindle 3 keyboard key definition

Special options:

        timeout - Timeout for double-press in miliseconds. If two keys are
                  pressed consequently within this time interval, they are
                  considered to present a double-press.

        enabledonstart
         or
        default - The layout with this option set to true will be active after
                  the Kindle framework startup.

        label   - The label that appears in the bottom right corner of
                  the screen when the layout is switched to.
                  Should be three characters wide, pad with spaces if necessary.
                  Set to the first three letters of the layout file name if not
                  specified.

Key definition:

        A single character representing the button
                  The character will be substitued by <value> when corresponding
                  button is pressed.
                  Example:
                    s=š

        Two characters representing the buttons
                  Any input of character 1 followed by input of character 2
                  within timeout will be replaced by <value>.
                  Example:
                    aA=me@home.org

        An integer prefixed with #
                  Java keycode of the button. Useful for redefining special
                  buttons like PageNext.
                  Tip: Turn the debug mode on by creating an empty file named debug
                  in the keyboard folder, restart Kindle, press the button of
                  interest and then find the keycode value in
                  keyboard/keyboard.log .
                  Example:
                    #33=You pressed Keypad Up key


Value definition:

        A string
                  The string contents will be substitued as input instead of <key>

        #<target flag><key code>
                  Low level key event definition.
                  Examples:
                    w=#f103
                      - Send code 103 (Up) to /proc/fiveway when key W is pressed
                    o=#v114
                      - Send code 114 (Volume-) to /proc/volume when key O is pressed
                    f=#k191
                      - Send code 191 (RightNextPage) to /proc/keypad when key F is pressed

                  See https://github.com/dpavlin/k3libre/blob/master/myts/keydefs.ini



Tip: If you have a single layout and don't want it to be active on start, create
     another layout, name it for example kindle.kbd and put this inside:

enabledonstart=true
label= en

     Such empty layout would represent the default Kindle layout.


See http://www.mobileread.com/forums/showthread.php?t=119969 for updates.


David Smid (dsmid)
dsmid is offline   Reply With Quote
Old 12-29-2012, 10:29 AM   #90
PoP
Antonín ♯♭♪♮♫ ᵖʸᶠᵍᶜʳˡ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 519
Karma: 7391817
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3.₄, PRS-350, SGS3, Rπ, iPad Air
keyboards

Quote:
Originally Posted by dsmid View Post
...
I hope the new version 3.4.4 will satisfy your needs
...
It does, and now works better than ever. Thanks.

I played with the unicode character set and extended my fr keyboard into a comprehensive acc keyboard which I think is more intuitive to enter accented characters in any language: Click image for larger version

Name:	accent keys.gif
Views:	91
Size:	3.7 KB
ID:	98394Click image for larger version

Name:	aA.gif
Views:	82
Size:	4.3 KB
ID:	98395Click image for larger version

Name:	eE.gif
Views:	81
Size:	3.9 KB
ID:	98396Click image for larger version

Name:	iI.gif
Views:	72
Size:	3.6 KB
ID:	98397Click image for larger version

Name:	oO.gif
Views:	75
Size:	4.1 KB
ID:	98398Click image for larger version

Name:	uU.gif
Views:	70
Size:	4.0 KB
ID:	98399 though, not all unicode are properly rendered by the K3 fonts.

I also went overboard with the inv keyboard, just for fun. Click image for larger version

Name:	inv.gif
Views:	87
Size:	3.9 KB
ID:	98400, hope twobob likes it as much as I do

Find my keyboard collection below:
Attached Files
File Type: zip 2012-12-29 Pop's keyboards for v3.4.4.zip (3.4 KB, 87 views)
PoP is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Physical eBooks Ben Thornton News 42 04-10-2014 12:46 PM
K3 Kindle 3 localization JirkaS Kindle Developer's Corner 269 12-07-2013 01:13 AM
Keyboard localization (hack) Sir Alex Kindle Developer's Corner 72 04-16-2013 04:05 PM
Your vote - keyboard or no keyboard on Kindle mrzerga Amazon Kindle 56 03-10-2011 08:22 PM
From physical to digital maynard Workshop 13 04-12-2009 04:24 PM


All times are GMT -4. The time now is 11:19 AM.


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