mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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:
parent
33fbe7c904
commit
1ee68b0e88
1 changed files with 12 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue