Equalizer  1.10.1
Parallel Rendering Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
eventEnums.h
1 
2 /* Copyright (c) 2014, Daniel Nachbaur <danielnachbaur@gmail.com>
3  *
4  * This library is free software; you can redistribute it and/or modify it under
5  * the terms of the GNU Lesser General Public License version 2.1 as published
6  * by the Free Software Foundation.
7  *
8  * This library is distributed in the hope that it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
11  * details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this library; if not, write to the Free Software Foundation, Inc.,
15  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16  */
17 
18 #ifndef EQFABRIC_EVENTENUMS_H
19 #define EQFABRIC_EVENTENUMS_H
20 
21 #include <lunchbox/types.h>
22 
23 namespace eq
24 {
25 namespace fabric
26 {
27 namespace eventEnums
28 {
34 enum KeyCode
35 {
36  KC_ESCAPE = 256,
37  KC_BACKSPACE,
38  KC_RETURN,
39  KC_TAB,
40  KC_HOME,
41  KC_LEFT,
42  KC_UP,
43  KC_RIGHT,
44  KC_DOWN,
45  KC_PAGE_UP,
46  KC_PAGE_DOWN,
47  KC_END,
48  KC_F1,
49  KC_F2,
50  KC_F3,
51  KC_F4,
52  KC_F5,
53  KC_F6,
54  KC_F7,
55  KC_F8,
56  KC_F9,
57  KC_F10,
58  KC_F11,
59  KC_F12,
60  KC_F13,
61  KC_F14,
62  KC_F15,
63  KC_F16,
64  KC_F17,
65  KC_F18,
66  KC_F19,
67  KC_F20,
68  KC_F21,
69  KC_F22,
70  KC_F23,
71  KC_F24,
72  KC_SHIFT_L,
73  KC_SHIFT_R,
74  KC_CONTROL_L,
75  KC_CONTROL_R,
76  KC_ALT_L,
77  KC_ALT_R,
78  KC_VOID = 0xFFFFFF /* == XK_VoidSymbol */
79 };
80 
86 enum PointerButton
87 {
88  PTR_BUTTON_NONE = LB_BIT_NONE,
89  PTR_BUTTON1 = LB_BIT1,
90  PTR_BUTTON2 = LB_BIT2,
91  PTR_BUTTON3 = LB_BIT3,
92  PTR_BUTTON4 = LB_BIT4,
93  PTR_BUTTON5 = LB_BIT5,
94  PTR_BUTTON6 = LB_BIT6,
95  PTR_BUTTON7 = LB_BIT7
96 };
97 
98 }
99 }
100 }
101 
102 #endif // EQFABRIC_EVENTENUMS_H