X11Keys.h

IƱaki Zabala, 11/16/2014 04:46 PM

Download (3.69 KB)

 
1
#define GUIPLATFORM_KEYCODES 
2
K_BACK       = 8,
3
K_BACKSPACE  = 8,
4

    
5
K_TAB        = 9,
6

    
7
K_RETURN     = 13,
8
K_ENTER      = 13,
9
K_ESCAPE     = 27,
10

    
11
K_SPACE      = 32,
12

    
13
K_DELETE     = XK_Delete + K_DELTA,
14

    
15
K_SHIFT_KEY  = XK_Shift_L + K_DELTA,
16
K_CTRL_KEY   = XK_Control_L + K_DELTA,
17
K_ALT_KEY    = XK_Meta_L + K_DELTA,
18
K_CAPSLOCK   = XK_Caps_Lock + K_DELTA,
19
K_PRIOR      = XK_Page_Up + K_DELTA,
20
K_PAGEUP     = XK_Page_Up + K_DELTA,
21
K_NEXT       = XK_Page_Down + K_DELTA,
22
K_PAGEDOWN   = XK_Page_Down + K_DELTA,
23
K_END        = XK_End + K_DELTA,
24
K_HOME       = XK_Home + K_DELTA,
25
K_LEFT       = XK_Left + K_DELTA,
26
K_UP         = XK_Up + K_DELTA,
27
K_RIGHT      = XK_Right + K_DELTA,
28
K_DOWN       = XK_Down + K_DELTA,
29
K_INSERT     = XK_Insert + K_DELTA,
30

    
31
K_NUMPAD0    = XK_KP_0 + K_DELTA,
32
K_NUMPAD1    = XK_KP_1 + K_DELTA,
33
K_NUMPAD2    = XK_KP_2 + K_DELTA,
34
K_NUMPAD3    = XK_KP_3 + K_DELTA,
35
K_NUMPAD4    = XK_KP_4 + K_DELTA,
36
K_NUMPAD5    = XK_KP_5 + K_DELTA,
37
K_NUMPAD6    = XK_KP_6 + K_DELTA,
38
K_NUMPAD7    = XK_KP_7 + K_DELTA,
39
K_NUMPAD8    = XK_KP_8 + K_DELTA,
40
K_NUMPAD9    = XK_KP_9 + K_DELTA,
41
K_MULTIPLY   = XK_KP_Multiply + K_DELTA,
42
K_ADD        = XK_KP_Add + K_DELTA,
43
K_SEPARATOR  = XK_KP_Separator + K_DELTA,
44
K_SUBTRACT   = XK_KP_Subtract + K_DELTA,
45
K_DECIMAL    = XK_KP_Decimal + K_DELTA,
46
K_DIVIDE     = XK_KP_Divide + K_DELTA,
47

    
48
K_SCROLL     = XK_Scroll_Lock + K_DELTA,
49

    
50
K_PLUS       = XK_plus|K_DELTA,
51
K_MINUS      = XK_minus|K_DELTA,
52
K_COMMA      = 0x2c|K_DELTA,
53
K_PERIOD     = XK_period|K_DELTA,
54
K_SEMICOLON  = XK_semicolon|K_DELTA,        
55
K_SLASH      = 0x5f|K_DELTA,
56
K_GRAVE      = XK_grave|K_DELTA,
57
K_LBRACKET   = XK_bracketleft|K_DELTA,
58
K_BACKSLASH  = 0x5c|K_DELTA,
59
K_RBRACKET   = XK_bracketright|K_DELTA,
60
K_QUOTEDBL   = XK_quotedbl|K_DELTA,
61

    
62
K_F1         = XK_F1 + K_DELTA,
63
K_F2         = XK_F2 + K_DELTA,
64
K_F3         = XK_F3 + K_DELTA,
65
K_F4         = XK_F4 + K_DELTA,
66
K_F5         = XK_F5 + K_DELTA,
67
K_F6         = XK_F6 + K_DELTA,
68
K_F7         = XK_F7 + K_DELTA,
69
K_F8         = XK_F8 + K_DELTA,
70
K_F9         = XK_F9 + K_DELTA,
71
K_F10        = XK_F10 + K_DELTA,
72
K_F11        = XK_F11 + K_DELTA,
73
K_F12        = XK_F12 + K_DELTA,
74

    
75
K_A          = 'A' + K_DELTA,
76
K_B          = 'B' + K_DELTA,
77
K_C          = 'C' + K_DELTA,
78
K_D          = 'D' + K_DELTA,
79
K_E          = 'E' + K_DELTA,
80
K_F          = 'F' + K_DELTA,
81
K_G          = 'G' + K_DELTA,
82
K_H          = 'H' + K_DELTA,
83
K_I          = 'I' + K_DELTA,
84
K_J          = 'J' + K_DELTA,
85
K_K          = 'K' + K_DELTA,
86
K_L          = 'L' + K_DELTA,
87
K_M          = 'M' + K_DELTA,
88
K_N          = 'N' + K_DELTA,
89
K_O          = 'O' + K_DELTA,
90
K_P          = 'P' + K_DELTA,
91
K_Q          = 'Q' + K_DELTA,
92
K_R          = 'R' + K_DELTA,
93
K_S          = 'S' + K_DELTA,
94
K_T          = 'T' + K_DELTA,
95
K_U          = 'U' + K_DELTA,
96
K_V          = 'V' + K_DELTA,
97
K_W          = 'W' + K_DELTA,
98
K_X          = 'X' + K_DELTA,
99
K_Y          = 'Y' + K_DELTA,
100
K_Z          = 'Z' + K_DELTA,
101
K_0          = '0' + 128 + K_DELTA,
102
K_1          = '1' + 128 + K_DELTA,
103
K_2          = '2' + 128 + K_DELTA,
104
K_3          = '3' + 128 + K_DELTA,
105
K_4          = '4' + 128 + K_DELTA,
106
K_5          = '5' + 128 + K_DELTA,
107
K_6          = '6' + 128 + K_DELTA,
108
K_7          = '7' + 128 + K_DELTA,
109
K_8          = '8' + 128 + K_DELTA,
110
K_9          = '9' + 128 + K_DELTA,
111

    
112
K_CTRL_LBRACKET  = K_CTRL|XK_bracketleft|K_DELTA,
113
K_CTRL_RBRACKET  = K_CTRL|XK_bracketright|K_DELTA,
114
K_CTRL_MINUS     = K_CTRL|0x2d|K_DELTA,
115
K_CTRL_GRAVE     = K_CTRL|XK_grave|K_DELTA,
116
K_CTRL_SLASH     = K_CTRL|0x5f|K_DELTA,
117
K_CTRL_BACKSLASH = K_CTRL|0x5c|K_DELTA,
118
K_CTRL_COMMA     = K_CTRL|0x2c|K_DELTA,
119
K_CTRL_PERIOD    = K_CTRL|XK_period|K_DELTA,
120
K_CTRL_SEMICOLON = K_CTRL|XK_semicolon|K_DELTA,
121
K_CTRL_EQUAL     = K_CTRL|0x3d|K_DELTA,
122
K_CTRL_APOSTROPHE= K_CTRL|0x27|K_DELTA,
123

    
124
K_BREAK      = XK_Pause|K_DELTA,