From 970b46045e9814bb5e37740b80c6cbaffa37e450 Mon Sep 17 00:00:00 2001 From: Torne Wuff Date: Thu, 20 May 2010 18:45:50 +0000 Subject: Tweak new pluginlib button map for frotz to be more convenient git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26206 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/frotz/frotz.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/plugins/frotz') diff --git a/apps/plugins/frotz/frotz.c b/apps/plugins/frotz/frotz.c index a12faf90aa..aff91002ef 100644 --- a/apps/plugins/frotz/frotz.c +++ b/apps/plugins/frotz/frotz.c @@ -122,8 +122,8 @@ void wait_for_key() for (;;) { - action = pluginlib_getaction(TIMEOUT_BLOCK, - plugin_contexts, 1); + action = pluginlib_getaction(TIMEOUT_BLOCK, plugin_contexts, + ARRAYLEN(plugin_contexts)); switch (action) { case PLA_EXIT: @@ -171,7 +171,7 @@ zchar do_input(int timeout, bool show_cursor) case PLA_SELECT: return ZC_RETURN; - case PLA_SELECT_REPEAT: + case PLA_DOWN: return ZC_BAD; default: -- cgit