This repository has been archived by the owner on May 16, 2018. It is now read-only.
/
keys.go
108 lines (106 loc) · 4.06 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
package canvas2d
import "github.com/go-gl/glfw/v3.2/glfw"
const (
KeyMinus = int32(glfw.KeyMinus)
KeyApostrophe = int32(glfw.KeyApostrophe)
KeySemicolon = int32(glfw.KeySemicolon)
KeyEqual = int32(glfw.KeyEqual)
KeyComma = int32(glfw.KeyComma)
KeyPeriod = int32(glfw.KeyPeriod)
KeySlash = int32(glfw.KeySlash)
KeyBackslash = int32(glfw.KeyBackslash)
KeyBackspace = int32(glfw.KeyBackspace)
KeyTab = int32(glfw.KeyTab)
KeyCapsLock = int32(glfw.KeyCapsLock)
KeySpace = int32(glfw.KeySpace)
KeyEnter = int32(glfw.KeyEnter)
KeyEscape = int32(glfw.KeyEscape)
KeyInsert = int32(glfw.KeyInsert)
KeyPrintScreen = int32(glfw.KeyPrintScreen)
KeyDelete = int32(glfw.KeyDelete)
KeyPageUp = int32(glfw.KeyPageUp)
KeyPageDown = int32(glfw.KeyPageDown)
KeyHome = int32(glfw.KeyHome)
KeyEnd = int32(glfw.KeyEnd)
KeyPause = int32(glfw.KeyPause)
KeyScrollLock = int32(glfw.KeyScrollLock)
KeyLeft = int32(glfw.KeyLeft)
KeyRight = int32(glfw.KeyRight)
KeyDown = int32(glfw.KeyDown)
KeyUp = int32(glfw.KeyUp)
KeyLeftBracket = int32(glfw.KeyLeftBracket)
KeyLeftShift = int32(glfw.KeyLeftShift)
KeyLeftControl = int32(glfw.KeyLeftControl)
KeyLeftSuper = int32(glfw.KeyLeftSuper)
KeyLeftAlt = int32(glfw.KeyLeftAlt)
KeyRightBracket = int32(glfw.KeyRightBracket)
KeyRightShift = int32(glfw.KeyRightShift)
KeyRightControl = int32(glfw.KeyRightControl)
KeyRightSuper = int32(glfw.KeyRightSuper)
KeyRightAlt = int32(glfw.KeyRightAlt)
Key0 = int32(glfw.Key0)
Key1 = int32(glfw.Key1)
Key2 = int32(glfw.Key2)
Key3 = int32(glfw.Key3)
Key4 = int32(glfw.Key4)
Key5 = int32(glfw.Key5)
Key6 = int32(glfw.Key6)
Key7 = int32(glfw.Key7)
Key8 = int32(glfw.Key8)
Key9 = int32(glfw.Key9)
KeyF1 = int32(glfw.KeyF1)
KeyF2 = int32(glfw.KeyF2)
KeyF3 = int32(glfw.KeyF3)
KeyF4 = int32(glfw.KeyF4)
KeyF5 = int32(glfw.KeyF5)
KeyF6 = int32(glfw.KeyF6)
KeyF7 = int32(glfw.KeyF7)
KeyF8 = int32(glfw.KeyF8)
KeyF9 = int32(glfw.KeyF9)
KeyF10 = int32(glfw.KeyF10)
KeyF11 = int32(glfw.KeyF11)
KeyF12 = int32(glfw.KeyF12)
KeyA = int32(glfw.KeyA)
KeyB = int32(glfw.KeyB)
KeyC = int32(glfw.KeyC)
KeyD = int32(glfw.KeyD)
KeyE = int32(glfw.KeyE)
KeyF = int32(glfw.KeyF)
KeyG = int32(glfw.KeyG)
KeyH = int32(glfw.KeyH)
KeyI = int32(glfw.KeyI)
KeyJ = int32(glfw.KeyJ)
KeyK = int32(glfw.KeyK)
KeyL = int32(glfw.KeyL)
KeyM = int32(glfw.KeyM)
KeyN = int32(glfw.KeyN)
KeyO = int32(glfw.KeyO)
KeyP = int32(glfw.KeyP)
KeyQ = int32(glfw.KeyQ)
KeyR = int32(glfw.KeyR)
KeyS = int32(glfw.KeyS)
KeyT = int32(glfw.KeyT)
KeyU = int32(glfw.KeyU)
KeyV = int32(glfw.KeyV)
KeyW = int32(glfw.KeyW)
KeyX = int32(glfw.KeyX)
KeyY = int32(glfw.KeyY)
KeyZ = int32(glfw.KeyZ)
KeyNumLock = int32(glfw.KeyNumLock)
KeyKPMultiply = int32(glfw.KeyKPMultiply)
KeyKPDivide = int32(glfw.KeyKPDivide)
KeyKPAdd = int32(glfw.KeyKPAdd)
KeyKPSubtract = int32(glfw.KeyKPSubtract)
KeyKP0 = int32(glfw.KeyKP0)
KeyKP1 = int32(glfw.KeyKP1)
KeyKP2 = int32(glfw.KeyKP2)
KeyKP3 = int32(glfw.KeyKP3)
KeyKP4 = int32(glfw.KeyKP4)
KeyKP5 = int32(glfw.KeyKP5)
KeyKP6 = int32(glfw.KeyKP6)
KeyKP7 = int32(glfw.KeyKP7)
KeyKP8 = int32(glfw.KeyKP8)
KeyKP9 = int32(glfw.KeyKP9)
KeyKPDecimal = int32(glfw.KeyKPDecimal)
KeyKPEnter = int32(glfw.KeyKPEnter)
)