summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-03-03 15:55:11 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-03-03 15:55:11 +0000
commitabacb23796f979d3c3e2398bd6fba326cb09436d (patch)
treecab41e3d2a73430623e74378ffe08036a9ce775d /uisimulator/x11
parentcee5e944dcc792449354764586064010b5cc33ec (diff)
downloadrockbox-abacb23796f979d3c3e2398bd6fba326cb09436d.tar.gz
rockbox-abacb23796f979d3c3e2398bd6fba326cb09436d.tar.bz2
rockbox-abacb23796f979d3c3e2398bd6fba326cb09436d.zip
dummy button_hold() function to fix iriver sim builds.
(needs to be fixed to actually work on sims later) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6117 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11')
-rw-r--r--uisimulator/x11/button-x11.c7
1 files changed, 7 insertions, 0 deletions
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