summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-03-11 15:44:35 +0000
committerDave Chapman <dave@dchapman.com>2006-03-11 15:44:35 +0000
commita814584c87fef79038f6b0f311cfc70fb51d1b95 (patch)
tree4df31679017735c7fa64b32ae78ec3ad078271ae /apps/plugin.c
parent1246668a7807f1f5b9253ad7f9a682fb6b2ff7dd (diff)
pacbox - a Pacman arcade machine emulator. Currently working for all colour targets and the iriver H1x0. Requires the Pacman arcade machine ROMs in /.rockbox/pacman/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9001 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index e7758df51c..7aa30c9ea2 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -410,6 +410,14 @@ static const struct plugin_api rockbox_api = {
/* new stuff at the end, sort into place next time
the API gets incompatible */
+
+#if CONFIG_KEYPAD == IRIVER_H300_PAD || CONFIG_KEYPAD == IPOD_4G_PAD
+ /* NOTE: This is already in the plugin api for the H100 - but we put it
+ at the end for other targets to keep the plugin api compatible */
+ button_hold,
+#endif
+ /* options */
+ set_option,
};
int plugin_load(const char* plugin, void* parameter)