summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2005-11-22 22:52:05 +0000
committerKevin Ferrare <kevin@rockbox.org>2005-11-22 22:52:05 +0000
commita3766bf92eb1eee7b81aab497525edfe0395fe8d (patch)
tree8032a2095551e9344fffa6eda94088587c7ddb34 /uisimulator
parent979b171863d93a6b625298d253de12f788d0a109 (diff)
downloadrockbox-a3766bf92eb1eee7b81aab497525edfe0395fe8d.tar.gz
rockbox-a3766bf92eb1eee7b81aab497525edfe0395fe8d.tar.bz2
rockbox-a3766bf92eb1eee7b81aab497525edfe0395fe8d.zip
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
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/win32/button.c5
-rw-r--r--uisimulator/x11/button-x11.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/uisimulator/win32/button.c b/uisimulator/win32/button.c
index 579a74a78a..7996af583d 100644
--- a/uisimulator/win32/button.c
+++ b/uisimulator/win32/button.c
@@ -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;
diff --git a/uisimulator/x11/button-x11.c b/uisimulator/x11/button-x11.c
index e037867caf..08b09cf8cb 100644
--- a/uisimulator/x11/button-x11.c
+++ b/uisimulator/x11/button-x11.c
@@ -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;