summaryrefslogtreecommitdiff
path: root/desktop/textinput.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/textinput.h')
-rw-r--r--desktop/textinput.h64
1 files changed, 32 insertions, 32 deletions
diff --git a/desktop/textinput.h b/desktop/textinput.h
index 123bf5d82..0b3593104 100644
--- a/desktop/textinput.h
+++ b/desktop/textinput.h
@@ -30,44 +30,44 @@ struct browser_window;
enum input_key {
- KEY_SELECT_ALL = 1,
- KEY_COPY_SELECTION = 3,
+ NS_KEY_SELECT_ALL = 1,
+ NS_KEY_COPY_SELECTION = 3,
- KEY_DELETE_LEFT = 8,
- KEY_TAB = 9,
+ NS_KEY_DELETE_LEFT = 8,
+ NS_KEY_TAB = 9,
- KEY_NL = 10,
- KEY_SHIFT_TAB = 11,
- KEY_CR = 13,
+ NS_KEY_NL = 10,
+ NS_KEY_SHIFT_TAB = 11,
+ NS_KEY_CR = 13,
- KEY_DELETE_LINE = 21,
- KEY_PASTE = 22,
- KEY_CUT_SELECTION = 24,
- KEY_CLEAR_SELECTION = 26,
+ NS_KEY_DELETE_LINE = 21,
+ NS_KEY_PASTE = 22,
+ NS_KEY_CUT_SELECTION = 24,
+ NS_KEY_CLEAR_SELECTION = 26,
- KEY_ESCAPE = 27,
+ NS_KEY_ESCAPE = 27,
/* cursor movement keys */
- KEY_LEFT = 28,
- KEY_RIGHT,
- KEY_UP,
- KEY_DOWN,
-
- KEY_DELETE_RIGHT = 127,
-
- KEY_LINE_START = 128,
- KEY_LINE_END,
- KEY_TEXT_START,
- KEY_TEXT_END,
- KEY_WORD_LEFT,
- KEY_WORD_RIGHT,
- KEY_PAGE_UP,
- KEY_PAGE_DOWN,
- KEY_DELETE_LINE_END,
- KEY_DELETE_LINE_START,
-
- KEY_UNDO,
- KEY_REDO
+ NS_KEY_LEFT = 28,
+ NS_KEY_RIGHT,
+ NS_KEY_UP,
+ NS_KEY_DOWN,
+
+ NS_KEY_DELETE_RIGHT = 127,
+
+ NS_KEY_LINE_START = 128,
+ NS_KEY_LINE_END,
+ NS_KEY_TEXT_START,
+ NS_KEY_TEXT_END,
+ NS_KEY_WORD_LEFT,
+ NS_KEY_WORD_RIGHT,
+ NS_KEY_PAGE_UP,
+ NS_KEY_PAGE_DOWN,
+ NS_KEY_DELETE_LINE_END,
+ NS_KEY_DELETE_LINE_START,
+
+ NS_KEY_UNDO,
+ NS_KEY_REDO
};