08-18-2007, 04:12 PM | #1 |
Literate!
Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
Direct Page Control with Enter
I'm posting this here in hopes that Diablo will move it into his thread once he's back from his vacation.
This is a modification of the Direct Page Control hack. It changes the confirmation button to be ENT (pressing in on the joystick) and the cancel to occur when a fifth digit is entered. I'd like to extend a gigantic thank you to igorsk for making the flasher. I'd also like to extend my great appreciation to all of the "hackers" for taking the enormous amounts of time to create each of these hacks. Just a minor change takes so much time editing/copying/flashing/recovering from the inevitable bricking/etc. Hack includes: Direct page control inside books using enter to confirm and a fifth digit to cancel. Clock in status bar. Lose function: Percentage page jump inside book with numeric keys. File: main.xml and applicationStart.xml Hack by: diabloNL (direct page control) Nogg (direct page control modification to use ENT) Shade (clock) Download file: 6-2.zip Comments: None Last edited by Nogg; 08-18-2007 at 05:37 PM. Reason: bug fix |
08-18-2007, 04:26 PM | #2 |
Literate!
Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
Here's the modification of #16 for Jon:
Hack includes: Holding down ENT will turn the reader OFF. Direct page control inside books, using ENT to confirm and any value beyond the total page count to cancel. Smaller fonts in menu's, bookmarks, history and TOC. Total pages counter inside book and menu's. Reset by "ENTER" press in about screen. Joystick (right and left) page flip. Circular page flip button becomes history back and forward. Page flip function with circular button still available by holding it down. Volume "+" and "-" flip ten pages forward and back. Clock in status bar. Lose function: Percentage page jump inside book with numeric keys. Ten pages jump when holding next and previous button. Function of direct page control hack (use small page flip buttons) and ten pages jump inside books with circular and small buttons. File: main.xml and applicationStart.xml Hack by: diabloNL (joystick, volume page flip, direct page control, smaller fonts and total pages counter) Shade (clock) Nogg (modifications for ENT and cancel in direct page control, True power off) Download file: 16.zip Comments: None Last edited by Nogg; 08-19-2007 at 07:33 PM. |
Advert | |
|
08-18-2007, 05:21 PM | #3 |
Connoisseur
Posts: 78
Karma: 156
Join Date: Jul 2007
Device: sony reader
|
do you mind creating a version that works in the book list section as well? i could try to figure it out but the changes seem to span lots of sections ...thx
edit: btw, i saw you mapped button to doMuteB, but don't see the function defined anywhere, forgot about it? Last edited by ns66; 08-18-2007 at 05:30 PM. |
08-18-2007, 05:38 PM | #4 |
Literate!
Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
Oops. Must have been a holdover from whatever random file I started from. Fixed now.
|
08-18-2007, 05:50 PM | #5 |
Literate!
Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
I'm currently working on something else at the moment, but you could try copying the doDigit, stackP, onEnter, and pageChanged functions into the MENU group, overwriting the current onEnter and pageChanged that are already there. I'd also suggest removing the two setVariable lines in pageChanged that don't exist in the current MENU version.
|
Advert | |
|
08-18-2007, 06:16 PM | #6 |
Resident Curmudgeon
Posts: 75,901
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
So is this based on DiabloNL's #6 in his thread?
If so, can you make this also based on #16 before I flash #16? |
08-18-2007, 06:36 PM | #7 |
Literate!
Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
I'll try to get to it. I don't think I'll have much more time today, though.
|
08-18-2007, 06:46 PM | #8 |
Resident Curmudgeon
Posts: 75,901
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
08-18-2007, 07:38 PM | #9 | |
Connoisseur
Posts: 78
Karma: 156
Join Date: Jul 2007
Device: sony reader
|
Quote:
|
|
08-18-2007, 09:11 PM | #10 |
Connoisseur
Posts: 78
Karma: 156
Join Date: Jul 2007
Device: sony reader
|
i find my ereader is bricked, i tried to calculate the page number by doing
e = this.countPages(); this.setPage(e/10); this seems to work only if e is xx0, if e is say 24, this will brick ereader, seems need to cast e/10 from float to int, but how? i tried (int)(e/10) doesn't seem to work, any idea? (by the way, what language exactly is ereader using? javascript? VB?) thx |
08-18-2007, 09:38 PM | #11 |
Literate!
Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
i'm not sure how to cast, but you might want to give round() a try.
it looks fairly javascripty to me, but i'm not familiar enough with js to know for sure. |
08-18-2007, 09:51 PM | #12 |
Literate!
Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
Actually, make that Math.round()
|
08-18-2007, 10:50 PM | #13 |
Connoisseur
Posts: 78
Karma: 156
Join Date: Jul 2007
Device: sony reader
|
i tried it works, seems it's javascript
|
08-19-2007, 07:33 PM | #14 |
Literate!
Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
Jon, I added the mods to #16 above. Enjoy!
|
08-19-2007, 10:42 PM | #15 |
Resident Curmudgeon
Posts: 75,901
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Thank you! I'll have to have a go at installing it after my Reader drops one bar. I'm keeping track of how many page turns I might get with that one bar. And then I can install the turn off mod and see how that goes with the page count by turning it off when I go to sleep and turning it back on when I first start to read.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
remember the last page for Newspaper Direct? | HansTWN | iRex | 4 | 08-10-2010 04:13 AM |
PRS505 Direct Page Control? | volwrath | Sony Reader Dev Corner | 6 | 01-02-2009 10:17 AM |
Use Enter key to turn page | lovebeta | Sony Reader Dev Corner | 5 | 11-27-2008 05:26 PM |
PRS-500 Direct Page Control Hack | diabloNL | Sony Reader Dev Corner | 73 | 06-01-2008 04:32 PM |
PRS-500 Help modifying the Direct Page Control hack | DoctorBri | Sony Reader Dev Corner | 4 | 12-30-2007 04:52 PM |