-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
67 lines (60 loc) · 1.04 KB
/
config.py
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
# Camera Settings
EXPOSURE = -5.5
# Colors
'''
GREY = [2, 58, 127]
WHITE = [0, 0, 255]
GREEN = [41, 108, 125]
YELLOW = [20, 150, 162]
'''
'''
GREY = [108, 71, 195]
WHITE = [100, 10, 233]
GREEN = [ 94, 74, 187]
YELLOW = [ 18, 35, 223]
'''
GREY = 217/2
GREEN = 170/2
YELLOW = 60/2
# Corners of Wordle grid
#corners = [(233, 135), (382, 319)]
#corners = [(231, 163), (381, 343)]
corners = [(233, 172), (380, 354)]
grid_size = (5, 6)
# Baseline values (X, Y) point to lower left corner
X = 77#79.5
Y = 75#82.5
Z_UP = 27
Z_MID = 25
Z_DOWN = 21
# Positions of each letter button
MARKERS = [
(196, 370),
(218, 371),
(241, 371),
(265, 370),
(287, 370),
(312, 370),
(334, 372),
(358, 369),
(381, 370),
(403, 370),
(207, 412),
(228, 412),
(252, 413),
(275, 412),
(300, 412),
(324, 414),
(347, 414),
(370, 414),
(395, 414),
(231, 451),
(254, 452),
(278, 453),
(299, 454),
(325, 452),
(347, 452),
(370, 453),
(201, 452)
]
MARKER_LABELS = "qwertyuiopasdfghjklzxcvbnm/"