13 lines
228 B
Python
13 lines
228 B
Python
NONE = 0
|
|
LEFTMOUSE = 1 << 0
|
|
RIGHTMOUSE = 1 << 1
|
|
LEFTKEY = 1 << 2
|
|
RIGHTKEY = 1 << 3
|
|
SMOKE = 1 << 4
|
|
|
|
# How a normal human should read it...
|
|
M1 = LEFTMOUSE
|
|
M2 = RIGHTMOUSE
|
|
K1 = LEFTKEY | LEFTMOUSE
|
|
K2 = RIGHTKEY | RIGHTMOUSE
|