Plugins
keys.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017: G-CSC, Goethe University Frankfurt
3  * Author: Sebastian Reiter
4  *
5  * This file is part of UG4.
6  *
7  * UG4 is free software: you can redistribute it and/or modify it under the
8  * terms of the GNU Lesser General Public License version 3 (as published by the
9  * Free Software Foundation) with the following additional attribution
10  * requirements (according to LGPL/GPL v3 §7):
11  *
12  * (1) The following notice must be displayed in the Appropriate Legal Notices
13  * of covered and combined works: "Based on UG4 (www.ug4.org/license)".
14  *
15  * (2) The following notice must be displayed at a prominent place in the
16  * terminal output of covered works: "Based on UG4 (www.ug4.org/license)".
17  *
18  * (3) The following bibliography is recommended for citation and must be
19  * preserved in all covered files:
20  * "Reiter, S., Vogel, A., Heppner, I., Rupp, M., and Wittum, G. A massively
21  * parallel geometric multigrid solver on hierarchically distributed grids.
22  * Computing and visualization in science 16, 4 (2013), 151-164"
23  * "Vogel, A., Reiter, S., Rupp, M., Nägel, A., and Wittum, G. UG4 -- a novel
24  * flexible software system for simulating pde based models on high performance
25  * computers. Computing and visualization in science 16, 4 (2013), 165-179"
26  *
27  * This program is distributed in the hope that it will be useful,
28  * but WITHOUT ANY WARRANTY; without even the implied warranty of
29  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30  * GNU Lesser General Public License for more details.
31  */
32 
33 #ifndef __H__UG_keys
34 #define __H__UG_keys
35 
36 namespace ug{
37 namespace promesh{
38 
40  MK_NONE = 0,
41  MK_CTRL = 1,
42  MK_SHIFT = 2,
43  MK_ALT = 4
44 };
45 
46 
48  Key_Escape = 0x01000000,
49  Key_Tab = 0x01000001,
50  Key_Backtab = 0x01000002,
51  Key_Backspace = 0x01000003,
52  Key_Return = 0x01000004,
53  Key_Enter = 0x01000005,
54  Key_Insert = 0x01000006,
55  Key_Delete = 0x01000007,
56  Key_Pause = 0x01000008,
57  Key_Print = 0x01000009,
58  Key_SysReq = 0x0100000a,
59  Key_Clear = 0x0100000b,
60  Key_Home = 0x01000010,
61  Key_End = 0x01000011,
62  Key_Left = 0x01000012,
63  Key_Up = 0x01000013,
64  Key_Right = 0x01000014,
65  Key_Down = 0x01000015,
66  Key_PageUp = 0x01000016,
67  Key_PageDown = 0x01000017,
68  Key_Shift = 0x01000020,
69  Key_Control = 0x01000021,
70  Key_Meta = 0x01000022,
71  Key_Alt = 0x01000023,
72  Key_AltGr = 0x01001103,
73  Key_CapsLock = 0x01000024,
74  Key_NumLock = 0x01000025,
75  Key_ScrollLock = 0x01000026,
76  Key_F1 = 0x01000030,
77  Key_F2 = 0x01000031,
78  Key_F3 = 0x01000032,
79  Key_F4 = 0x01000033,
80  Key_F5 = 0x01000034,
81  Key_F6 = 0x01000035,
82  Key_F7 = 0x01000036,
83  Key_F8 = 0x01000037,
84  Key_F9 = 0x01000038,
85  Key_F10 = 0x01000039,
86  Key_F11 = 0x0100003a,
87  Key_F12 = 0x0100003b,
88  Key_F13 = 0x0100003c,
89  Key_F14 = 0x0100003d,
90  Key_F15 = 0x0100003e,
91  Key_F16 = 0x0100003f,
92  Key_F17 = 0x01000040,
93  Key_F18 = 0x01000041,
94  Key_F19 = 0x01000042,
95  Key_F20 = 0x01000043,
96  Key_F21 = 0x01000044,
97  Key_F22 = 0x01000045,
98  Key_F23 = 0x01000046,
99  Key_F24 = 0x01000047,
100  Key_F25 = 0x01000048,
101  Key_F26 = 0x01000049,
102  Key_F27 = 0x0100004a,
103  Key_F28 = 0x0100004b,
104  Key_F29 = 0x0100004c,
105  Key_F30 = 0x0100004d,
106  Key_F31 = 0x0100004e,
107  Key_F32 = 0x0100004f,
108  Key_F33 = 0x01000050,
109  Key_F34 = 0x01000051,
110  Key_F35 = 0x01000052,
111  Key_Super_L = 0x01000053,
112  Key_Super_R = 0x01000054,
113  Key_Menu = 0x01000055,
114  Key_Hyper_L = 0x01000056,
115  Key_Hyper_R = 0x01000057,
116  Key_Help = 0x01000058,
117  Key_Direction_L = 0x01000059,
118  Key_Direction_R = 0x01000060,
119  Key_Space = 0x20,
120  Key_Any = 0x20,
121  Key_Exclam = 0x21,
122  Key_QuoteDbl = 0x22,
124  Key_Dollar = 0x24,
125  Key_Percent = 0x25,
130  Key_Asterisk = 0x2a,
131  Key_Plus = 0x2b,
132  Key_Comma = 0x2c,
133  Key_Minus = 0x2d,
134  Key_Period = 0x2e,
135  Key_Slash = 0x2f,
136  Key_0 = 0x30,
137  Key_1 = 0x31,
138  Key_2 = 0x32,
139  Key_3 = 0x33,
140  Key_4 = 0x34,
141  Key_5 = 0x35,
142  Key_6 = 0x36,
143  Key_7 = 0x37,
144  Key_8 = 0x38,
145  Key_9 = 0x39,
146  Key_Colon = 0x3a,
148  Key_Less = 0x3c,
149  Key_Equal = 0x3d,
150  Key_Greater = 0x3e,
151  Key_Question = 0x3f,
152  Key_At = 0x40,
153  Key_A = 0x41,
154  Key_B = 0x42,
155  Key_C = 0x43,
156  Key_D = 0x44,
157  Key_E = 0x45,
158  Key_F = 0x46,
159  Key_G = 0x47,
160  Key_H = 0x48,
161  Key_I = 0x49,
162  Key_J = 0x4a,
163  Key_K = 0x4b,
164  Key_L = 0x4c,
165  Key_M = 0x4d,
166  Key_N = 0x4e,
167  Key_O = 0x4f,
168  Key_P = 0x50,
169  Key_Q = 0x51,
170  Key_R = 0x52,
171  Key_S = 0x53,
172  Key_T = 0x54,
173  Key_U = 0x55,
174  Key_V = 0x56,
175  Key_W = 0x57,
176  Key_X = 0x58,
177  Key_Y = 0x59,
178  Key_Z = 0x5a,
180  Key_Backslash = 0x5c
181 };
182 
183 }
184 }// end of namespace
185 
186 #endif //__H__UG_keys
ShortcutKeys
Definition: keys.h:47
@ Key_F29
Definition: keys.h:104
@ Key_B
Definition: keys.h:154
@ Key_At
Definition: keys.h:152
@ Key_F19
Definition: keys.h:94
@ Key_F30
Definition: keys.h:105
@ Key_Plus
Definition: keys.h:131
@ Key_F1
Definition: keys.h:76
@ Key_F11
Definition: keys.h:86
@ Key_F6
Definition: keys.h:81
@ Key_F5
Definition: keys.h:80
@ Key_CapsLock
Definition: keys.h:73
@ Key_Pause
Definition: keys.h:56
@ Key_Down
Definition: keys.h:65
@ Key_AltGr
Definition: keys.h:72
@ Key_Y
Definition: keys.h:177
@ Key_W
Definition: keys.h:175
@ Key_7
Definition: keys.h:143
@ Key_F25
Definition: keys.h:100
@ Key_F17
Definition: keys.h:92
@ Key_Meta
Definition: keys.h:70
@ Key_Greater
Definition: keys.h:150
@ Key_F2
Definition: keys.h:77
@ Key_Backspace
Definition: keys.h:51
@ Key_Hyper_L
Definition: keys.h:114
@ Key_8
Definition: keys.h:144
@ Key_Delete
Definition: keys.h:55
@ Key_Ampersand
Definition: keys.h:126
@ Key_N
Definition: keys.h:166
@ Key_S
Definition: keys.h:171
@ Key_F8
Definition: keys.h:83
@ Key_F28
Definition: keys.h:103
@ Key_Less
Definition: keys.h:148
@ Key_Control
Definition: keys.h:69
@ Key_ScrollLock
Definition: keys.h:75
@ Key_Menu
Definition: keys.h:113
@ Key_Return
Definition: keys.h:52
@ Key_F
Definition: keys.h:158
@ Key_Space
Definition: keys.h:119
@ Key_F14
Definition: keys.h:89
@ Key_J
Definition: keys.h:162
@ Key_5
Definition: keys.h:141
@ Key_F12
Definition: keys.h:87
@ Key_QuoteDbl
Definition: keys.h:122
@ Key_F10
Definition: keys.h:85
@ Key_V
Definition: keys.h:174
@ Key_Tab
Definition: keys.h:49
@ Key_3
Definition: keys.h:139
@ Key_L
Definition: keys.h:164
@ Key_E
Definition: keys.h:157
@ Key_F9
Definition: keys.h:84
@ Key_T
Definition: keys.h:172
@ Key_F22
Definition: keys.h:97
@ Key_End
Definition: keys.h:61
@ Key_Alt
Definition: keys.h:71
@ Key_F31
Definition: keys.h:106
@ Key_NumLock
Definition: keys.h:74
@ Key_Q
Definition: keys.h:169
@ Key_O
Definition: keys.h:167
@ Key_F26
Definition: keys.h:101
@ Key_9
Definition: keys.h:145
@ Key_Enter
Definition: keys.h:53
@ Key_F32
Definition: keys.h:107
@ Key_PageUp
Definition: keys.h:66
@ Key_K
Definition: keys.h:163
@ Key_Help
Definition: keys.h:116
@ Key_F13
Definition: keys.h:88
@ Key_F24
Definition: keys.h:99
@ Key_Dollar
Definition: keys.h:124
@ Key_1
Definition: keys.h:137
@ Key_Clear
Definition: keys.h:59
@ Key_F15
Definition: keys.h:90
@ Key_Direction_L
Definition: keys.h:117
@ Key_Home
Definition: keys.h:60
@ Key_BracketLeft
Definition: keys.h:179
@ Key_X
Definition: keys.h:176
@ Key_Backtab
Definition: keys.h:50
@ Key_Z
Definition: keys.h:178
@ Key_Right
Definition: keys.h:64
@ Key_Percent
Definition: keys.h:125
@ Key_M
Definition: keys.h:165
@ Key_Super_L
Definition: keys.h:111
@ Key_Insert
Definition: keys.h:54
@ Key_H
Definition: keys.h:160
@ Key_F35
Definition: keys.h:110
@ Key_Question
Definition: keys.h:151
@ Key_D
Definition: keys.h:156
@ Key_F20
Definition: keys.h:95
@ Key_Period
Definition: keys.h:134
@ Key_6
Definition: keys.h:142
@ Key_G
Definition: keys.h:159
@ Key_F4
Definition: keys.h:79
@ Key_F27
Definition: keys.h:102
@ Key_F23
Definition: keys.h:98
@ Key_U
Definition: keys.h:173
@ Key_Direction_R
Definition: keys.h:118
@ Key_F33
Definition: keys.h:108
@ Key_A
Definition: keys.h:153
@ Key_F34
Definition: keys.h:109
@ Key_R
Definition: keys.h:170
@ Key_Hyper_R
Definition: keys.h:115
@ Key_F7
Definition: keys.h:82
@ Key_P
Definition: keys.h:168
@ Key_Slash
Definition: keys.h:135
@ Key_Exclam
Definition: keys.h:121
@ Key_NumberSign
Definition: keys.h:123
@ Key_Super_R
Definition: keys.h:112
@ Key_Left
Definition: keys.h:62
@ Key_F18
Definition: keys.h:93
@ Key_ParenLeft
Definition: keys.h:128
@ Key_F16
Definition: keys.h:91
@ Key_Any
Definition: keys.h:120
@ Key_SysReq
Definition: keys.h:58
@ Key_PageDown
Definition: keys.h:67
@ Key_Equal
Definition: keys.h:149
@ Key_Escape
Definition: keys.h:48
@ Key_I
Definition: keys.h:161
@ Key_Semicolon
Definition: keys.h:147
@ Key_C
Definition: keys.h:155
@ Key_Print
Definition: keys.h:57
@ Key_Apostrophe
Definition: keys.h:127
@ Key_F21
Definition: keys.h:96
@ Key_Up
Definition: keys.h:63
@ Key_4
Definition: keys.h:140
@ Key_0
Definition: keys.h:136
@ Key_F3
Definition: keys.h:78
@ Key_ParenRight
Definition: keys.h:129
@ Key_2
Definition: keys.h:138
@ Key_Asterisk
Definition: keys.h:130
@ Key_Backslash
Definition: keys.h:180
@ Key_Comma
Definition: keys.h:132
@ Key_Shift
Definition: keys.h:68
@ Key_Colon
Definition: keys.h:146
@ Key_Minus
Definition: keys.h:133
ModifierKeys
Definition: keys.h:39
@ MK_NONE
Definition: keys.h:40
@ MK_ALT
Definition: keys.h:43
@ MK_SHIFT
Definition: keys.h:42
@ MK_CTRL
Definition: keys.h:41