From abacb23796f979d3c3e2398bd6fba326cb09436d Mon Sep 17 00:00:00 2001 From: Michiel Van Der Kolk Date: Thu, 3 Mar 2005 15:55:11 +0000 Subject: 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 --- uisimulator/win32/button.c | 7 +++++++ uisimulator/x11/button-x11.c | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/uisimulator/win32/button.c b/uisimulator/win32/button.c index e9dacdd..dce055e 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 2139321..594d489 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 -- cgit v1.1