![]() |
#61 |
Connoisseur
![]() ![]() Posts: 51
Karma: 104
Join Date: Mar 2010
Device: 505, Kindle PW
|
|
![]() |
![]() |
#62 |
Connoisseur
![]() ![]() Posts: 51
Karma: 104
Join Date: Mar 2010
Device: 505, Kindle PW
|
|
![]() |
Advert | |
|
![]() |
#63 |
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
|
![]() |
![]() |
#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) |
![]() |
![]() |
#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 | |
|
![]() |
#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)))
|
![]() |
![]() |
#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. |
![]() |
![]() |
#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? |
||
![]() |
![]() |
#69 | |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
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 |
|
![]() |
![]() |
#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))) |
![]() |
![]() |
#71 |
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
|
![]() |
![]() |
#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. |
![]() |
![]() |
#73 |
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
|
![]() |
![]() |
#74 | |
Connoisseur
![]() ![]() Posts: 51
Karma: 104
Join Date: Mar 2010
Device: 505, Kindle PW
|
Quote:
hold: N + 10 |
|
![]() |
![]() |
#75 |
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
|
![]() |
![]() |
|
![]() |
||||
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 |