iAudio X5: hold button functions (not yet complete)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8574 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2006-02-05 00:20:11 +00:00
parent 33fbe7c904
commit 1ee68b0e88

View file

@ -930,6 +930,18 @@ bool button_hold(void)
}
#endif
#if (CONFIG_KEYPAD == IAUDIO_X5_PAD)
bool button_hold(void)
{
return (GPIO_READ & 0x08000000)?true:false;
}
bool remote_button_hold(void)
{
return false; /* TODO X5 */
}
#endif
int button_status(void)
{
return lastbtn;