| Fling Engine 0.00.1 Fling Engine is a game engine written in Vulkan

WindowsKeycodes.h
Go to the documentation of this file.
1 #pragma once
2
3 // Copied from GLFW (glfw3.h)
4
5 /* The unknown key */
6 #define FL_KEYCODE_UNKNOWN -1
7
8 /* Printable keys */
9 #define FL_KEYCODE_SPACE 32
10 #define FL_KEYCODE_APOSTROPHE 39 /* ' */
11 #define FL_KEYCODE_COMMA 44 /* , */
12 #define FL_KEYCODE_MINUS 45 /* - */
13 #define FL_KEYCODE_PERIOD 46 /* . */
14 #define FL_KEYCODE_SLASH 47 /* / */
15 #define FL_KEYCODE_0 48
16 #define FL_KEYCODE_1 49
17 #define FL_KEYCODE_2 50
18 #define FL_KEYCODE_3 51
19 #define FL_KEYCODE_4 52
20 #define FL_KEYCODE_5 53
21 #define FL_KEYCODE_6 54
22 #define FL_KEYCODE_7 55
23 #define FL_KEYCODE_8 56
24 #define FL_KEYCODE_9 57
25 #define FL_KEYCODE_SEMICOLON 59 /* ; */
26 #define FL_KEYCODE_EQUAL 61 /* = */
27 #define FL_KEYCODE_A 65
28 #define FL_KEYCODE_B 66
29 #define FL_KEYCODE_C 67
30 #define FL_KEYCODE_D 68
31 #define FL_KEYCODE_E 69
32 #define FL_KEYCODE_F 70
33 #define FL_KEYCODE_G 71
34 #define FL_KEYCODE_H 72
35 #define FL_KEYCODE_I 73
36 #define FL_KEYCODE_J 74
37 #define FL_KEYCODE_K 75
38 #define FL_KEYCODE_L 76
39 #define FL_KEYCODE_M 77
40 #define FL_KEYCODE_N 78
41 #define FL_KEYCODE_O 79
42 #define FL_KEYCODE_P 80
43 #define FL_KEYCODE_Q 81
44 #define FL_KEYCODE_R 82
45 #define FL_KEYCODE_S 83
46 #define FL_KEYCODE_T 84
47 #define FL_KEYCODE_U 85
48 #define FL_KEYCODE_V 86
49 #define FL_KEYCODE_W 87
50 #define FL_KEYCODE_X 88
51 #define FL_KEYCODE_Y 89
52 #define FL_KEYCODE_Z 90
53 #define FL_KEYCODE_LEFT_BRACKET 91 /* [ */
54 #define FL_KEYCODE_BACKSLASH 92 /* \ */
55 #define FL_KEYCODE_RIGHT_BRACKET 93 /* ] */
56 #define FL_KEYCODE_GRAVE_ACCENT 96 /* ` */
57 #define FL_KEYCODE_WORLD_1 161 /* non-US #1 */
58 #define FL_KEYCODE_WORLD_2 162 /* non-US #2 */
59
60 /* Function keys */
61 #define FL_KEYCODE_ESCAPE 256
62 #define FL_KEYCODE_ENTER 257
63 #define FL_KEYCODE_TAB 258
64 #define FL_KEYCODE_BACKSPACE 259
65 #define FL_KEYCODE_INSERT 260
66 #define FL_KEYCODE_DELETE 261
67 #define FL_KEYCODE_RIGHT 262
68 #define FL_KEYCODE_LEFT 263
69 #define FL_KEYCODE_DOWN 264
70 #define FL_KEYCODE_UP 265
71 #define FL_KEYCODE_PAGE_UP 266
72 #define FL_KEYCODE_PAGE_DOWN 267
73 #define FL_KEYCODE_HOME 268
74 #define FL_KEYCODE_END 269
75 #define FL_KEYCODE_CAPS_LOCK 280
76 #define FL_KEYCODE_SCROLL_LOCK 281
77 #define FL_KEYCODE_NUM_LOCK 282
78 #define FL_KEYCODE_PRINT_SCREEN 283
79 #define FL_KEYCODE_PAUSE 284
80 #define FL_KEYCODE_F1 290
81 #define FL_KEYCODE_F2 291
82 #define FL_KEYCODE_F3 292
83 #define FL_KEYCODE_F4 293
84 #define FL_KEYCODE_F5 294
85 #define FL_KEYCODE_F6 295
86 #define FL_KEYCODE_F7 296
87 #define FL_KEYCODE_F8 297
88 #define FL_KEYCODE_F9 298
89 #define FL_KEYCODE_F10 299
90 #define FL_KEYCODE_F11 300
91 #define FL_KEYCODE_F12 301
92 #define FL_KEYCODE_F13 302
93 #define FL_KEYCODE_F14 303
94 #define FL_KEYCODE_F15 304
95 #define FL_KEYCODE_F16 305
96 #define FL_KEYCODE_F17 306
97 #define FL_KEYCODE_F18 307
98 #define FL_KEYCODE_F19 308
99 #define FL_KEYCODE_F20 309
100 #define FL_KEYCODE_F21 310
101 #define FL_KEYCODE_F22 311
102 #define FL_KEYCODE_F23 312
103 #define FL_KEYCODE_F24 313
104 #define FL_KEYCODE_F25 314
105 #define FL_KEYCODE_KP_0 320
106 #define FL_KEYCODE_KP_1 321
107 #define FL_KEYCODE_KP_2 322
108 #define FL_KEYCODE_KP_3 323
109 #define FL_KEYCODE_KP_4 324
110 #define FL_KEYCODE_KP_5 325
111 #define FL_KEYCODE_KP_6 326
112 #define FL_KEYCODE_KP_7 327
113 #define FL_KEYCODE_KP_8 328
114 #define FL_KEYCODE_KP_9 329
115 #define FL_KEYCODE_KP_DECIMAL 330
116 #define FL_KEYCODE_KP_DIVIDE 331
117 #define FL_KEYCODE_KP_MULTIPLY 332
118 #define FL_KEYCODE_KP_SUBTRACT 333
119 #define FL_KEYCODE_KP_ADD 334
120 #define FL_KEYCODE_KP_ENTER 335
121 #define FL_KEYCODE_KP_EQUAL 336
122 #define FL_KEYCODE_LEFT_SHIFT 340
123 #define FL_KEYCODE_LEFT_CONTROL 341
124 #define FL_KEYCODE_LEFT_ALT 342
125 #define FL_KEYCODE_LEFT_SUPER 343
126 #define FL_KEYCODE_RIGHT_SHIFT 344
127 #define FL_KEYCODE_RIGHT_CONTROL 345
128 #define FL_KEYCODE_RIGHT_ALT 346
129 #define FL_KEYCODE_RIGHT_SUPER 347
130 #define FL_KEYCODE_MENU 348
131
132 #define FL_MOUSE_BUTTON_CODE_1 0
133 #define FL_MOUSE_BUTTON_CODE_2 1
134 #define FL_MOUSE_BUTTON_CODE_3 2
135 #define FL_MOUSE_BUTTON_CODE_4 3
136 #define FL_MOUSE_BUTTON_CODE_5 4
137 #define FL_MOUSE_BUTTON_CODE_6 5
138 #define FL_MOUSE_BUTTON_CODE_7 6
139 #define FL_MOUSE_BUTTON_CODE_8 7
140 #define FL_MOUSE_BUTTON_CODE_LAST FL_MOUSE_BUTTON_CODE_8
141 #define FL_MOUSE_BUTTON_CODE_LEFT FL_MOUSE_BUTTON_CODE_1
142 #define FL_MOUSE_BUTTON_CODE_RIGHT FL_MOUSE_BUTTON_CODE_2
143 #define FL_MOUSE_BUTTON_CODE_MIDDLE FL_MOUSE_BUTTON_CODE_3