Rockbox mail archive
Subject: Re: How to shorten the LONG PLAY press to shut down an iPod?
Re: How to shorten the LONG PLAY press to shut down an iPod?
2011/6/30 asettico <asettico_at_rossomaltese.it>:
> Hi all,
> since I'm experiencing a little bit too much long the time after which the
> pressed PLAY button shut down the DAP, I would like to try to shorten this
> Digging in the sources, I found this define:
> trunk/firmware/target/arm/ipod/button-target.h:76:#define POWEROFF_COUNT 40
> The questions are:
> is this enough to change the LONG PRESS time?
> and was the value 40 hard coded after some calibration or have I some range
> to perform some tests?
This line doesn't change regular long presses, only the shutdown one.
Grep tells me that our target have this value set in range 10-40 and I
guess it was chosen to the taste of the ipod's button driver
Received on 2011-06-30
Page was last modified "Jan 10 2012" The Rockbox Crew