added the stubs for the hold buttons on H300 simulator

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8047 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Kevin Ferrare 2005-11-22 22:52:05 +00:00
parent 979b171863
commit a3766bf92e
2 changed files with 8 additions and 2 deletions

View file

@ -260,11 +260,14 @@ void button_clear_queue(void)
queue_clear(&button_queue);
}
#if CONFIG_KEYPAD == IRIVER_H100_PAD
#ifdef HAS_BUTTON_HOLD
bool button_hold(void) {
/* temp fix for hold button on irivers */
return false;
}
#endif
#ifdef HAS_REMOTE_BUTTON_HOLD
bool remote_button_hold(void) {
/* temp fix for hold button on irivers */
return false;

View file

@ -297,11 +297,14 @@ void button_clear_queue(void)
queue_clear(&button_queue);
}
#if CONFIG_KEYPAD == IRIVER_H100_PAD
#ifdef HAS_BUTTON_HOLD
bool button_hold(void) {
/* temp fix for hold button on irivers */
return false;
}
#endif
#ifdef HAS_REMOTE_BUTTON_HOLD
bool remote_button_hold(void) {
/* temp fix for hold button on irivers */
return false;