09-15-2010, 05:14 AM | #61 |
Connoisseur
Posts: 51
Karma: 104
Join Date: Mar 2010
Device: 505, Kindle PW
|
|
09-15-2010, 05:49 AM | #62 |
Connoisseur
Posts: 51
Karma: 104
Join Date: Mar 2010
Device: 505, Kindle PW
|
|
Advert | |
|
09-15-2010, 05:52 AM | #63 |
PRS+ author
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
|
09-15-2010, 07:49 AM | #64 |
Connoisseur
Posts: 51
Karma: 104
Join Date: Mar 2010
Device: 505, Kindle PW
|
kartu
Could you try this (must return "old0" on hold 0) |
09-15-2010, 08:32 AM | #65 |
PRS+ author
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
Empty string again (as with previous versions). Which makes me wonder how "event.getEventKey()" actually works.
PS getEventKey seems to be mapped to binary function Fskin_device_getEventKey from Fskin.so Update: Renamed -hold to -bold (in ebook.so) to see if there are additional checks/lookups. It works, so there aren't any. getEventKey calmly returns kLeft-bold. Last edited by kartu; 09-15-2010 at 09:02 AM. |
Advert | |
|
09-15-2010, 09:19 AM | #66 |
Connoisseur
Posts: 51
Karma: 104
Join Date: Mar 2010
Device: 505, Kindle PW
|
This one must send key without "kHold" in any case (like original, if my patch works)))
|
09-15-2010, 10:42 AM | #67 |
Connoisseur
Posts: 51
Karma: 104
Join Date: Mar 2010
Device: 505, Kindle PW
|
And to be sure there are no additional checks)
This one MUST send key in hex "0x*" on hold. |
09-15-2010, 11:56 AM | #68 | ||
PRS+ author
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
Quote:
Quote:
PS Just a thought, maybe you could simply change the number value? 0 => simple press, 10 => hold? |
||
09-15-2010, 02:23 PM | #69 | |
2B || !2B
Posts: 851
Karma: 194010
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
kravitz
By looking on your patch (ebook1.zip, but still valid for the following) I recognize that .text:0000CE28 LDR R1, =aKholdD ; char * seams to miss the [ ], thus loading the constant value 0x1160A and not the stringreference at this address. [UPDATE] I'am wrong with this, as 0x1160a is already the string reference it should work, as the reference to .got would load the same value to the register [/UPDATE] IMHO it should read LDR R1, [aKhold], if this is possible. Or maybe LDR R3, =aKholdD LDR R1, [R3] My reference states: Quote:
Last edited by Mark Nord; 09-16-2010 at 02:27 AM. Reason: correction |
|
09-15-2010, 02:25 PM | #70 |
Connoisseur
Posts: 51
Karma: 104
Join Date: Mar 2010
Device: 505, Kindle PW
|
Always when you hold any button, func sends 15, isn't it?
Inscrutably))) No problem... (I hope) but it's not a unix-way))) |
09-15-2010, 02:28 PM | #71 |
PRS+ author
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
|
09-15-2010, 03:19 PM | #72 |
Connoisseur
Posts: 51
Karma: 104
Join Date: Mar 2010
Device: 505, Kindle PW
|
I'm not sure, but let's try it.
kartu, could you possibly test this? Last edited by kravitz; 09-15-2010 at 03:22 PM. |
09-15-2010, 03:29 PM | #73 |
PRS+ author
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
|
09-15-2010, 03:59 PM | #74 | |
Connoisseur
Posts: 51
Karma: 104
Join Date: Mar 2010
Device: 505, Kindle PW
|
Quote:
hold: N + 10 |
|
09-15-2010, 04:08 PM | #75 |
PRS+ author
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-505 PRS+: 2 Questions on "Browse Folders" and Dictionary Format | crc | Sony Reader | 2 | 06-23-2010 01:36 AM |
PRS-300 English dictionary for PRS-300 | theles92843 | Sony Reader | 7 | 04-23-2010 02:25 PM |
database of book bindings | Nate the great | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 12-05-2009 08:59 PM |
iLiad custom key bindings for fbreader | cnbcad | iRex Developer's Corner | 2 | 05-25-2008 02:27 AM |
Key Events in Microsoft History | Colin Dunstan | Lounge | 2 | 11-16-2004 01:03 PM |