Repository navigation
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
52 lines (49 loc) · 1.44 KB
/
Copy pathconfig.yaml.example
File metadata and controls
52 lines (49 loc) · 1.44 KB
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
mqtt:
host: "homeassistant.local"
port: 1883
username: ""
password: ""
# TLS settings (optional)
# tls: true
# ca_certs: "/path/to/ca.crt"
# Home Assistant MQTT Discovery prefix
homeassistant:
discovery_prefix: "homeassistant"
# Logging level: DEBUG, INFO, WARNING, ERROR
logging:
level: "INFO"
# Matrix pattern key positions (optional)
# Use scripts/discover_matrix.py to find the correct positions for your keyboard
# Uncomment and customize these positions to fix the predefined patterns
#
# Range notation is supported for rows and cols:
# - Single values: "0" -> [0]
# - Comma-separated: "0,5,10" -> [0, 5, 10]
# - Ranges: "1-5" -> [1, 2, 3, 4, 5]
# - Mixed: "0,2-5,10" -> [0, 2, 3, 4, 5, 10]
#
#matrix_patterns:
# # Traditional format (list of [row, col] pairs)
# wasd:
# - [2, 1] # W
# - [3, 1] # A
# - [3, 2] # S
# - [3, 3] # D
#
# arrows:
# - [4, 18] # Up
# - [5, 17] # Left
# - [5, 18] # Down
# - [5, 19] # Right
#
# # New format with range notation
# # Use "row"/"col" for single value, "rows"/"cols" for ranges
# border:
# - {row: 0, cols: "0-21"} # Top edge: all columns in row 0
# - {row: 5, cols: "0-21"} # Bottom edge: all columns in row 5
# - {rows: "1-4", col: 0} # Left edge: rows 1-4 in column 0
# - {rows: "1-4", col: 21} # Right edge: rows 1-4 in column 21
#
# # Custom pattern example
# numpad:
# - {rows: "2-4", cols: "18-20"} # 3x3 grid for numpad area