diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-03-24 16:40:31 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-03-24 16:40:31 +0000 |
commit | 2670e3f0387882dbc70346d0449939a9c5726d0c (patch) | |
tree | 1638ccada3010fecab5731bb034f003a13c0696d /apps/keymaps/keymap-mr500.c | |
parent | a5501d68ccbb2f9690cb8d6a83b17b4bb204aa6c (diff) | |
download | rockbox-2670e3f0387882dbc70346d0449939a9c5726d0c.tar.gz rockbox-2670e3f0387882dbc70346d0449939a9c5726d0c.zip |
More M:Robe 500 work: PCM stopping and pausing roughly works, added some keymaps for the WPS screen, and peakmeter now works properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20511 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-mr500.c')
-rw-r--r-- | apps/keymaps/keymap-mr500.c | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/apps/keymaps/keymap-mr500.c b/apps/keymaps/keymap-mr500.c index 7ed2e5f3ae..b044cb5e93 100644 --- a/apps/keymaps/keymap-mr500.c +++ b/apps/keymaps/keymap-mr500.c | |||
@@ -39,8 +39,6 @@ | |||
39 | 39 | ||
40 | #define BUTTON_UP BUTTON_RC_PLAY | 40 | #define BUTTON_UP BUTTON_RC_PLAY |
41 | #define BUTTON_DOWN BUTTON_RC_DOWN | 41 | #define BUTTON_DOWN BUTTON_RC_DOWN |
42 | //#define BUTTON_LEFT BUTTON_RC_REW | ||
43 | //#define BUTTON_RIGHT BUTTON_RC_FF | ||
44 | 42 | ||
45 | #define BUTTON_SELECT BUTTON_RC_HEART | 43 | #define BUTTON_SELECT BUTTON_RC_HEART |
46 | #define BUTTON_MENU BUTTON_RC_MODE | 44 | #define BUTTON_MENU BUTTON_RC_MODE |
@@ -66,8 +64,29 @@ static const struct button_mapping button_context_standard[] = { | |||
66 | LAST_ITEM_IN_LIST | 64 | LAST_ITEM_IN_LIST |
67 | }; /* button_context_standard */ | 65 | }; /* button_context_standard */ |
68 | 66 | ||
69 | |||
70 | static const struct button_mapping button_context_wps[] = { | 67 | static const struct button_mapping button_context_wps[] = { |
68 | { ACTION_WPS_PLAY, BUTTON_RC_PLAY|BUTTON_REL, BUTTON_RC_PLAY }, | ||
69 | { ACTION_WPS_STOP, BUTTON_RC_DOWN|BUTTON_REL, BUTTON_RC_DOWN }, | ||
70 | |||
71 | { ACTION_WPS_SKIPNEXT, BUTTON_RC_FF|BUTTON_REL, BUTTON_RC_FF }, | ||
72 | { ACTION_WPS_SKIPPREV, BUTTON_RC_REW|BUTTON_REL, BUTTON_RC_REW }, | ||
73 | |||
74 | { ACTION_WPS_SEEKBACK, BUTTON_RC_REW|BUTTON_REPEAT,BUTTON_NONE }, | ||
75 | { ACTION_WPS_SEEKFWD, BUTTON_RC_FF|BUTTON_REPEAT, BUTTON_NONE }, | ||
76 | { ACTION_WPS_STOPSEEK, BUTTON_RC_REW|BUTTON_REL, BUTTON_RC_REW|BUTTON_REPEAT }, | ||
77 | { ACTION_WPS_STOPSEEK, BUTTON_RC_FF|BUTTON_REL, BUTTON_RC_FF|BUTTON_REPEAT }, | ||
78 | |||
79 | { ACTION_WPS_VOLDOWN, BUTTON_RC_VOL_DOWN|BUTTON_REPEAT, BUTTON_NONE }, | ||
80 | { ACTION_WPS_VOLDOWN, BUTTON_RC_VOL_DOWN, BUTTON_NONE }, | ||
81 | { ACTION_WPS_VOLUP, BUTTON_RC_VOL_UP|BUTTON_REPEAT, BUTTON_NONE }, | ||
82 | { ACTION_WPS_VOLUP, BUTTON_RC_VOL_UP, BUTTON_NONE }, | ||
83 | |||
84 | { ACTION_WPS_QUICKSCREEN, BUTTON_RC_MODE|BUTTON_REPEAT, BUTTON_RC_MODE }, | ||
85 | { ACTION_WPS_MENU, BUTTON_RC_MODE|BUTTON_REL, BUTTON_RC_MODE }, | ||
86 | { ACTION_WPS_CONTEXT, BUTTON_RC_HEART|BUTTON_REPEAT, BUTTON_RC_HEART }, | ||
87 | |||
88 | { ACTION_WPS_BROWSE, BUTTON_RC_HEART|BUTTON_REL, BUTTON_RC_HEART }, | ||
89 | |||
71 | LAST_ITEM_IN_LIST | 90 | LAST_ITEM_IN_LIST |
72 | }; /* button_context_wps */ | 91 | }; /* button_context_wps */ |
73 | 92 | ||