Castlekeep
A isometric castle build simulator
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
castlekeep
src
keycodes.h
1
22
#ifndef KEY_CODES_H
23
#define KEY_CODES_H
24
25
#include <SDL2/SDL.h>
26
27
enum class
KeyCode
28
{
29
ARROW_LEFT=SDLK_LEFT,
30
ARROW_RIGHT=SDLK_RIGHT,
31
ARROW_UP=SDLK_UP,
32
ARROW_DOWN=SDLK_DOWN,
33
SHIFT_LEFT=SDLK_LSHIFT,
34
SHIFT_RIGHT=SDLK_RSHIFT,
35
CTRL_LEFT=SDLK_RCTRL,
36
CTRL_RIGHTSDLK_LCTRL,
37
ALT_LEFT=SDLK_LALT,
38
ALT_RIGHT=SDLK_RALT,
39
TAB=SDLK_TAB,
40
ESCAPE=SDLK_ESCAPE,
41
SPACE=SDLK_SPACE,
42
BACKSPACE=SDLK_BACKSPACE,
43
NUM_0=SDLK_0,
44
NUN_1=SDLK_1,
45
NUM_2=SDLK_2,
46
NUM_3=SDLK_3,
47
NUM_4=SDLK_4,
48
NUM_5=SDLK_5,
49
NUM_6=SDLK_6,
50
NUM_7=SDLK_7,
51
NUM_8=SDLK_8,
52
NUM_9=SDLK_9,
53
A=SDLK_a,
54
B=SDLK_b,
55
C=SDLK_c,
56
D=SDLK_d,
57
E=SDLK_e,
58
F=SDLK_f,
59
G=SDLK_g,
60
H=SDLK_h,
61
I=SDLK_i,
62
J=SDLK_j,
63
K=SDLK_k,
64
L=SDLK_l,
65
M=SDLK_m,
66
N=SDLK_n,
67
O=SDLK_o,
68
P=SDLK_p,
69
Q=SDLK_q,
70
R=SDLK_r,
71
S=SDLK_s,
72
T=SDLK_t,
73
U=SDLK_u,
74
V=SDLK_v,
75
W=SDLK_w,
76
X=SDLK_x,
77
Y=SDLK_y,
78
Z=SDLK_z,
79
};
80
#endif
81
82
Generated on Wed Mar 26 2014 14:23:47 for Castlekeep by
1.8.6