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/zxbox/zxbox_keyb.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/zxbox/zxbox_keyb.c')
-rw-r--r-- | apps/plugins/zxbox/zxbox_keyb.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/zxbox/zxbox_keyb.c b/apps/plugins/zxbox/zxbox_keyb.c index 62f593df37..b4b39d57da 100644 --- a/apps/plugins/zxbox/zxbox_keyb.c +++ b/apps/plugins/zxbox/zxbox_keyb.c | |||
@@ -254,6 +254,14 @@ | |||
254 | #define KBD_UP BUTTON_UP | 254 | #define KBD_UP BUTTON_UP |
255 | #define KBD_DOWN BUTTON_DOWN | 255 | #define KBD_DOWN BUTTON_DOWN |
256 | 256 | ||
257 | #elif (CONFIG_KEYPAD == SONY_NWZ_PAD) | ||
258 | #define KBD_SELECT BUTTON_PLAY | ||
259 | #define KBD_ABORT BUTTON_BACK | ||
260 | #define KBD_LEFT BUTTON_LEFT | ||
261 | #define KBD_RIGHT BUTTON_RIGHT | ||
262 | #define KBD_UP BUTTON_UP | ||
263 | #define KBD_DOWN BUTTON_DOWN | ||
264 | |||
257 | #endif | 265 | #endif |
258 | 266 | ||
259 | #ifdef HAVE_TOUCHSCREEN | 267 | #ifdef HAVE_TOUCHSCREEN |