diff options
author | Lorenzo Miori <memoryS60@gmail.com> | 2013-09-10 22:48:34 +0200 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-02-05 09:56:21 +0100 |
commit | e876f4df6d240bd2e319b1e63be95a625f049a97 (patch) | |
tree | ce2fe1b24650e3be7a6cd2d346d29090a5422a8c /apps/plugins | |
parent | b828b9d99bff2acc0e1f543f3176fd4b632cba68 (diff) | |
download | rockbox-e876f4df6d240bd2e319b1e63be95a625f049a97.tar.gz rockbox-e876f4df6d240bd2e319b1e63be95a625f049a97.zip |
Samsung YP-R1 target port
This is the basic port to the new target Samsung
YP-R1, which runs on a similar platform as YP-R0.
Port is usable, although there are still
some optimizations that have to be done.
Change-Id: If83a8e386369e413581753780c159026d9e41f04
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/clix.c | 3 | ||||
-rw-r--r-- | apps/plugins/reversi/reversi-gui.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/clix.c b/apps/plugins/clix.c index 14b0b09cda..59cf162b0a 100644 --- a/apps/plugins/clix.c +++ b/apps/plugins/clix.c | |||
@@ -221,6 +221,9 @@ | |||
221 | #define CLIX_BUTTON_RIGHT BUTTON_RIGHT | 221 | #define CLIX_BUTTON_RIGHT BUTTON_RIGHT |
222 | #define CLIX_BUTTON_CLICK BUTTON_SELECT | 222 | #define CLIX_BUTTON_CLICK BUTTON_SELECT |
223 | 223 | ||
224 | #elif (CONFIG_KEYPAD == SAMSUNG_YPR1_PAD) | ||
225 | #define CLIX_BUTTON_QUIT BUTTON_POWER | ||
226 | |||
224 | #else | 227 | #else |
225 | #error "no keymap" | 228 | #error "no keymap" |
226 | #endif | 229 | #endif |
diff --git a/apps/plugins/reversi/reversi-gui.h b/apps/plugins/reversi/reversi-gui.h index 47b7ff204d..124cf471bb 100644 --- a/apps/plugins/reversi/reversi-gui.h +++ b/apps/plugins/reversi/reversi-gui.h | |||
@@ -283,6 +283,9 @@ | |||
283 | #define REVERSI_BUTTON_MAKE_MOVE BUTTON_SELECT | 283 | #define REVERSI_BUTTON_MAKE_MOVE BUTTON_SELECT |
284 | #define REVERSI_BUTTON_MENU BUTTON_POWER | 284 | #define REVERSI_BUTTON_MENU BUTTON_POWER |
285 | 285 | ||
286 | #elif CONFIG_KEYPAD == SAMSUNG_YPR1_PAD | ||
287 | #define REVERSI_BUTTON_QUIT BUTTON_POWER | ||
288 | |||
286 | #else | 289 | #else |
287 | #error No keymap defined! | 290 | #error No keymap defined! |
288 | #endif | 291 | #endif |