Commit FS#10887 by me. Change the check for software poweroff to be that the power...
commit10854a682ad8cf3e577feaf72fc193e713a28303
authorsaratoga <saratoga@a1c6a512-1295-4272-9138-f99709370657>
Sat, 29 May 2010 21:54:14 +0000 (29 21:54 +0000)
committersaratoga <saratoga@a1c6a512-1295-4272-9138-f99709370657>
Sat, 29 May 2010 21:54:14 +0000 (29 21:54 +0000)
treef5a7b6605eed76b4f7c03ee2b237763621a2e6b4
parent17503ece942d56c2d9763eaaca55748310f1e5a0
Commit FS#10887 by me.  Change the check for software poweroff to be that the power button is held, not that the power button is held AND that no other button is held.  This makes shutting down players with small tightly spaced buttons (Sandisk...) much easier.  This also means that combos involving the power button can now potientially power off the player.  The H10 and sansas excluding the Fuze use a combo involving power for AB repeat mode.  However, the timeout for shutdown is much longer then the long press duration needed for AB repeat, and in practice seems to not be a problem on these players.  I've tested this on various players for a long time and bugged other people to try it out, so I think its pretty safe, but if theres problems it can be reverted or keymaps tweaked.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26397 a1c6a512-1295-4272-9138-f99709370657
firmware/drivers/button.c