summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-07-17 10:40:17 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2014-07-17 10:40:17 +0200
commite08331eef4555a17145d2fd2af1d5a9b5ce6d624 (patch)
treedb41fe84f8175d36525ccb7ae21995584a008253 /apps/plugins/chessbox
parent2387d92c9c39f238d3d193d970edf30162d8ec9e (diff)
downloadrockbox-e08331eef4555a17145d2fd2af1d5a9b5ce6d624.tar.gz
rockbox-e08331eef4555a17145d2fd2af1d5a9b5ce6d624.zip
zen/zenxfi/zenxfistyle/zenmozaic: implement plugin keymaps and enable plugins
Plugins on the ZEN/ZEN X-Fi require to increase the plugin buffer size. Change-Id: If4651c87b402060faa24530985c6e871379c8ea1
Diffstat (limited to 'apps/plugins/chessbox')
-rw-r--r--apps/plugins/chessbox/chessbox_pgn.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/chessbox/chessbox_pgn.h b/apps/plugins/chessbox/chessbox_pgn.h
index 1e8a9ec34f..c7aca0f939 100644
--- a/apps/plugins/chessbox/chessbox_pgn.h
+++ b/apps/plugins/chessbox/chessbox_pgn.h
@@ -475,6 +475,16 @@
475#define CB_MENU BUTTON_BACK 475#define CB_MENU BUTTON_BACK
476#define CB_LEVEL BUTTON_POWER 476#define CB_LEVEL BUTTON_POWER
477 477
478#elif CONFIG_KEYPAD == CREATIVE_ZEN_PAD
479#define CB_SELECT BUTTON_SELECT
480#define CB_UP BUTTON_UP
481#define CB_DOWN BUTTON_DOWN
482#define CB_LEFT BUTTON_LEFT
483#define CB_RIGHT BUTTON_RIGHT
484#define CB_PLAY BUTTON_PLAYPAUSE
485#define CB_MENU BUTTON_MENU
486#define CB_LEVEL BUTTON_BACK
487
478#else 488#else
479#error No keymap defined! 489#error No keymap defined!
480#endif 490#endif