Sansa Clip+: Implement button driver.
commit1bc23491064596b49ccb2961fb6afdbb4d2ef442
authorFlynDice <FlynDice@a1c6a512-1295-4272-9138-f99709370657>
Mon, 15 Feb 2010 19:29:47 +0000 (15 19:29 +0000)
committerFlynDice <FlynDice@a1c6a512-1295-4272-9138-f99709370657>
Mon, 15 Feb 2010 19:29:47 +0000 (15 19:29 +0000)
treeeda7a07aea05a84fa1786188b8657768f8670c06
parente7e6b444ef15fefa2c1bf8af67fe146cefe37cf2
Sansa Clip+:  Implement button driver.

Initial button driver for clip+.  I've followed the steps the OF uses to read the buttons.
There is no hold button on the clip+ so for now calling button_hold() siply returns false.
The OF actually sets an additional flag for the 2nd read from D6 and not BUTTON_POWER as I have done here.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24669 a1c6a512-1295-4272-9138-f99709370657
firmware/target/arm/as3525/sansa-clipplus/button-clip.c