diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/keymaps/keymap-ondavx777.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/apps/keymaps/keymap-ondavx777.c b/apps/keymaps/keymap-ondavx777.c index f492a1964f..b9cf5c2a1e 100644 --- a/apps/keymaps/keymap-ondavx777.c +++ b/apps/keymaps/keymap-ondavx777.c | |||
@@ -39,11 +39,13 @@ | |||
39 | */ | 39 | */ |
40 | 40 | ||
41 | static const struct button_mapping button_context_standard[] = { | 41 | static const struct button_mapping button_context_standard[] = { |
42 | { ACTION_STD_CANCEL, BUTTON_POWER, BUTTON_NONE }, | ||
42 | LAST_ITEM_IN_LIST | 43 | LAST_ITEM_IN_LIST |
43 | }; /* button_context_standard */ | 44 | }; /* button_context_standard */ |
44 | 45 | ||
45 | 46 | ||
46 | static const struct button_mapping button_context_wps[] = { | 47 | static const struct button_mapping button_context_wps[] = { |
48 | { ACTION_STD_KEYLOCK, BUTTON_POWER, BUTTON_NONE }, | ||
47 | LAST_ITEM_IN_LIST | 49 | LAST_ITEM_IN_LIST |
48 | }; /* button_context_wps */ | 50 | }; /* button_context_wps */ |
49 | 51 | ||
@@ -64,7 +66,7 @@ static const struct button_mapping button_context_listtree_scroll_without_combo[ | |||
64 | }; | 66 | }; |
65 | 67 | ||
66 | static const struct button_mapping button_context_settings[] = { | 68 | static const struct button_mapping button_context_settings[] = { |
67 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) | 69 | { ACTION_STD_CANCEL, BUTTON_POWER, BUTTON_NONE }, LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) |
68 | }; /* button_context_settings */ | 70 | }; /* button_context_settings */ |
69 | 71 | ||
70 | static const struct button_mapping button_context_settings_right_is_inc[] = { | 72 | static const struct button_mapping button_context_settings_right_is_inc[] = { |
@@ -90,7 +92,7 @@ static const struct button_mapping button_context_bmark[] = { | |||
90 | }; /* button_context_bmark */ | 92 | }; /* button_context_bmark */ |
91 | 93 | ||
92 | static const struct button_mapping button_context_time[] = { | 94 | static const struct button_mapping button_context_time[] = { |
93 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS), | 95 | { ACTION_STD_CANCEL, BUTTON_POWER|BUTTON_REL, BUTTON_POWER }, LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS), |
94 | }; /* button_context_time */ | 96 | }; /* button_context_time */ |
95 | 97 | ||
96 | static const struct button_mapping button_context_quickscreen[] = { | 98 | static const struct button_mapping button_context_quickscreen[] = { |
@@ -99,10 +101,14 @@ static const struct button_mapping button_context_quickscreen[] = { | |||
99 | }; /* button_context_quickscreen */ | 101 | }; /* button_context_quickscreen */ |
100 | 102 | ||
101 | static const struct button_mapping button_context_pitchscreen[] = { | 103 | static const struct button_mapping button_context_pitchscreen[] = { |
104 | { ACTION_PS_EXIT, BUTTON_POWER, BUTTON_NONE }, | ||
105 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) | ||
102 | }; /* button_context_pitchcreen */ | 106 | }; /* button_context_pitchcreen */ |
103 | 107 | ||
104 | /** FM Radio Screen **/ | 108 | /** FM Radio Screen **/ |
105 | static const struct button_mapping button_context_radio[] = { | 109 | static const struct button_mapping button_context_radio[] = { |
110 | { ACTION_FM_MODE, BUTTON_POWER|BUTTON_REL, BUTTON_POWER }, | ||
111 | { ACTION_FM_EXIT, BUTTON_POWER|BUTTON_REPEAT, BUTTON_NONE }, | ||
106 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS) | 112 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS) |
107 | }; /* button_context_radio */ | 113 | }; /* button_context_radio */ |
108 | 114 | ||
@@ -112,6 +118,8 @@ static const struct button_mapping button_context_keyboard[] = { | |||
112 | 118 | ||
113 | #ifdef USB_ENABLE_HID | 119 | #ifdef USB_ENABLE_HID |
114 | static const struct button_mapping button_context_usb_hid[] = { | 120 | static const struct button_mapping button_context_usb_hid[] = { |
121 | { ACTION_USB_HID_MODE_SWITCH_NEXT, BUTTON_POWER|BUTTON_REL, BUTTON_POWER }, | ||
122 | { ACTION_USB_HID_MODE_SWITCH_PREV, BUTTON_POWER|BUTTON_REPEAT, BUTTON_POWER }, | ||
115 | LAST_ITEM_IN_LIST | 123 | LAST_ITEM_IN_LIST |
116 | }; /* button_context_usb_hid */ | 124 | }; /* button_context_usb_hid */ |
117 | #endif | 125 | #endif |