diff options
-rw-r--r-- | apps/keymaps/keymap-cowond2.c | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/apps/keymaps/keymap-cowond2.c b/apps/keymaps/keymap-cowond2.c index 589d2b4b9b..594a68f4a4 100644 --- a/apps/keymaps/keymap-cowond2.c +++ b/apps/keymaps/keymap-cowond2.c | |||
@@ -71,8 +71,8 @@ static const struct button_mapping button_context_list[] = { | |||
71 | }; /* button_context_list */ | 71 | }; /* button_context_list */ |
72 | 72 | ||
73 | static const struct button_mapping button_context_tree[] = { | 73 | static const struct button_mapping button_context_tree[] = { |
74 | { ACTION_TREE_WPS, BUTTON_PLUS|BUTTON_MENU, BUTTON_PLUS }, | 74 | { ACTION_TREE_WPS, BUTTON_PLUS|BUTTON_MENU, BUTTON_PLUS }, |
75 | { ACTION_TREE_WPS, BUTTON_PLUS|BUTTON_MENU, BUTTON_PLUS|BUTTON_REPEAT }, | 75 | { ACTION_TREE_STOP, BUTTON_POWER|BUTTON_REL, BUTTON_POWER }, |
76 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_LIST) | 76 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_LIST) |
77 | }; /* button_context_tree */ | 77 | }; /* button_context_tree */ |
78 | 78 | ||
@@ -102,6 +102,7 @@ static const struct button_mapping button_context_settings_right_is_inc[] = { | |||
102 | 102 | ||
103 | static const struct button_mapping button_context_yesno[] = { | 103 | static const struct button_mapping button_context_yesno[] = { |
104 | { ACTION_YESNO_ACCEPT, BUTTON_MENU, BUTTON_NONE }, | 104 | { ACTION_YESNO_ACCEPT, BUTTON_MENU, BUTTON_NONE }, |
105 | |||
105 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) | 106 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) |
106 | }; /* button_context_settings_yesno */ | 107 | }; /* button_context_settings_yesno */ |
107 | 108 | ||
@@ -123,6 +124,8 @@ static const struct button_mapping button_context_time[] = { | |||
123 | }; /* button_context_time */ | 124 | }; /* button_context_time */ |
124 | 125 | ||
125 | static const struct button_mapping button_context_quickscreen[] = { | 126 | static const struct button_mapping button_context_quickscreen[] = { |
127 | { ACTION_STD_CANCEL, BUTTON_POWER|BUTTON_REL, BUTTON_NONE }, | ||
128 | { ACTION_STD_CANCEL, BUTTON_MENU|BUTTON_REL, BUTTON_NONE }, | ||
126 | 129 | ||
127 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) | 130 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) |
128 | }; /* button_context_quickscreen */ | 131 | }; /* button_context_quickscreen */ |
@@ -130,9 +133,9 @@ static const struct button_mapping button_context_quickscreen[] = { | |||
130 | static const struct button_mapping button_context_pitchscreen[] = { | 133 | static const struct button_mapping button_context_pitchscreen[] = { |
131 | 134 | ||
132 | { ACTION_PS_INC_SMALL, BUTTON_PLUS, BUTTON_NONE }, | 135 | { ACTION_PS_INC_SMALL, BUTTON_PLUS, BUTTON_NONE }, |
133 | { ACTION_PS_INC_SMALL, BUTTON_PLUS|BUTTON_REPEAT, BUTTON_NONE }, | 136 | { ACTION_PS_INC_BIG, BUTTON_PLUS|BUTTON_REPEAT, BUTTON_NONE }, |
134 | { ACTION_PS_DEC_SMALL, BUTTON_MINUS, BUTTON_NONE }, | 137 | { ACTION_PS_DEC_SMALL, BUTTON_MINUS, BUTTON_NONE }, |
135 | { ACTION_PS_DEC_SMALL, BUTTON_MINUS|BUTTON_REPEAT, BUTTON_NONE }, | 138 | { ACTION_PS_DEC_BIG, BUTTON_MINUS|BUTTON_REPEAT, BUTTON_NONE }, |
136 | { ACTION_PS_EXIT, BUTTON_POWER, BUTTON_NONE }, | 139 | { ACTION_PS_EXIT, BUTTON_POWER, BUTTON_NONE }, |
137 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) | 140 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) |
138 | }; /* button_context_pitchcreen */ | 141 | }; /* button_context_pitchcreen */ |
@@ -148,8 +151,13 @@ static const struct button_mapping button_context_keyboard[] = { | |||
148 | }; /* button_context_keyboard */ | 151 | }; /* button_context_keyboard */ |
149 | 152 | ||
150 | static const struct button_mapping button_context_radio[] = { | 153 | static const struct button_mapping button_context_radio[] = { |
151 | { ACTION_FM_MENU, BUTTON_MENU, BUTTON_NONE }, | 154 | { ACTION_STD_PREV, BUTTON_MINUS, BUTTON_NONE }, |
152 | { ACTION_FM_STOP, BUTTON_POWER, BUTTON_NONE }, | 155 | { ACTION_STD_PREVREPEAT, BUTTON_MINUS|BUTTON_REPEAT, BUTTON_NONE }, |
156 | { ACTION_STD_NEXT, BUTTON_PLUS, BUTTON_NONE }, | ||
157 | { ACTION_STD_NEXTREPEAT, BUTTON_PLUS|BUTTON_REPEAT, BUTTON_NONE }, | ||
158 | { ACTION_FM_MENU, BUTTON_MENU|BUTTON_REPEAT, BUTTON_NONE }, | ||
159 | { ACTION_FM_PRESET, BUTTON_MENU|BUTTON_REL, BUTTON_NONE }, | ||
160 | { ACTION_FM_STOP, BUTTON_POWER, BUTTON_NONE }, | ||
153 | 161 | ||
154 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS) | 162 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS) |
155 | }; /* button_context_radio */ | 163 | }; /* button_context_radio */ |