From cedba8830fd015e9a61b7a772927fefe565f7b41 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 18 Jan 2006 11:09:06 +0000 Subject: Matt v.d. Westhuizen's iAudio X5 keypad adjustments git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/minesweeper.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/plugins/minesweeper.c') diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c index 5baaea6..b6a6172 100644 --- a/apps/plugins/minesweeper.c +++ b/apps/plugins/minesweeper.c @@ -80,6 +80,15 @@ PLUGIN_HEADER #define MINESWP_DISCOVER (BUTTON_SELECT | BUTTON_PLAY) #define MINESWP_INFO (BUTTON_SELECT | BUTTON_MENU) +#elif (CONFIG_KEYPAD == IAUDIO_X5_PAD) +#define MINESWP_UP BUTTON_UP +#define MINESWP_DOWN BUTTON_DOWN +#define MINESWP_QUIT BUTTON_POWER +#define MINESWP_START BUTTON_REC +#define MINESWP_TOGGLE BUTTON_PLAY +#define MINESWP_DISCOVER BUTTON_MENU +#define MINESWP_INFO (BUTTON_REC | BUTTON_PLAY) + #endif /* here is a global api struct pointer. while not strictly necessary, -- cgit v1.1