libwallaby  v24
The wallaby standard library
graphics_key_code.h
Go to the documentation of this file.
1 /*
2  * graphics_key_code.h
3  *
4  * Created on: Jan 22, 2016
5  * Author: Joshua Southerland
6  */
7 
8 #ifndef INCLUDE_WALLABY_GRAPHICS_KEY_CODE_H_
9 #define INCLUDE_WALLABY_GRAPHICS_KEY_CODE_H_
10 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24  enum KeyCode
25  {
26  KeyEnter = '\n',
27  KeyBackSpace = '\b',
28  KeyTab = '\t',
29  KeyCancel = 0x03,
30  KeyClear = 0x0C,
31  KeyShift = 0x10,
32  KeyControl = 0x11,
33  KeyAlt = 0x12,
34  KeyPause = 0x13,
35  KeyCapsLock = 0x14,
36  KeyEscape = 0x1B,
37  KeySpace = 0x20,
38  KeyPageUp = 0x21,
39  KeyPageDown = 0x22,
40  KeyEnd = 0x23,
41  KeyHome = 0x24,
42  KeyLeft = 0x25,
43  KeyUp = 0x26,
44  KeyRight = 0x27,
45  KeyDown = 0x28,
46  KeyComma = 0x2C,
47  KeyPeriod = 0x2E,
48  KeySlash = 0x2F,
49  KeyZero = 0x30,
50  KeyOne = 0x31,
51  KeyTwo = 0x32,
52  KeyThree = 0x33,
53  KeyFour = 0x34,
54  KeyFive = 0x35,
55  KeySix = 0x36,
56  KeySeven = 0x37,
57  KeyEight = 0x38,
58  KeyNine = 0x39,
59  KeySemiColon = 0x3B,
60  KeyEquals = 0x3D,
61  KeyA = 0x41,
62  KeyB = 0x42,
63  KeyC = 0x43,
64  KeyD = 0x44,
65  KeyE = 0x45,
66  KeyF = 0x46,
67  KeyG = 0x47,
68  KeyH = 0x48,
69  KeyI = 0x49,
70  KeyJ = 0x4A,
71  KeyK = 0x4B,
72  KeyL = 0x4C,
73  KeyM = 0x4D,
74  KeyN = 0x4E,
75  KeyO = 0x4F,
76  KeyP = 0x50,
77  KeyQ = 0x51,
78  KeyR = 0x52,
79  KeyS = 0x53,
80  KeyT = 0x54,
81  KeyU = 0x55,
82  KeyV = 0x56,
83  KeyW = 0x57,
84  KeyX = 0x58,
85  KeyY = 0x59,
86  KeyZ = 0x5A,
87  KeyOpenBracket = 0x5B,
88  KeyBackSlash = 0x5C,
89  KeyCloseBracket = 0x5D,
90  KeyNumPad0 = 0x60,
91  KeyNumPad1 = 0x61,
92  KeyNumPad2 = 0x62,
93  KeyNumPad3 = 0x63,
94  KeyNumPad4 = 0x64,
95  KeyNumPad5 = 0x65,
96  KeyNumPad6 = 0x66,
97  KeyNumPad7 = 0x67,
98  KeyNumPad8 = 0x68,
99  KeyNumPad9 = 0x69,
100  KeyMultiply = 0x6A,
101  KeyAdd = 0x6B,
102  KeySeparator = 0x6C,
103  KeySubtract = 0x6D,
104  KeyDecimal = 0x6E,
105  KeyDivide = 0x6F,
106  KeyF1 = 0x70,
107  KeyF2 = 0x71,
108  KeyF3 = 0x72,
109  KeyF4 = 0x73,
110  KeyF5 = 0x74,
111  KeyF6 = 0x75,
112  KeyF7 = 0x76,
113  KeyF8 = 0x77,
114  KeyF9 = 0x78,
115  KeyF10 = 0x79,
116  KeyF11 = 0x7A,
117  KeyF12 = 0x7B,
118  KeyDelete = 0x7F,
119  KeyNumLock = 0x90,
120  KeyScrollLock = 0x91,
121  KeyPrintScreen = 0x9A,
122  KeyInsert = 0x9B,
123  KeyHelp = 0x9C,
124  KeyMeta = 0x9D,
125  KeyBackQuote = 0xC0,
126  KeyQuote = 0xDE,
127  KeyFinal = 0x18,
128  KeyConvert = 0x1C,
129  KeyNonConvert = 0x1D,
130  KeyAccept = 0x1E,
131  KeyModeChange = 0x1F,
132  KeyKana = 0x15,
133  KeyKanji = 0x19,
135  };
136 
137 #ifdef __cplusplus
138 }
139 #endif
140 
141 
142 #endif /* INCLUDE_WALLABY_GRAPHICS_KEY_CODE_H_ */
KeyLeft
left key
Definition: graphics_key_code.h:42
KeyKanji
kanji key
Definition: graphics_key_code.h:133
KeyNumPad5
numpad 5 key
Definition: graphics_key_code.h:95
KeyBackQuote
backquote key
Definition: graphics_key_code.h:125
KeyShift
shift key
Definition: graphics_key_code.h:31
KeyZero
zero key
Definition: graphics_key_code.h:49
KeyL
l key
Definition: graphics_key_code.h:72
KeyE
e key
Definition: graphics_key_code.h:65
KeySemiColon
semicolon key ';'
Definition: graphics_key_code.h:59
KeyCapsLock
capslock key
Definition: graphics_key_code.h:35
KeyR
r key
Definition: graphics_key_code.h:78
KeyX
x key
Definition: graphics_key_code.h:84
KeyNumPad6
numpad 6 key
Definition: graphics_key_code.h:96
KeyAlt
alt key
Definition: graphics_key_code.h:33
KeyC
c key
Definition: graphics_key_code.h:63
KeyM
m key
Definition: graphics_key_code.h:73
KeyF11
F11 key.
Definition: graphics_key_code.h:116
KeyFive
five key
Definition: graphics_key_code.h:54
KeySubtract
subtract key '-'
Definition: graphics_key_code.h:103
KeyNumLock
numlock key
Definition: graphics_key_code.h:119
KeyF12
F12 key.
Definition: graphics_key_code.h:117
KeySix
six key
Definition: graphics_key_code.h:55
KeyY
y key
Definition: graphics_key_code.h:85
KeyEight
eight key
Definition: graphics_key_code.h:57
KeyRight
right arrow key
Definition: graphics_key_code.h:44
KeyF4
F4 key.
Definition: graphics_key_code.h:109
KeyO
o key
Definition: graphics_key_code.h:75
KeyZ
z key
Definition: graphics_key_code.h:86
KeyModeChange
mode change key
Definition: graphics_key_code.h:131
KeyThree
three key
Definition: graphics_key_code.h:52
KeyP
p key
Definition: graphics_key_code.h:76
KeyNumPad1
numpad 1 key
Definition: graphics_key_code.h:91
KeyU
u key
Definition: graphics_key_code.h:81
KeyKana
kana key
Definition: graphics_key_code.h:132
KeyNumPad0
numpad 0 key
Definition: graphics_key_code.h:90
KeyDown
down arrow key
Definition: graphics_key_code.h:45
KeyK
k key
Definition: graphics_key_code.h:71
KeyTab
tab key
Definition: graphics_key_code.h:28
KeyBackSlash
back slash key '\'
Definition: graphics_key_code.h:88
KeyF1
F1 key.
Definition: graphics_key_code.h:106
KeyHelp
help key
Definition: graphics_key_code.h:123
KeySeparator
separator key '-'
Definition: graphics_key_code.h:102
KeyW
w key
Definition: graphics_key_code.h:83
KeyPeriod
period key '.'
Definition: graphics_key_code.h:47
KeyV
v key
Definition: graphics_key_code.h:82
KeyH
h key
Definition: graphics_key_code.h:68
KeyQ
q key
Definition: graphics_key_code.h:77
KeyNumPad7
numpad 7 key
Definition: graphics_key_code.h:97
KeyN
n key
Definition: graphics_key_code.h:74
KeyUndefined
undefined key
Definition: graphics_key_code.h:134
KeyF
f key
Definition: graphics_key_code.h:66
KeyF5
F5 key.
Definition: graphics_key_code.h:110
KeyOne
one key
Definition: graphics_key_code.h:50
KeyFour
four key
Definition: graphics_key_code.h:53
KeyFinal
final key
Definition: graphics_key_code.h:127
KeyNumPad8
numpad 8 key
Definition: graphics_key_code.h:98
KeyDivide
divide key '/'
Definition: graphics_key_code.h:105
KeyScrollLock
scroll lock key
Definition: graphics_key_code.h:120
KeyNumPad4
numpad 4 key
Definition: graphics_key_code.h:94
KeyCancel
cancel key
Definition: graphics_key_code.h:29
KeyCode
KeyCode
Definition: graphics_key_code.h:24
KeySeven
seven key
Definition: graphics_key_code.h:56
KeyMultiply
multiply key '*'
Definition: graphics_key_code.h:100
KeyJ
j key
Definition: graphics_key_code.h:70
KeyEnd
end key
Definition: graphics_key_code.h:40
KeyG
g key
Definition: graphics_key_code.h:67
KeyCloseBracket
close bracket key ']'
Definition: graphics_key_code.h:89
KeyComma
comma key ','
Definition: graphics_key_code.h:46
KeyTwo
two key
Definition: graphics_key_code.h:51
KeyB
b key
Definition: graphics_key_code.h:62
KeyInsert
insert key
Definition: graphics_key_code.h:122
KeyAccept
accept key
Definition: graphics_key_code.h:130
KeySlash
slash key '/'
Definition: graphics_key_code.h:48
KeyEquals
equals key '='
Definition: graphics_key_code.h:60
KeyBackSpace
backspace key
Definition: graphics_key_code.h:27
KeyF8
F8 key.
Definition: graphics_key_code.h:113
KeyDecimal
decimal key '.'
Definition: graphics_key_code.h:104
KeyPause
pause key
Definition: graphics_key_code.h:34
KeyT
t key
Definition: graphics_key_code.h:80
KeyA
a key
Definition: graphics_key_code.h:61
KeyD
d key
Definition: graphics_key_code.h:64
KeyNumPad3
numpad 3 key
Definition: graphics_key_code.h:93
KeyPageUp
page up key
Definition: graphics_key_code.h:38
KeyAdd
add key '+'
Definition: graphics_key_code.h:101
KeyF10
F10 key.
Definition: graphics_key_code.h:115
KeyUp
up arrow key
Definition: graphics_key_code.h:43
KeyDelete
delete key
Definition: graphics_key_code.h:118
KeyConvert
convert key
Definition: graphics_key_code.h:128
KeyQuote
quote key
Definition: graphics_key_code.h:126
KeyF9
F9 key.
Definition: graphics_key_code.h:114
KeyNumPad2
numpad 2 key
Definition: graphics_key_code.h:92
KeyNine
nine key
Definition: graphics_key_code.h:58
KeyOpenBracket
open bracket key '['
Definition: graphics_key_code.h:87
KeyNonConvert
non convert key
Definition: graphics_key_code.h:129
KeyHome
home key
Definition: graphics_key_code.h:41
KeyS
s key
Definition: graphics_key_code.h:79
KeyEscape
escape key
Definition: graphics_key_code.h:36
KeyNumPad9
numpad 9 key
Definition: graphics_key_code.h:99
KeyF6
F6 key.
Definition: graphics_key_code.h:111
KeyPrintScreen
print screen key
Definition: graphics_key_code.h:121
KeyEnter
enter key
Definition: graphics_key_code.h:26
KeyMeta
meta key
Definition: graphics_key_code.h:124
KeyPageDown
page down key
Definition: graphics_key_code.h:39
KeyControl
control key
Definition: graphics_key_code.h:32
KeyI
i key
Definition: graphics_key_code.h:69
KeyF7
F7 key.
Definition: graphics_key_code.h:112
KeyClear
clear key
Definition: graphics_key_code.h:30
KeySpace
space key
Definition: graphics_key_code.h:37
KeyF2
F2 key.
Definition: graphics_key_code.h:107
KeyF3
F3 key.
Definition: graphics_key_code.h:108