summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-11-07 22:56:00 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-11-07 22:56:00 +0000
commit26348fb9cbd0296b67bb4a56ba5ceb50e4384c4b (patch)
treeccda5999d177de7da3e2884357967e48d7eba681 /apps
parenta623d3cf360d2e8839ab539e0a461fd1d3a1df1e (diff)
Test codec: Add exit button for touchscreens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23563 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/test_codec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index 465030d7fc..6f758639d1 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -32,6 +32,8 @@ PLUGIN_HEADER
#define TESTCODEC_EXITBUTTON BUTTON_PLAY
#elif CONFIG_KEYPAD == COWOND2_PAD || CONFIG_KEYPAD == ONDAVX747_PAD
#define TESTCODEC_EXITBUTTON BUTTON_POWER
+#elif defined(HAVE_TOUCHSCREEN)
+#define TESTCODEC_EXITBUTTON BUTTON_TOPLEFT
#else
#define TESTCODEC_EXITBUTTON BUTTON_SELECT
#endif