diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-04-10 17:28:26 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-04-10 17:28:26 +0000 |
commit | e6cbad69745455d0ad23004c609a909a2cdabcf4 (patch) | |
tree | f512eab0f41420969f750138b76b46931bf57956 /apps/plugins/pong.c | |
parent | ec797ed62225a5f78f37e9342ac6e183332f795b (diff) |
FS#10075 - FUZE: QUIT Plugin by selecting BUTTON_HOME by Johannes Schwarz. Updates the plugin keymap to use Long Home to exit plugins to be more inline with the core keymap.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20680 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pong.c')
-rw-r--r-- | apps/plugins/pong.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/apps/plugins/pong.c b/apps/plugins/pong.c index ae6a1b5f1c..e2b4befe82 100644 --- a/apps/plugins/pong.c +++ b/apps/plugins/pong.c @@ -104,8 +104,7 @@ PLUGIN_HEADER #elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \ (CONFIG_KEYPAD == SANSA_CLIP_PAD) || \ - (CONFIG_KEYPAD == SANSA_M200_PAD) || \ - (CONFIG_KEYPAD == SANSA_FUZE_PAD) + (CONFIG_KEYPAD == SANSA_M200_PAD) #define PONG_QUIT BUTTON_POWER #define PONG_PAUSE BUTTON_SELECT #define PONG_LEFT_UP BUTTON_LEFT @@ -113,6 +112,14 @@ PLUGIN_HEADER #define PONG_RIGHT_UP BUTTON_UP #define PONG_RIGHT_DOWN BUTTON_RIGHT +#elif (CONFIG_KEYPAD == SANSA_FUZE_PAD) +#define PONG_QUIT (BUTTON_HOME|BUTTON_REPEAT) +#define PONG_PAUSE BUTTON_SELECT +#define PONG_LEFT_UP BUTTON_LEFT +#define PONG_LEFT_DOWN BUTTON_DOWN +#define PONG_RIGHT_UP BUTTON_UP +#define PONG_RIGHT_DOWN BUTTON_RIGHT + #elif (CONFIG_KEYPAD == SANSA_C200_PAD) #define PONG_QUIT BUTTON_POWER #define PONG_PAUSE BUTTON_SELECT |