Skip to content

Keys ​

Keyboard flags. Combine keys with | to hold several keys at once.

D0 to D9 are the digit keys. SHIFT is Caps Shift; SYMBOL_SHIFT is Symbol Shift.

Source

Values ​

A ​

python
A = 1 << 0

Source

B ​

python
B = 1 << 1

Source

C ​

python
C = 1 << 2

Source

D ​

python
D = 1 << 3

Source

D0 ​

python
D0 = 1 << 26

Source

D1 ​

python
D1 = 1 << 27

Source

D2 ​

python
D2 = 1 << 28

Source

D3 ​

python
D3 = 1 << 29

Source

D4 ​

python
D4 = 1 << 30

Source

D5 ​

python
D5 = 1 << 31

Source

D6 ​

python
D6 = 1 << 32

Source

D7 ​

python
D7 = 1 << 33

Source

D8 ​

python
D8 = 1 << 34

Source

D9 ​

python
D9 = 1 << 35

Source

E ​

python
E = 1 << 4

Source

ENTER ​

python
ENTER = 1 << 37

Source

F ​

python
F = 1 << 5

Source

G ​

python
G = 1 << 6

Source

H ​

python
H = 1 << 7

Source

I ​

python
I = 1 << 8

Source

J ​

python
J = 1 << 9

Source

K ​

python
K = 1 << 10

Source

L ​

python
L = 1 << 11

Source

M ​

python
M = 1 << 12

Source

N ​

python
N = 1 << 13

Source

NONE ​

python
NONE = 0

Source

O ​

python
O = 1 << 14

Source

P ​

python
P = 1 << 15

Source

Q ​

python
Q = 1 << 16

Source

R ​

python
R = 1 << 17

Source

S ​

python
S = 1 << 18

Source

SHIFT ​

python
SHIFT = 1 << 36

Source

SPACE ​

python
SPACE = 1 << 38

Source

SYMBOL_SHIFT ​

python
SYMBOL_SHIFT = 1 << 39

Source

T ​

python
T = 1 << 19

Source

U ​

python
U = 1 << 20

Source

V ​

python
V = 1 << 21

Source

W ​

python
W = 1 << 22

Source

X ​

python
X = 1 << 23

Source

Y ​

python
Y = 1 << 24

Source

Z ​

python
Z = 1 << 25

Source