feat: initial commit for corne
This commit is contained in:
65
keyboard.toml
Normal file
65
keyboard.toml
Normal file
@@ -0,0 +1,65 @@
|
||||
[keyboard]
|
||||
name = "corne-rs"
|
||||
product_name = "corne-rs"
|
||||
vendor_id = 0x4c4b
|
||||
product_id = 0x4643
|
||||
manufacturer = "RMK"
|
||||
chip = "nrf52840"
|
||||
|
||||
[layout]
|
||||
# WARNING: Currently row2col/col2row is set in RMK's feature gate, row2col config here is valid ONLY when you're using cloud compilation.
|
||||
# Checkout doc here: https://rmk.rs/docs/user_guide/faq.html#my-matrix-is-row2col-the-matrix-doesn-t-work
|
||||
# row2col = true
|
||||
rows = 4
|
||||
cols = 12
|
||||
layers = 3
|
||||
keymap = [
|
||||
[
|
||||
["Tab", "Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P", "Backspace"],
|
||||
["LCtrl", "A", "S", "D", "F", "G", "H", "J", "K", "L", "Semicolon", "Quote"],
|
||||
["LShift", "Z", "X", "C", "V", "B", "N", "M", "Comma", "Dot", "Slash", "Enter"],
|
||||
["__", "__", "__", "OSM(LGui)", "LAlt", "Space", "Enter", "MO(2)", "MO(1)", "__", "__", "__"]
|
||||
],
|
||||
[
|
||||
["Tab", "Kc1", "Kc2", "Kc3", "Kc4", "Kc5", "Kc6", "Kc7", "Kc8", "Kc9", "Kc0", "Delete"],
|
||||
["_", "AudioVolDown", "AudioVolUp", "AudioMute", "BrightnessDown", "BrightnessUp", "Left", "Down", "UP", "Right", "Semicolon", "Quote"],
|
||||
["_", "F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F12", "_"],
|
||||
["__", "__", "__", "_", "_", "_", "_", "_", "_", "__", "__", "__"]
|
||||
],
|
||||
[
|
||||
["_", "WM(Kc1, LShift)", "WM(Kc2, LShift)", "WM(Kc3, LShift)", "WM(Kc4, LShift)", "WM(Kc5, LShift)", "WM(Kc6, LShift)", "WM(Kc7, LShift)", "WM(Kc8, LShift)", "WM(Kc9, LShift)", "WM(Kc0, LShift)", "Backspace"],
|
||||
["_", "User0", "User1", "User2", "User4", "User5", "Minus", "Equal", "LeftBracket", "RightBracket", "Backslash", "Grave"],
|
||||
["_", "User10", "_", "_", "_", "_", "_", "_", "_", "_", "_", "_"],
|
||||
["__", "__", "__", "_", "_", "_", "_", "_", "LAlt", "__", "__", "__"]
|
||||
],
|
||||
]
|
||||
|
||||
[ble]
|
||||
enabled = true
|
||||
|
||||
[behavior]
|
||||
tap_hold = { enable_hrm = true }
|
||||
|
||||
[split]
|
||||
connection = "ble"
|
||||
|
||||
|
||||
[split.central]
|
||||
rows = 4
|
||||
cols = 6
|
||||
row_offset = 0
|
||||
col_offset = 0
|
||||
ble_addr = [0x18, 0xe2, 0x21, 0x80, 0xc0, 0xc7]
|
||||
[split.central.matrix]
|
||||
input_pins = ["P0_22", "P0_24", "P1_00", "P0_11"]
|
||||
output_pins = ["P0_31", "P0_29", "P0_02", "P1_15", "P1_13", "P1_11"]
|
||||
|
||||
[[split.peripheral]]
|
||||
rows = 4
|
||||
cols = 6
|
||||
row_offset = 0
|
||||
col_offset = 6
|
||||
ble_addr = [0x7e, 0xfe, 0x73, 0x9e, 0x66, 0xe3]
|
||||
[split.peripheral.matrix]
|
||||
input_pins = ["P0_22", "P0_24", "P1_00", "P0_11"]
|
||||
output_pins = ["P1_11", "P1_13", "P1_15", "P0_02", "P0_29", "P0_31"]
|
||||
Reference in New Issue
Block a user