- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkeycode.py
More file actions
Latest commit
117 lines (117 loc) · 3.93 KB
/
Copy pathkeycode.py
File metadata and controls
117 lines (117 loc) · 3.93 KB
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
importpygame
class_KeyCode(object):
def__init__(self):
self.Noone=-1
self.Backspace=pygame.K_BACKSPACE
self.Delete=pygame.K_DELETE
self.Tab=pygame.K_TAB
self.Clear=pygame.K_CLEAR
self.Return=pygame.K_RETURN
self.Pause=pygame.K_PAUSE
self.Escape=pygame.K_ESCAPE
self.Space=pygame.K_SPACE
self.Keypad0=pygame.K_KP0
self.Keypad1=pygame.K_KP1
self.Keypad2=pygame.K_KP2
self.Keypad3=pygame.K_KP3
self.Keypad4=pygame.K_KP4
self.Keypad5=pygame.K_KP5
self.Keypad6=pygame.K_KP6
self.Keypad7=pygame.K_KP7
self.Keypad8=pygame.K_KP8
self.Keypad9=pygame.K_KP9
self.KeypadPeriod=pygame.K_KP_PERIOD
self.KeypadDivide=pygame.K_KP_DIVIDE
self.KeypadMultiply=pygame.K_KP_MULTIPLY
self.KeypadMinus=pygame.K_KP_MINUS
self.KeypadPlus=pygame.K_KP_PLUS
self.KeypadEnter=pygame.K_KP_ENTER
self.KeypadEquals=pygame.K_KP_EQUALS
self.UpArrow=pygame.K_UP
self.DownArrow=pygame.K_DOWN
self.RightArrow=pygame.K_RIGHT
self.LeftArrow=pygame.K_LEFT
self.Insert=pygame.K_INSERT
self.Home=pygame.K_HOME
self.End=pygame.K_END
self.PageUp=pygame.K_PAGEUP
self.PageDown=pygame.K_PAGEDOWN
self.F1=pygame.K_F1
self.F2=pygame.K_F2
self.F3=pygame.K_F3
self.F4=pygame.K_F4
self.F5=pygame.K_F5
self.F6=pygame.K_F6
self.F7=pygame.K_F7
self.F8=pygame.K_F8
self.F9=pygame.K_F9
self.F10=pygame.K_F10
self.F11=pygame.K_F11
self.F12=pygame.K_F12
self.F13=pygame.K_F13
self.F14=pygame.K_F14
self.F15=pygame.K_F15
self.Alpha0=pygame.K_0
self.Alpha1=pygame.K_1
self.Alpha2=pygame.K_2
self.Alpha3=pygame.K_3
self.Alpha4=pygame.K_4
self.Alpha5=pygame.K_5
self.Alpha6=pygame.K_6
self.Alpha7=pygame.K_7
self.Alpha8=pygame.K_8
self.Alpha9=pygame.K_9
self.Exclaim=pygame.K_EXCLAIM
self.DoubleQuote=pygame.K_QUOTEDBL
self.Hash=pygame.K_HASH
self.Dollar=pygame.K_DOLLAR
self.Ampersand=pygame.K_AMPERSAND
self.Quote=pygame.K_QUOTE
self.LeftParen=pygame.K_LEFTPAREN
self.RightParen=pygame.K_RIGHTPAREN
self.Asterisk=pygame.K_ASTERISK
self.Plus=pygame.K_PLUS
self.Comma=pygame.K_COMMA
self.Minus=pygame.K_MINUS
self.Period=pygame.K_PERIOD
self.Slash=pygame.K_SLASH
self.Colon=pygame.K_COLON
self.Semicolon=pygame.K_SEMICOLON
self.Less=pygame.K_LESS
self.Equals=pygame.K_EQUALS
self.Greater=pygame.K_GREATER
self.Question=pygame.K_QUESTION
self.At=pygame.K_AT
self.LeftBracket=pygame.K_LEFTBRACKET
self.Backslash=pygame.K_BACKSLASH
self.RightBracket=pygame.K_RIGHTBRACKET
self.Caret=pygame.K_CARET
self.Underscore=pygame.K_UNDERSCORE
self.BackQuote=pygame.K_BACKQUOTE
self.A=pygame.K_a
self.B=pygame.K_b
self.C=pygame.K_c
self.D=pygame.K_d
self.E=pygame.K_e
self.F=pygame.K_f
self.G=pygame.K_g
self.H=pygame.K_h
self.I=pygame.K_i
self.J=pygame.K_j
self.K=pygame.K_k
self.L=pygame.K_l
self.M=pygame.K_m
self.N=pygame.K_n
self.O=pygame.K_o
self.P=pygame.K_p
self.Q=pygame.K_q
self.R=pygame.K_r
self.S=pygame.K_s
self.T=pygame.K_t
self.U=pygame.K_u
self.V=pygame.K_v
self.W=pygame.K_w
self.X=pygame.K_x
self.Y=pygame.K_y
self.Z=pygame.K_z
return