diff options
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 | ||