summaryrefslogtreecommitdiff
path: root/apps/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'apps/keymaps')
-rw-r--r--apps/keymaps/keymap-touchscreen.c (renamed from apps/keymaps/keymap-touchpad.c)6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/keymaps/keymap-touchpad.c b/apps/keymaps/keymap-touchscreen.c
index b658fe48fe..a56eefd427 100644
--- a/apps/keymaps/keymap-touchpad.c
+++ b/apps/keymaps/keymap-touchscreen.c
@@ -19,7 +19,7 @@
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21 21
22/* Button Code Definitions for touchpad targets */ 22/* Button Code Definitions for touchscreen targets */
23#include <stdio.h> 23#include <stdio.h>
24#include <string.h> 24#include <string.h>
25#include <stdlib.h> 25#include <stdlib.h>
@@ -34,7 +34,7 @@ const struct button_mapping* target_get_context_mapping(int context);
34 get_context_mapping() at the bottom of the file is called by action.c as usual. 34 get_context_mapping() at the bottom of the file is called by action.c as usual.
35 if the context is for the remote control its then passed straight to 35 if the context is for the remote control its then passed straight to
36 target_get_context_mapping(). 36 target_get_context_mapping().
37 These tables are only used for the touchpad buttons, so at the end of each 37 These tables are only used for the touchscreen buttons, so at the end of each
38 CONTEXT_CUSTOM2 is OR'ed with the context and then sent to target_get_context_mapping() 38 CONTEXT_CUSTOM2 is OR'ed with the context and then sent to target_get_context_mapping()
39 (NOTE: CONTEXT_CUSTOM2 will be stripped before being sent to make it easier.) 39 (NOTE: CONTEXT_CUSTOM2 will be stripped before being sent to make it easier.)
40 In the target keymap, remember to |CONTEXT_CUSTOM2 in the LAST_ITEM_IN_LIST__NEXTLIST() macro 40 In the target keymap, remember to |CONTEXT_CUSTOM2 in the LAST_ITEM_IN_LIST__NEXTLIST() macro
@@ -43,7 +43,7 @@ const struct button_mapping* target_get_context_mapping(int context);
43 */ 43 */
44 44
45 45
46/* touchpad "buttons" 46/* touchscreen "buttons"
47 screen is split into a 3x3 grid for buttons... 47 screen is split into a 3x3 grid for buttons...
48 BUTTON_TOPLEFT BUTTON_TOPMIDDLE BUTTON_TOPRIGHT 48 BUTTON_TOPLEFT BUTTON_TOPMIDDLE BUTTON_TOPRIGHT
49 BUTTON_MIDLEFT BUTTON_CENTER BUTTON_MIDRIGHT 49 BUTTON_MIDLEFT BUTTON_CENTER BUTTON_MIDRIGHT