maimai-windows-touch-panel/config.yaml

60 lines
1.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 是否开启调试模式
DEBUG: false
# 编辑好的图片路径
IMAGE_PATH: "./image/image_monitor_3840x2160_square.png"
# 串口号
COM_PORT: "COM33"
# 比特率
COM_BAUDRATE: 9600
# 检测区域的像素值范围
AREA_SCOPE: 120
# 检测区域圆上点的数量
AREA_POINT_NUM: 8
# 是否开启屏幕反转
REVERSE_MONITOR: false
# touch_thread 是否启用sleep, 默认开启, 如果程序 CPU 占用较高则开启, 如果滑动时延迟极大请关闭
TOUCH_THREAD_SLEEP_MODE: false
# 每次 sleep 的延迟, 单位: 微秒, 默认 10 微秒
TOUCH_THREAD_SLEEP_DELAY: 10
# 自定义屏幕宽0则为自动获取主屏幕的值
SCREEN_WIDTH: 0
# 自定义屏幕高0则为自动获取主屏幕的值
SCREEN_HEIGHT: 0
# RGB 颜色值对应区块配置
exp_image_dict:
"41-65-93": A1
"87-152-13": A2
"213-109-81": A3
"23-222-55": A4
"69-203-71": A5
"147-253-55": A6
"77-19-35": A7
"159-109-79": A8
"87-217-111": B1
"149-95-154": B2
"97-233-9": B3
"159-27-222": B4
"152-173-186": B5
"192-185-149": B6
"158-45-23": B7
"197-158-219": B8
"127-144-79": C1
"242-41-155": C2
"69-67-213": D1
"105-25-130": D2
"17-39-170": D3
"97-103-203": D4
"113-25-77": D5
"21-21-140": D6
"155-179-166": D7
"55-181-134": D8
"61-33-27": E1
"51-91-95": E2
"143-227-63": E3
"216-67-226": E4
"202-181-245": E5
"99-11-183": E6
"75-119-224": E7
"182-19-85": E8