summaryrefslogtreecommitdiff
path: root/apps/keymaps/keymap-newtarget.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/keymaps/keymap-newtarget.c')
-rw-r--r--apps/keymaps/keymap-newtarget.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/keymaps/keymap-newtarget.c b/apps/keymaps/keymap-newtarget.c
index 3cd828c0b4..ab1e157937 100644
--- a/apps/keymaps/keymap-newtarget.c
+++ b/apps/keymaps/keymap-newtarget.c
@@ -42,12 +42,12 @@
42 * if there's no need to check the previous button's value, use BUTTON_NONE 42 * if there's no need to check the previous button's value, use BUTTON_NONE
43 * Insert LAST_ITEM_IN_LIST at the end of each mapping 43 * Insert LAST_ITEM_IN_LIST at the end of each mapping
44 */ 44 */
45struct button_mapping button_context_standard[] = { 45const struct button_mapping button_context_standard[] = {
46 46
47 LAST_ITEM_IN_LIST 47 LAST_ITEM_IN_LIST
48}; /* button_context_standard */ 48}; /* button_context_standard */
49 49
50struct button_mapping button_context_wps[] = { 50const struct button_mapping button_context_wps[] = {
51 51
52 LAST_ITEM_IN_LIST 52 LAST_ITEM_IN_LIST
53}; /* button_context_wps */ 53}; /* button_context_wps */
@@ -55,7 +55,7 @@ struct button_mapping button_context_wps[] = {
55 55
56 56
57/* get_context_mapping returns a pointer to one of the above defined arrays depending on the context */ 57/* get_context_mapping returns a pointer to one of the above defined arrays depending on the context */
58struct button_mapping* get_context_mapping(int context) 58const struct button_mapping* get_context_mapping(int context)
59{ 59{
60 switch (context) 60 switch (context)
61 { 61 {