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

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-17-2008, 05:49 AM   #1
iamphet
Junior Member
iamphet began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2008
Device: PRS-505
Remapping of Enter to suspend the reader

Has anyone tried to remap holding of Enter to suspend the reader?
I've given a try to code below in applicationStart.xml but for some reason it didn't work.
Code:
<boolean key="0x27-hold" do="doSuspend"/>
iamphet is offline   Reply With Quote
Old 10-17-2008, 08:05 AM   #2
gwynevans
Wizard
gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.
 
gwynevans's Avatar
 
Posts: 1,343
Karma: 1065246
Join Date: Nov 2007
Location: UK
Device: Sony 505 (retired), iPad2, iPhone 3GS & Nexus 7 3G
'These days' (:-)) this is normally done via the PRSCustomizer process - it'd probably be quicker to have a go with that than to try & work out why it's not working and what you're doing.
gwynevans is offline   Reply With Quote
 
Enthusiast
Old 10-17-2008, 08:56 AM   #3
iamphet
Junior Member
iamphet began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2008
Device: PRS-505
The reason for asking is that PRSCustomizer does not have this functionality: it allows shutdown on enter but this is not what I wanted.
iamphet is offline   Reply With Quote
Old 10-17-2008, 09:36 AM   #4
gwynevans
Wizard
gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.
 
gwynevans's Avatar
 
Posts: 1,343
Karma: 1065246
Join Date: Nov 2007
Location: UK
Device: Sony 505 (retired), iPad2, iPhone 3GS & Nexus 7 3G
Ah, sorry - missed that.

Does the flashing process work for you? Maybe try using the PRSCustomizer to setup the sdcard, check that setup works then tweak the file it's generated.

sdcard\files.505.1.1.00.18040\opt\sony\ebook\appli cation\resources\applicationStart.xml to be exact...

You're sure your setting's not being reset by a setting 'later' in the file?
gwynevans is offline   Reply With Quote
Old 10-17-2008, 10:39 AM   #5
iamphet
Junior Member
iamphet began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2008
Device: PRS-505
Yes, I checked that there are no overriding settings.

Also this code from PRSCustomizer indeed shutdowns the reader:
Code:
<boolean key="0x27-hold" do="doDeviceShutdown"/>
But substitution doDeviceShutdown -> doSuspend does nothing
Suspension from volume keys does not work too.
Code:
<boolean key="0x41-hold" do="doSuspend"/>
<boolean key="0x40-hold" do="doSuspend"/>
iamphet 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
iRex Iliad was not designed for Suspend/Hibernate CommanderROR iRex 52 05-29-2011 09:50 AM
Disable / Wake Suspend during News Fetch jessie102 Calibre 5 02-17-2010 04:26 AM
remapping buttons kaas Sony Reader Dev Corner 3 07-31-2008 03:35 PM
So no sleep or suspend? How about RESUME? Asterra iRex 1 12-28-2007 01:55 PM
iLiad Reason for suspend problem bitz iRex Developer's Corner 0 10-01-2007 06:41 PM


All times are GMT -4. The time now is 07:53 AM.


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