diff options
author | Nils Stec <nils.stec@gmail.com> | 2014-06-30 20:24:15 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2014-06-30 21:20:15 +0200 |
commit | c9816f57bf8782fd2ce6487aa0dc0f739145b631 (patch) | |
tree | af0f7314182fb8ee278ced53b7f79615312f32d2 /apps/plugins/minesweeper.c | |
parent | 6e575b6c7011827c042cba7b27537c1ceec9ef24 (diff) | |
download | rockbox-c9816f57bf8782fd2ce6487aa0dc0f739145b631.tar.gz rockbox-c9816f57bf8782fd2ce6487aa0dc0f739145b631.zip |
Introduce plugin keymaps for the Sony NWZ Series
Change-Id: I46b8766bd44118bce4931b7ee71815ae5f51cb2e
Reviewed-on: http://gerrit.rockbox.org/879
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
Diffstat (limited to 'apps/plugins/minesweeper.c')
-rw-r--r-- | apps/plugins/minesweeper.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c index c1e6b4a84d..030151398a 100644 --- a/apps/plugins/minesweeper.c +++ b/apps/plugins/minesweeper.c | |||
@@ -357,6 +357,16 @@ CONFIG_KEYPAD == MROBE500_PAD | |||
357 | # define MINESWP_DISCOVER BUTTON_PLAY | 357 | # define MINESWP_DISCOVER BUTTON_PLAY |
358 | # define MINESWP_INFO BUTTON_VOL_DOWN | 358 | # define MINESWP_INFO BUTTON_VOL_DOWN |
359 | 359 | ||
360 | #elif CONFIG_KEYPAD == SONY_NWZ_PAD | ||
361 | #define MINESWP_LEFT BUTTON_LEFT | ||
362 | #define MINESWP_RIGHT BUTTON_RIGHT | ||
363 | #define MINESWP_UP BUTTON_UP | ||
364 | #define MINESWP_DOWN BUTTON_DOWN | ||
365 | #define MINESWP_QUIT BUTTON_BACK | ||
366 | #define MINESWP_TOGGLE BUTTON_PLAY | ||
367 | #define MINESWP_DISCOVER (BUTTON_PLAY|BUTTON_REPEAT) | ||
368 | #define MINESWP_INFO BUTTON_POWER | ||
369 | |||
360 | #else | 370 | #else |
361 | #error No keymap defined! | 371 | #error No keymap defined! |
362 | #endif | 372 | #endif |