summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--uisimulator/win32/button.c7
-rw-r--r--uisimulator/x11/button-x11.c7
2 files changed, 14 insertions, 0 deletions
diff --git a/uisimulator/win32/button.c b/uisimulator/win32/button.c
index e9dacdda46..dce055e613 100644
--- a/uisimulator/win32/button.c
+++ b/uisimulator/win32/button.c
@@ -248,3 +248,10 @@ void button_clear_queue(void)
queue_clear(&button_queue);
}
+#if CONFIG_KEYPAD == IRIVER_H100_PAD
+bool button_hold(void) {
+ /* temp fix for hold button on irivers */
+ return 0;
+}
+#endif
+
diff --git a/uisimulator/x11/button-x11.c b/uisimulator/x11/button-x11.c
index 21393215a4..594d489a56 100644
--- a/uisimulator/x11/button-x11.c
+++ b/uisimulator/x11/button-x11.c
@@ -237,3 +237,10 @@ void button_clear_queue(void)
{
while (get_raw_button());
}
+
+#if CONFIG_KEYPAD == IRIVER_H100_PAD
+bool button_hold(void) {
+ /* temp fix for hold button on irivers */
+ return 0;
+}
+#endif