diff options
Diffstat (limited to 'apps/keymaps/keymap-newtarget.c')
-rw-r--r-- | apps/keymaps/keymap-newtarget.c | 6 |
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 | */ |
45 | struct button_mapping button_context_standard[] = { | 45 | const 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 | ||
50 | struct button_mapping button_context_wps[] = { | 50 | const 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 */ |
58 | struct button_mapping* get_context_mapping(int context) | 58 | const struct button_mapping* get_context_mapping(int context) |
59 | { | 59 | { |
60 | switch (context) | 60 | switch (context) |
61 | { | 61 | { |