-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappsettings.py
53 lines (44 loc) · 1.41 KB
/
appsettings.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
import pyautogui
# FUNCTION CONTROLS
SHOW_VIDEO = True
SHOW_HANDLANDMARKS = True
FUNCTIONING_ON = False # 0 -> Off, 1 -> On
WINDOW_HEIGHT = 600
WINDOW_WIDTH = 1000
SCREEN_WIDTH, SCREEN_HEIGHT = pyautogui.size()
THEME = {
'Dark': 'dark',
'Light': 'light',
}
DEFAULT_MOUSE_SMOOTHNESS = 4 #10
HANDSIGN = {
0: 'DO NOTHING', # OFF
1: 'Closed-Palm', # ON
2: 'WIN + TAB',#'Open-Palm', # * WIN + TAB
3: 'POINTING', # * MOUSE POINTING
4: 'RIGHT TAB',#'Point-Right(Thumb)', # * (WEB): TAB-RIGHT
5: 'LEFT TAB',#'Point-Left(Thumb)', # * (WEB): TAB-LEFT
# N eed to remove
6: 'SCREENSHOT',#'Close-YO', # SCREENSHOT
7: 'MINIMIZE APP',#'Open-YO', # * WIN + D
8: 'ESC', # (ESC)
9: 'MOUSE-CLICK', # * MOUSE-CLICK
10: 'SCROLL UP', #'Thumbs-Up', # * (WEB) SCROLL-UP
11: 'SCROLL DOWN', #'Thumbs-Down', # * (WEB) SCROLL-DOWN
}
FRAME_REDUCTION=100
# Colors
BACKGROUND_COLOR='#242424'
WHITE = '#FFF'
GRAY = 'grey'
BLUE = '#1f6aa5'
DARK_GREY = '#4a4a4a'
CLOSE_RED = '#8a0606'
SLIDER_BG = '#64676b'
# Font
FONT_1 = 'Calibri'
FONT_2 = 'Helvetica'
BUTTON_FONT_SIZE = 15
# Temporary
plocX, plocY = 0, 0 # previous (X, Y) coordinates (Mouse-Pointer)
clocX, clocY = 0, 0 # current (X, Y) coordinates (Mouse-Pointer)