This repository has been archived by the owner on Jan 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
keymap.go
128 lines (126 loc) · 3.43 KB
/
keymap.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
package keymap
import g "github.com/AllenDang/giu"
var Keymap = map[string]g.Key{
"Unknown": g.KeyUnknown,
"Space": g.KeySpace,
"Apostrophe": g.KeyApostrophe,
"Comma": g.KeyComma,
"Minus": g.KeyMinus,
"Period": g.KeyPeriod,
"Slash": g.KeySlash,
"0": g.Key0,
"1": g.Key1,
"2": g.Key2,
"3": g.Key3,
"4": g.Key4,
"5": g.Key5,
"6": g.Key6,
"7": g.Key7,
"8": g.Key8,
"9": g.Key9,
"Semicolon": g.KeySemicolon,
"Equal": g.KeyEqual,
"A": g.KeyA,
"B": g.KeyB,
"C": g.KeyC,
"D": g.KeyD,
"E": g.KeyE,
"F": g.KeyF,
"G": g.KeyG,
"H": g.KeyH,
"I": g.KeyI,
"J": g.KeyJ,
"K": g.KeyK,
"L": g.KeyL,
"M": g.KeyM,
"N": g.KeyN,
"O": g.KeyO,
"P": g.KeyP,
"Q": g.KeyQ,
"R": g.KeyR,
"S": g.KeyS,
"T": g.KeyT,
"U": g.KeyU,
"V": g.KeyV,
"W": g.KeyW,
"X": g.KeyX,
"Y": g.KeyY,
"Z": g.KeyZ,
"LeftBracket": g.KeyLeftBracket,
"Backslash": g.KeyBackslash,
"RightBracket": g.KeyRightBracket,
"GraveAccent": g.KeyGraveAccent,
"World1": g.KeyWorld1,
"World2": g.KeyWorld2,
"Escape": g.KeyEscape,
"Enter": g.KeyEnter,
"Tab": g.KeyTab,
"Backspace": g.KeyBackspace,
"Insert": g.KeyInsert,
"Delete": g.KeyDelete,
"Right": g.KeyRight,
"Left": g.KeyLeft,
"Down": g.KeyDown,
"Up": g.KeyUp,
"PageUp": g.KeyPageUp,
"PageDown": g.KeyPageDown,
"Home": g.KeyHome,
"End": g.KeyEnd,
"CapsLock": g.KeyCapsLock,
"ScrollLock": g.KeyScrollLock,
"NumLock": g.KeyNumLock,
"PrintScreen": g.KeyPrintScreen,
"Pause": g.KeyPause,
"F1": g.KeyF1,
"F2": g.KeyF2,
"F3": g.KeyF3,
"F4": g.KeyF4,
"F5": g.KeyF5,
"F6": g.KeyF6,
"F7": g.KeyF7,
"F8": g.KeyF8,
"F9": g.KeyF9,
"F10": g.KeyF10,
"F11": g.KeyF11,
"F12": g.KeyF12,
"F13": g.KeyF13,
"F14": g.KeyF14,
"F15": g.KeyF15,
"F16": g.KeyF16,
"F17": g.KeyF17,
"F18": g.KeyF18,
"F19": g.KeyF19,
"F20": g.KeyF20,
"F21": g.KeyF21,
"F22": g.KeyF22,
"F23": g.KeyF23,
"F24": g.KeyF24,
"F25": g.KeyF25,
"KP0": g.KeyKP0,
"KP1": g.KeyKP1,
"KP2": g.KeyKP2,
"KP3": g.KeyKP3,
"KP4": g.KeyKP4,
"KP5": g.KeyKP5,
"KP6": g.KeyKP6,
"KP7": g.KeyKP7,
"KP8": g.KeyKP8,
"KP9": g.KeyKP9,
"KPDecimal": g.KeyKPDecimal,
"KPDivide": g.KeyKPDivide,
"KPMultiply": g.KeyKPMultiply,
"KPSubtract": g.KeyKPSubtract,
"KPAdd": g.KeyKPAdd,
"KPEnter": g.KeyKPEnter,
"KPEqual": g.KeyKPEqual,
"LeftShift": g.KeyLeftShift,
"LeftControl": g.KeyLeftControl,
"LeftAlt": g.KeyLeftAlt,
"LeftSuper": g.KeyLeftSuper,
"RightShift": g.KeyRightShift,
"RightControl": g.KeyRightControl,
"RightAlt": g.KeyRightAlt,
"RightSuper": g.KeyRightSuper,
"Menu": g.KeyMenu,
"Last": g.KeyLast,
}