Corne-FW/keyboard.toml
2025-08-21 15:34:01 +02:00

62 lines
1.7 KiB
TOML

[keyboard]
name = "corne"
product_name = "corne"
vendor_id = 0x4c4b
product_id = 0x4643
manufacturer = "haobo"
chip = "rp2040"
# [matrix]
# Input and output pins are mandatory
# input_pins = ["PIN_6", "PIN_7", "PIN_8", "PIN_9"]
# output_pins = ["PIN_19", "PIN_20", "PIN_21"]
# WARNING: Currently row2col/col2row is set in RMK's feature gate, configs here do nothing actually
# row2col = true
[layout]
rows = 4
cols = 12
layers = 6
keymap = [
[
["_", "Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P", "_"],
["B", "A", "S", "D", "F", "G", "H", "J", "K", "L", "Semicolon", "_"],
["_", "Z", "X", "C", "V", "B", "N", "M", "M", "_", "Slash", "_"],
["_", "Kc0", "Kc1", "Kc2", "Kc3", "Kc4", "Kc5", "Kc6", "Kc7", "Kc8", "Kc9", "_"],
],
[
["_", "Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P", "_"],
["_", "A", "S", "D", "F", "G", "H", "J", "K", "L", "Semicolon", "_"],
["_", "Z", "X", "C", "V", "B", "N", "M", "_", "_", "Slash", "_"],
["_", "_", "_", "_", "_", "_", "_", "_", "_", "_", "_", "_"],
],
]
[storage]
enabled = true
[split]
connection = "serial"
[split.central]
rows = 4
cols = 6
row_offset = 0
col_offset = 0
serial = [{ instance = "PIO0", tx_pin = "PIN_1", rx_pin = "PIN_1" }]
[split.central.matrix]
matrix_type = "normal"
input_pins = ["PIN_4", "PIN_5", "PIN_6", "PIN_7"]
output_pins = ["PIN_29", "PIN_28", "PIN_27", "PIN_26", "PIN_18", "PIN_20"]
[[split.peripheral]]
rows = 4
cols = 6
row_offset = 0
col_offset = 6
serial = [{ instance = "PIO0", tx_pin = "PIN_1", rx_pin = "PIN_1" }]
[split.peripheral.matrix]
matrix_type = "normal"
input_pins = ["PIN_4", "PIN_5", "PIN_6", "PIN_7"]
output_pins = ["PIN_20", "PIN_18", "PIN_26", "PIN_27", "PIN_28", "PIN_29"]