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/text_viewer | |
parent | 6e575b6c7011827c042cba7b27537c1ceec9ef24 (diff) |
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/text_viewer')
-rw-r--r-- | apps/plugins/text_viewer/tv_button.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/text_viewer/tv_button.h b/apps/plugins/text_viewer/tv_button.h index b63f8780ea..b1660c0840 100644 --- a/apps/plugins/text_viewer/tv_button.h +++ b/apps/plugins/text_viewer/tv_button.h @@ -486,6 +486,16 @@ #define TV_AUTOSCROLL BUTTON_NEXT #define TV_BOOKMARK BUTTON_SELECT +#elif CONFIG_KEYPAD == SONY_NWZ_PAD +#define TV_QUIT (BUTTON_BACK|BUTTON_REPEAT) +#define TV_SCROLL_UP BUTTON_UP +#define TV_SCROLL_DOWN BUTTON_DOWN +#define TV_SCREEN_LEFT BUTTON_LEFT +#define TV_SCREEN_RIGHT BUTTON_RIGHT +#define TV_MENU BUTTON_BACK +#define TV_AUTOSCROLL BUTTON_PLAY +#define TV_BOOKMARK BUTTON_POWER + #else #error No keymap defined! #endif |