Main MRPT website > C++ reference for MRPT 1.9.9
keycodes.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #ifndef MRPT_KEYCODES_H
10 #define MRPT_KEYCODES_H
11 
12 #include <mrpt/config.h>
13 
14 namespace mrpt
15 {
16 namespace gui
17 {
18 // These key codes are an exact replication of those of wxWidgets.
19 // They are defined within MRPT for convenience, since users don't have to
20 // install
21 // wxWidgets in order to build MRPT applications.
22 // See: http://docs.wxwidgets.org/stable/wx_keycodes.html
23 
24 /* Virtual keycodes */
26 {
28  MRPTK_TAB = 9,
32  MRPTK_DELETE = 127,
33 
34  MRPTK_START = 300,
102 
117 
129 
134 
135  /* Hardware-specific buttons */
156 };
157 
158 /* This enum contains bit mask constants used in wxKeyEvent */
160 {
161  MRPTKMOD_NONE = 0x0000,
162  MRPTKMOD_ALT = 0x1000,
165  MRPTKMOD_SHIFT = 0x4000,
166  MRPTKMOD_META = 0x8000,
168 #ifdef __APPLE__
170 #else
172 #endif
173 };
174 
175 } // End of namespace
176 } // End of namespace
177 #endif
mrpt::gui::MRPTK_NUMPAD9
@ MRPTK_NUMPAD9
Definition: keycodes.h:67
mrpt::gui::MRPTK_F22
@ MRPTK_F22
Definition: keycodes.h:95
mrpt::gui::MRPTK_NUMPAD_DELETE
@ MRPTK_NUMPAD_DELETE
Definition: keycodes.h:121
mrpt::gui::MRPTK_NUMLOCK
@ MRPTK_NUMLOCK
Definition: keycodes.h:98
mrpt::gui::MRPTK_ADD
@ MRPTK_ADD
Definition: keycodes.h:69
mrpt::gui::MRPTK_HELP
@ MRPTK_HELP
Definition: keycodes.h:57
mrpt::gui::MRPTK_ALT
@ MRPTK_ALT
Definition: keycodes.h:41
mrpt::gui::MRPTK_F20
@ MRPTK_F20
Definition: keycodes.h:93
mrpt::gui::MRPTK_SPECIAL7
@ MRPTK_SPECIAL7
Definition: keycodes.h:142
mrpt::gui::MRPTK_WINDOWS_RIGHT
@ MRPTK_WINDOWS_RIGHT
Definition: keycodes.h:131
mrpt::gui::MRPTK_F21
@ MRPTK_F21
Definition: keycodes.h:94
mrpt::gui::MRPTK_SPECIAL6
@ MRPTK_SPECIAL6
Definition: keycodes.h:141
mrpt::gui::MRPTK_NUMPAD_SPACE
@ MRPTK_NUMPAD_SPACE
Definition: keycodes.h:103
mrpt::gui::MRPTK_NUMPAD_BEGIN
@ MRPTK_NUMPAD_BEGIN
Definition: keycodes.h:119
mrpt::gui::MRPTK_SELECT
@ MRPTK_SELECT
Definition: keycodes.h:52
mrpt::gui::MRPTK_SPECIAL15
@ MRPTK_SPECIAL15
Definition: keycodes.h:150
mrpt::gui::MRPTK_NUMPAD_HOME
@ MRPTK_NUMPAD_HOME
Definition: keycodes.h:110
mrpt::gui::MRPTK_SPECIAL16
@ MRPTK_SPECIAL16
Definition: keycodes.h:151
mrpt::gui::MRPTK_PAGEUP
@ MRPTK_PAGEUP
Definition: keycodes.h:100
mrpt::gui::MRPTK_RBUTTON
@ MRPTK_RBUTTON
Definition: keycodes.h:36
mrpt::gui::MRPTK_NUMPAD_PAGEUP
@ MRPTK_NUMPAD_PAGEUP
Definition: keycodes.h:115
mrpt::gui::MRPTK_SPECIAL11
@ MRPTK_SPECIAL11
Definition: keycodes.h:146
mrpt::gui::MRPTK_LBUTTON
@ MRPTK_LBUTTON
Definition: keycodes.h:35
mrpt::gui::MRPTK_F18
@ MRPTK_F18
Definition: keycodes.h:91
mrpt::gui::MRPTK_NUMPAD_EQUAL
@ MRPTK_NUMPAD_EQUAL
Definition: keycodes.h:122
mrpt::gui::MRPTK_F3
@ MRPTK_F3
Definition: keycodes.h:76
mrpt::gui::MRPTK_F4
@ MRPTK_F4
Definition: keycodes.h:77
mrpt::gui::MRPTK_NUMPAD_PAGEDOWN
@ MRPTK_NUMPAD_PAGEDOWN
Definition: keycodes.h:116
mrpt::gui::MRPTK_SPECIAL19
@ MRPTK_SPECIAL19
Definition: keycodes.h:154
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition: CKalmanFilterCapable.h:30
mrpt::gui::MRPTK_F16
@ MRPTK_F16
Definition: keycodes.h:89
mrpt::gui::MRPTK_NUMPAD6
@ MRPTK_NUMPAD6
Definition: keycodes.h:64
mrpt::gui::MRPTK_SPECIAL13
@ MRPTK_SPECIAL13
Definition: keycodes.h:148
mrpt::gui::MRPTKMOD_NONE
@ MRPTKMOD_NONE
Definition: keycodes.h:161
mrpt::gui::MRPTK_F2
@ MRPTK_F2
Definition: keycodes.h:75
mrpt::gui::MRPTK_MULTIPLY
@ MRPTK_MULTIPLY
Definition: keycodes.h:68
mrpt::gui::MRPTKMOD_ALT
@ MRPTKMOD_ALT
Definition: keycodes.h:162
mrpt::gui::MRPTK_SPECIAL10
@ MRPTK_SPECIAL10
Definition: keycodes.h:145
mrpt::gui::MRPTK_MENU
@ MRPTK_MENU
Definition: keycodes.h:43
mrpt::gui::MRPTK_SPECIAL9
@ MRPTK_SPECIAL9
Definition: keycodes.h:144
mrpt::gui::MRPTK_F24
@ MRPTK_F24
Definition: keycodes.h:97
mrpt::gui::MRPTK_SPECIAL18
@ MRPTK_SPECIAL18
Definition: keycodes.h:153
mrpt::gui::MRPTK_SCROLL
@ MRPTK_SCROLL
Definition: keycodes.h:99
mrpt::gui::MRPTK_NUMPAD_F4
@ MRPTK_NUMPAD_F4
Definition: keycodes.h:109
mrpt::gui::MRPTK_F17
@ MRPTK_F17
Definition: keycodes.h:90
mrpt::gui::MRPTK_SPECIAL5
@ MRPTK_SPECIAL5
Definition: keycodes.h:140
mrpt::gui::MRPTK_RIGHT
@ MRPTK_RIGHT
Definition: keycodes.h:50
mrpt::gui::MRPTK_SEPARATOR
@ MRPTK_SEPARATOR
Definition: keycodes.h:70
mrpt::gui::MRPTKMOD_WIN
@ MRPTKMOD_WIN
Definition: keycodes.h:167
mrpt::gui::MRPTK_SPECIAL3
@ MRPTK_SPECIAL3
Definition: keycodes.h:138
mrpt::gui::MRPTK_NUMPAD_F3
@ MRPTK_NUMPAD_F3
Definition: keycodes.h:108
mrpt::gui::MRPTKMOD_CMD
@ MRPTKMOD_CMD
Definition: keycodes.h:171
mrpt::gui::MRPTK_F9
@ MRPTK_F9
Definition: keycodes.h:82
mrpt::gui::MRPTK_CLEAR
@ MRPTK_CLEAR
Definition: keycodes.h:39
mrpt::gui::MRPTK_NUMPAD_RIGHT
@ MRPTK_NUMPAD_RIGHT
Definition: keycodes.h:113
mrpt::gui::MRPTK_NUMPAD_LEFT
@ MRPTK_NUMPAD_LEFT
Definition: keycodes.h:111
mrpt::gui::MRPTK_CANCEL
@ MRPTK_CANCEL
Definition: keycodes.h:37
mrpt::gui::MRPTK_NUMPAD1
@ MRPTK_NUMPAD1
Definition: keycodes.h:59
mrpt::gui::MRPTKMOD_ALTGR
@ MRPTKMOD_ALTGR
Definition: keycodes.h:164
mrpt::gui::MRPTK_MBUTTON
@ MRPTK_MBUTTON
Definition: keycodes.h:38
mrpt::gui::MRPTK_UP
@ MRPTK_UP
Definition: keycodes.h:49
mrpt::gui::MRPTK_SPECIAL17
@ MRPTK_SPECIAL17
Definition: keycodes.h:152
mrpt::gui::MRPTK_CAPITAL
@ MRPTK_CAPITAL
Definition: keycodes.h:45
mrpt::gui::MRPTK_COMMAND
@ MRPTK_COMMAND
Definition: keycodes.h:133
mrpt::gui::MRPTK_NUMPAD_END
@ MRPTK_NUMPAD_END
Definition: keycodes.h:118
mrpt::gui::MRPTK_NUMPAD0
@ MRPTK_NUMPAD0
Definition: keycodes.h:58
mrpt::gui::MRPTK_F6
@ MRPTK_F6
Definition: keycodes.h:79
mrpt::gui::MRPTK_TAB
@ MRPTK_TAB
Definition: keycodes.h:28
mrpt::gui::MRPTK_F7
@ MRPTK_F7
Definition: keycodes.h:80
mrpt::gui::mrptKeyCode
mrptKeyCode
Definition: keycodes.h:25
mrpt::gui::MRPTK_F12
@ MRPTK_F12
Definition: keycodes.h:85
mrpt::gui::MRPTK_NUMPAD_F2
@ MRPTK_NUMPAD_F2
Definition: keycodes.h:107
mrpt::gui::MRPTK_BACK
@ MRPTK_BACK
Definition: keycodes.h:27
mrpt::gui::MRPTK_INSERT
@ MRPTK_INSERT
Definition: keycodes.h:56
mrpt::gui::MRPTK_SPECIAL12
@ MRPTK_SPECIAL12
Definition: keycodes.h:147
mrpt::gui::MRPTK_NUMPAD_F1
@ MRPTK_NUMPAD_F1
Definition: keycodes.h:106
mrpt::gui::MRPTK_SPECIAL2
@ MRPTK_SPECIAL2
Definition: keycodes.h:137
mrpt::gui::MRPTK_PAGEDOWN
@ MRPTK_PAGEDOWN
Definition: keycodes.h:101
mrpt::gui::MRPTK_NUMPAD_ADD
@ MRPTK_NUMPAD_ADD
Definition: keycodes.h:124
mrpt::gui::MRPTK_HOME
@ MRPTK_HOME
Definition: keycodes.h:47
mrpt::gui::MRPTK_NUMPAD5
@ MRPTK_NUMPAD5
Definition: keycodes.h:63
mrpt::gui::MRPTK_PAUSE
@ MRPTK_PAUSE
Definition: keycodes.h:44
mrpt::gui::MRPTK_NUMPAD_INSERT
@ MRPTK_NUMPAD_INSERT
Definition: keycodes.h:120
mrpt::gui::MRPTK_PRINT
@ MRPTK_PRINT
Definition: keycodes.h:53
mrpt::gui::MRPTKMOD_CONTROL
@ MRPTKMOD_CONTROL
Definition: keycodes.h:163
mrpt::gui::MRPTK_F13
@ MRPTK_F13
Definition: keycodes.h:86
mrpt::gui::MRPTK_SPECIAL14
@ MRPTK_SPECIAL14
Definition: keycodes.h:149
mrpt::gui::MRPTK_F19
@ MRPTK_F19
Definition: keycodes.h:92
mrpt::gui::MRPTK_CONTROL
@ MRPTK_CONTROL
Definition: keycodes.h:42
mrpt::gui::MRPTK_NUMPAD7
@ MRPTK_NUMPAD7
Definition: keycodes.h:65
mrpt::gui::MRPTK_F10
@ MRPTK_F10
Definition: keycodes.h:83
mrpt::gui::MRPTK_F11
@ MRPTK_F11
Definition: keycodes.h:84
mrpt::gui::MRPTK_F23
@ MRPTK_F23
Definition: keycodes.h:96
mrpt::gui::MRPTK_NUMPAD_DIVIDE
@ MRPTK_NUMPAD_DIVIDE
Definition: keycodes.h:128
mrpt::gui::MRPTK_START
@ MRPTK_START
Definition: keycodes.h:34
mrpt::gui::MRPTK_NUMPAD2
@ MRPTK_NUMPAD2
Definition: keycodes.h:60
mrpt::gui::MRPTK_DIVIDE
@ MRPTK_DIVIDE
Definition: keycodes.h:73
mrpt::gui::MRPTK_F5
@ MRPTK_F5
Definition: keycodes.h:78
mrpt::gui::MRPTKMOD_META
@ MRPTKMOD_META
Definition: keycodes.h:166
mrpt::gui::MRPTK_SPECIAL1
@ MRPTK_SPECIAL1
Definition: keycodes.h:136
mrpt::gui::MRPTK_NUMPAD_TAB
@ MRPTK_NUMPAD_TAB
Definition: keycodes.h:104
mrpt::gui::MRPTK_SPACE
@ MRPTK_SPACE
Definition: keycodes.h:31
mrpt::gui::MRPTK_WINDOWS_LEFT
@ MRPTK_WINDOWS_LEFT
Definition: keycodes.h:130
mrpt::gui::MRPTK_F15
@ MRPTK_F15
Definition: keycodes.h:88
mrpt::gui::MRPTK_SUBTRACT
@ MRPTK_SUBTRACT
Definition: keycodes.h:71
mrpt::gui::MRPTK_END
@ MRPTK_END
Definition: keycodes.h:46
mrpt::gui::MRPTK_RETURN
@ MRPTK_RETURN
Definition: keycodes.h:29
mrpt::gui::MRPTK_EXECUTE
@ MRPTK_EXECUTE
Definition: keycodes.h:54
mrpt::gui::MRPTK_F1
@ MRPTK_F1
Definition: keycodes.h:74
mrpt::gui::MRPTK_ESCAPE
@ MRPTK_ESCAPE
Definition: keycodes.h:30
mrpt::gui::MRPTK_DELETE
@ MRPTK_DELETE
Definition: keycodes.h:32
mrpt::gui::MRPTK_DECIMAL
@ MRPTK_DECIMAL
Definition: keycodes.h:72
mrpt::gui::mrptKeyModifier
mrptKeyModifier
Definition: keycodes.h:159
mrpt::gui::MRPTKMOD_SHIFT
@ MRPTKMOD_SHIFT
Definition: keycodes.h:165
mrpt::gui::MRPTK_SHIFT
@ MRPTK_SHIFT
Definition: keycodes.h:40
mrpt::gui::MRPTK_SPECIAL4
@ MRPTK_SPECIAL4
Definition: keycodes.h:139
mrpt::gui::MRPTK_F8
@ MRPTK_F8
Definition: keycodes.h:81
mrpt::gui::MRPTK_DOWN
@ MRPTK_DOWN
Definition: keycodes.h:51
mrpt::gui::MRPTK_NUMPAD_MULTIPLY
@ MRPTK_NUMPAD_MULTIPLY
Definition: keycodes.h:123
mrpt::gui::MRPTK_NUMPAD8
@ MRPTK_NUMPAD8
Definition: keycodes.h:66
mrpt::gui::MRPTK_SNAPSHOT
@ MRPTK_SNAPSHOT
Definition: keycodes.h:55
mrpt::gui::MRPTK_NUMPAD_UP
@ MRPTK_NUMPAD_UP
Definition: keycodes.h:112
mrpt::gui::MRPTK_LEFT
@ MRPTK_LEFT
Definition: keycodes.h:48
mrpt::gui::MRPTK_WINDOWS_MENU
@ MRPTK_WINDOWS_MENU
Definition: keycodes.h:132
mrpt::gui::MRPTK_NUMPAD3
@ MRPTK_NUMPAD3
Definition: keycodes.h:61
mrpt::gui::MRPTK_NUMPAD_SUBTRACT
@ MRPTK_NUMPAD_SUBTRACT
Definition: keycodes.h:126
mrpt::gui::MRPTK_NUMPAD_ENTER
@ MRPTK_NUMPAD_ENTER
Definition: keycodes.h:105
mrpt::gui::MRPTK_NUMPAD4
@ MRPTK_NUMPAD4
Definition: keycodes.h:62
mrpt::gui::MRPTK_SPECIAL20
@ MRPTK_SPECIAL20
Definition: keycodes.h:155
mrpt::gui::MRPTK_NUMPAD_SEPARATOR
@ MRPTK_NUMPAD_SEPARATOR
Definition: keycodes.h:125
mrpt::gui::MRPTK_F14
@ MRPTK_F14
Definition: keycodes.h:87
mrpt::gui::MRPTK_NUMPAD_DOWN
@ MRPTK_NUMPAD_DOWN
Definition: keycodes.h:114
mrpt::gui::MRPTK_SPECIAL8
@ MRPTK_SPECIAL8
Definition: keycodes.h:143
mrpt::gui::MRPTK_NUMPAD_DECIMAL
@ MRPTK_NUMPAD_DECIMAL
Definition: keycodes.h:127



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST