-
-
Notifications
You must be signed in to change notification settings - Fork 660
/
keys.go
129 lines (126 loc) · 3.6 KB
/
keys.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
// Copyright 2013 The Ebiten Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by genkeys.go using 'go generate'. DO NOT EDIT.
package glfw
const (
Key0 = Key(48)
Key1 = Key(49)
Key2 = Key(50)
Key3 = Key(51)
Key4 = Key(52)
Key5 = Key(53)
Key6 = Key(54)
Key7 = Key(55)
Key8 = Key(56)
Key9 = Key(57)
KeyA = Key(65)
KeyApostrophe = Key(39)
KeyB = Key(66)
KeyBackslash = Key(92)
KeyBackspace = Key(259)
KeyC = Key(67)
KeyCapsLock = Key(280)
KeyComma = Key(44)
KeyD = Key(68)
KeyDelete = Key(261)
KeyDown = Key(264)
KeyE = Key(69)
KeyEnd = Key(269)
KeyEnter = Key(257)
KeyEqual = Key(61)
KeyEscape = Key(256)
KeyF = Key(70)
KeyF1 = Key(290)
KeyF10 = Key(299)
KeyF11 = Key(300)
KeyF12 = Key(301)
KeyF2 = Key(291)
KeyF3 = Key(292)
KeyF4 = Key(293)
KeyF5 = Key(294)
KeyF6 = Key(295)
KeyF7 = Key(296)
KeyF8 = Key(297)
KeyF9 = Key(298)
KeyG = Key(71)
KeyGraveAccent = Key(96)
KeyH = Key(72)
KeyHome = Key(268)
KeyI = Key(73)
KeyInsert = Key(260)
KeyJ = Key(74)
KeyK = Key(75)
KeyKP0 = Key(320)
KeyKP1 = Key(321)
KeyKP2 = Key(322)
KeyKP3 = Key(323)
KeyKP4 = Key(324)
KeyKP5 = Key(325)
KeyKP6 = Key(326)
KeyKP7 = Key(327)
KeyKP8 = Key(328)
KeyKP9 = Key(329)
KeyKPAdd = Key(334)
KeyKPDecimal = Key(330)
KeyKPDivide = Key(331)
KeyKPEnter = Key(335)
KeyKPEqual = Key(336)
KeyKPMultiply = Key(332)
KeyKPSubtract = Key(333)
KeyL = Key(76)
KeyLast = Key(348)
KeyLeft = Key(263)
KeyLeftAlt = Key(342)
KeyLeftBracket = Key(91)
KeyLeftControl = Key(341)
KeyLeftShift = Key(340)
KeyLeftSuper = Key(343)
KeyM = Key(77)
KeyMenu = Key(348)
KeyMinus = Key(45)
KeyN = Key(78)
KeyNumLock = Key(282)
KeyO = Key(79)
KeyP = Key(80)
KeyPageDown = Key(267)
KeyPageUp = Key(266)
KeyPause = Key(284)
KeyPeriod = Key(46)
KeyPrintScreen = Key(283)
KeyQ = Key(81)
KeyR = Key(82)
KeyRight = Key(262)
KeyRightAlt = Key(346)
KeyRightBracket = Key(93)
KeyRightControl = Key(345)
KeyRightShift = Key(344)
KeyRightSuper = Key(347)
KeyS = Key(83)
KeyScrollLock = Key(281)
KeySemicolon = Key(59)
KeySlash = Key(47)
KeySpace = Key(32)
KeyT = Key(84)
KeyTab = Key(258)
KeyU = Key(85)
KeyUnknown = Key(-1)
KeyUp = Key(265)
KeyV = Key(86)
KeyW = Key(87)
KeyWorld1 = Key(161)
KeyWorld2 = Key(162)
KeyX = Key(88)
KeyY = Key(89)
KeyZ = Key(90)
)