diff options
author | Dominik Wenger <domonoky@googlemail.com> | 2008-12-12 19:50:49 +0000 |
---|---|---|
committer | Dominik Wenger <domonoky@googlemail.com> | 2008-12-12 19:50:49 +0000 |
commit | 90bcf9be5ec65894fa75bfc546c6d2a8365ec899 (patch) | |
tree | af8b2db20169a29de52056354e13034ea3d8839c /apps/plugins/sliding_puzzle.c | |
parent | 790f5ae1e0f90bcbb85950a60b8597e4e40ed0ba (diff) | |
download | rockbox-90bcf9be5ec65894fa75bfc546c6d2a8365ec899.tar.gz rockbox-90bcf9be5ec65894fa75bfc546c6d2a8365ec899.zip |
m200v4: rename Keys, so they match better other targets with similar key-layout. Enable plugins, add keymaps for plugins. More keymap improvements needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19405 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/sliding_puzzle.c')
-rw-r--r-- | apps/plugins/sliding_puzzle.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/apps/plugins/sliding_puzzle.c b/apps/plugins/sliding_puzzle.c index fddb6bebc2..85f4d32f68 100644 --- a/apps/plugins/sliding_puzzle.c +++ b/apps/plugins/sliding_puzzle.c | |||
@@ -95,7 +95,7 @@ PLUGIN_HEADER | |||
95 | #define PUZZLE_PICTURE BUTTON_A | 95 | #define PUZZLE_PICTURE BUTTON_A |
96 | 96 | ||
97 | #elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \ | 97 | #elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \ |
98 | (CONFIG_KEYPAD == SANSA_C200_PAD) | 98 | (CONFIG_KEYPAD == SANSA_C200_PAD) |
99 | #define PUZZLE_QUIT BUTTON_POWER | 99 | #define PUZZLE_QUIT BUTTON_POWER |
100 | #define PUZZLE_LEFT BUTTON_LEFT | 100 | #define PUZZLE_LEFT BUTTON_LEFT |
101 | #define PUZZLE_RIGHT BUTTON_RIGHT | 101 | #define PUZZLE_RIGHT BUTTON_RIGHT |
@@ -113,6 +113,15 @@ PLUGIN_HEADER | |||
113 | #define PUZZLE_SHUFFLE BUTTON_HOME | 113 | #define PUZZLE_SHUFFLE BUTTON_HOME |
114 | #define PUZZLE_PICTURE BUTTON_SELECT | 114 | #define PUZZLE_PICTURE BUTTON_SELECT |
115 | 115 | ||
116 | #elif (CONFIG_KEYPAD == SANSA_M200_PAD) | ||
117 | #define PUZZLE_QUIT BUTTON_POWER | ||
118 | #define PUZZLE_LEFT BUTTON_LEFT | ||
119 | #define PUZZLE_RIGHT BUTTON_RIGHT | ||
120 | #define PUZZLE_UP BUTTON_UP | ||
121 | #define PUZZLE_DOWN BUTTON_DOWN | ||
122 | #define PUZZLE_SHUFFLE (BUTTON_SELECT | BUTTON_UP) | ||
123 | #define PUZZLE_PICTURE (BUTTON_SELECT | BUTTON_REL) | ||
124 | |||
116 | #elif (CONFIG_KEYPAD == IRIVER_H10_PAD) | 125 | #elif (CONFIG_KEYPAD == IRIVER_H10_PAD) |
117 | #define PUZZLE_QUIT BUTTON_POWER | 126 | #define PUZZLE_QUIT BUTTON_POWER |
118 | #define PUZZLE_LEFT BUTTON_LEFT | 127 | #define PUZZLE_LEFT BUTTON_LEFT |