summaryrefslogtreecommitdiff
path: root/apps/plugins/minesweeper.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-06-28 06:24:26 -0400
committerMichael Giacomelli <giac2000@hotmail.com>2018-07-28 10:56:31 -0400
commit0662793ca0050e823cd1207cc4689a1cba5068bd (patch)
tree08cd2ec59c9044c96b697b5bf8d0640841d044e0 /apps/plugins/minesweeper.c
parentb3e2bd619b1b7ea94ef29d32db48e80b347a1990 (diff)
downloadrockbox-0662793ca0050e823cd1207cc4689a1cba5068bd.tar.gz
rockbox-0662793ca0050e823cd1207cc4689a1cba5068bd.zip
Add cleaned-up xDuoo X3 support
Cleaned up, rebased, and forward-ported from the xvortex fork. (original credit to vsoftster@gmail.com) Change-Id: Ibcc023a0271ea81e901450a88317708c2683236d Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Diffstat (limited to 'apps/plugins/minesweeper.c')
-rw-r--r--apps/plugins/minesweeper.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c
index 98eb8d9e7a..2a3b5f78e9 100644
--- a/apps/plugins/minesweeper.c
+++ b/apps/plugins/minesweeper.c
@@ -404,6 +404,19 @@ CONFIG_KEYPAD == MROBE500_PAD
404#elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD 404#elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD
405# define MINESWP_QUIT BUTTON_POWER 405# define MINESWP_QUIT BUTTON_POWER
406 406
407#elif (CONFIG_KEYPAD == XDUOO_X3_PAD)
408# define MINESWP_LEFT BUTTON_PREV
409# define MINESWP_RIGHT BUTTON_NEXT
410# define MINESWP_UP BUTTON_HOME
411# define MINESWP_DOWN BUTTON_OPTION
412# define MINESWP_QUIT BUTTON_POWER
413# define MINESWP_TOGGLE_PRE BUTTON_PLAY
414# define MINESWP_TOGGLE (BUTTON_PLAY | BUTTON_REL)
415# define MINESWP_TOGGLE2 BUTTON_VOL_DOWN
416# define MINESWP_DISCOVER (BUTTON_PLAY | BUTTON_REPEAT)
417# define MINESWP_DISCOVER2 BUTTON_VOL_UP
418# define MINESWP_INFO (BUTTON_PLAY | BUTTON_OPTION)
419
407#else 420#else
408#error No keymap defined! 421#error No keymap defined!
409#endif 422#endif