Main MRPT website > C++ reference
MRPT logo
keycodes.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | The Mobile Robot Programming Toolkit (MRPT) C++ library |
3  | |
4  | http://www.mrpt.org/ |
5  | |
6  | Copyright (C) 2005-2012 University of Malaga |
7  | |
8  | This software was written by the Machine Perception and Intelligent |
9  | Robotics Lab, University of Malaga (Spain). |
10  | Contact: Jose-Luis Blanco <jlblanco@ctima.uma.es> |
11  | |
12  | This file is part of the MRPT project. |
13  | |
14  | MRPT is free software: you can redistribute it and/or modify |
15  | it under the terms of the GNU General Public License as published by |
16  | the Free Software Foundation, either version 3 of the License, or |
17  | (at your option) any later version. |
18  | |
19  | MRPT is distributed in the hope that it will be useful, |
20  | but WITHOUT ANY WARRANTY; without even the implied warranty of |
21  | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
22  | GNU General Public License for more details. |
23  | |
24  | You should have received a copy of the GNU General Public License |
25  | along with MRPT. If not, see <http://www.gnu.org/licenses/>. |
26  | |
27  +---------------------------------------------------------------------------+ */
28 #ifndef MRPT_KEYCODES_H
29 #define MRPT_KEYCODES_H
30 
31 #include <mrpt/config.h>
32 
33 namespace mrpt
34 {
35 namespace gui
36 {
37  // These key codes are an exact replication of those of wxWidgets.
38  // They are defined within MRPT for convenience, since users don't have to install
39  // wxWidgets in order to build MRPT applications.
40  // See: http://docs.wxwidgets.org/stable/wx_keycodes.html
41 
42 /* Virtual keycodes */
44 {
46  MRPTK_TAB = 9,
50  MRPTK_DELETE = 127,
51 
52  MRPTK_START = 300,
120 
135 
147 
152 
153  /* Hardware-specific buttons */
174 };
175 
176 /* This enum contains bit mask constants used in wxKeyEvent */
178 {
179  MRPTKMOD_NONE = 0x0000,
180  MRPTKMOD_ALT = 0x1000,
183  MRPTKMOD_SHIFT = 0x4000,
184  MRPTKMOD_META = 0x8000,
186 #ifdef MRPT_OS_APPLE
188 #else
189  MRPTKMOD_CMD = MRPTKMOD_CONTROL
190 #endif
191 };
192 
193 } // End of namespace
194 } // End of namespace
195 #endif



Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013