[Keyboard] Add splitkb.com's Aurora Corne (#18880)
This commit is contained in:
45
keyboards/splitkb/aurora/corne/rev1/config.h
Normal file
45
keyboards/splitkb/aurora/corne/rev1/config.h
Normal file
@@ -0,0 +1,45 @@
|
||||
/* Copyright 2022 splitkb.com <support@splitkb.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
// `SPLIT_HAND_PIN` can currently be defined in `info.json`,
|
||||
// but can't yet be given a value
|
||||
#define SPLIT_HAND_PIN F4
|
||||
|
||||
// Not yet available in `info.json`
|
||||
#ifdef OLED_ENABLE
|
||||
# define OLED_DISPLAY_128X32
|
||||
# define SPLIT_OLED_ENABLE
|
||||
#endif
|
||||
|
||||
// Not yet available in `info.json`
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS RGBLIGHT_LIMIT_VAL
|
||||
# define DRIVER_LED_TOTAL RGBLED_NUM
|
||||
# define RGB_MATRIX_SPLIT RGBLED_SPLIT
|
||||
# define SPLIT_TRANSPORT_MIRROR
|
||||
#endif
|
||||
|
||||
// Not yet available in `info.json`
|
||||
#ifdef BOOTMAGIC_ENABLE
|
||||
// Top left key on left half
|
||||
# define BOOTMAGIC_LITE_ROW 0
|
||||
# define BOOTMAGIC_LITE_COLUMN 5
|
||||
// Top right key on right half
|
||||
# define BOOTMAGIC_LITE_ROW_RIGHT 4
|
||||
# define BOOTMAGIC_LITE_COLUMN_RIGHT 5
|
||||
#endif
|
||||
167
keyboards/splitkb/aurora/corne/rev1/info.json
Normal file
167
keyboards/splitkb/aurora/corne/rev1/info.json
Normal file
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"keyboard_name": "Aurora Corne rev1",
|
||||
"usb": {
|
||||
"pid": "0x343A"
|
||||
},
|
||||
"features": {
|
||||
"mousekey": true,
|
||||
"bootmagic": true,
|
||||
"extrakey": true,
|
||||
"oled": true,
|
||||
"rgb_matrix": true
|
||||
},
|
||||
"community_layouts": [
|
||||
"split_3x6_3"
|
||||
],
|
||||
"layouts": {
|
||||
"LAYOUT_split_3x6_3": {
|
||||
"layout": [
|
||||
{"label": "L06", "matrix": [0, 0], "x": 0, "y": 0.3},
|
||||
{"label": "L05", "matrix": [0, 1], "x": 1, "y": 0.3},
|
||||
{"label": "L04", "matrix": [0, 2], "x": 2, "y": 0.1},
|
||||
{"label": "L03", "matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"label": "L02", "matrix": [0, 4], "x": 4, "y": 0.1},
|
||||
{"label": "L01", "matrix": [0, 5], "x": 5, "y": 0.2},
|
||||
{"label": "R01", "matrix": [4, 5], "x": 9, "y": 0.2},
|
||||
{"label": "R02", "matrix": [4, 4], "x": 10, "y": 0.1},
|
||||
{"label": "R03", "matrix": [4, 3], "x": 11, "y": 0},
|
||||
{"label": "R04", "matrix": [4, 2], "x": 12, "y": 0.1},
|
||||
{"label": "R05", "matrix": [4, 1], "x": 13, "y": 0.3},
|
||||
{"label": "R06", "matrix": [4, 0], "x": 14, "y": 0.3},
|
||||
|
||||
{"label": "L12", "matrix": [1, 0], "x": 0, "y": 1.3},
|
||||
{"label": "L11", "matrix": [1, 1], "x": 1, "y": 1.3},
|
||||
{"label": "L10", "matrix": [1, 2], "x": 2, "y": 1.1},
|
||||
{"label": "L09", "matrix": [1, 3], "x": 3, "y": 1},
|
||||
{"label": "L08", "matrix": [1, 4], "x": 4, "y": 1.1},
|
||||
{"label": "L07", "matrix": [1, 5], "x": 5, "y": 1.2},
|
||||
{"label": "R07", "matrix": [5, 5], "x": 9, "y": 1.2},
|
||||
{"label": "R08", "matrix": [5, 4], "x": 10, "y": 1.1},
|
||||
{"label": "R09", "matrix": [5, 3], "x": 11, "y": 1},
|
||||
{"label": "R10", "matrix": [5, 2], "x": 12, "y": 1.1},
|
||||
{"label": "R11", "matrix": [5, 1], "x": 13, "y": 1.3},
|
||||
{"label": "R12", "matrix": [5, 0], "x": 14, "y": 1.3},
|
||||
|
||||
{"label": "L18", "matrix": [2, 0], "x": 0, "y": 2.3},
|
||||
{"label": "L17", "matrix": [2, 1], "x": 1, "y": 2.3},
|
||||
{"label": "L16", "matrix": [2, 2], "x": 2, "y": 2.1},
|
||||
{"label": "L15", "matrix": [2, 3], "x": 3, "y": 2},
|
||||
{"label": "L14", "matrix": [2, 4], "x": 4, "y": 2.1},
|
||||
{"label": "L13", "matrix": [2, 5], "x": 5, "y": 2.2},
|
||||
{"label": "R13", "matrix": [6, 5], "x": 9, "y": 2.2},
|
||||
{"label": "R14", "matrix": [6, 4], "x": 10, "y": 2.1},
|
||||
{"label": "R15", "matrix": [6, 3], "x": 11, "y": 2},
|
||||
{"label": "R16", "matrix": [6, 2], "x": 12, "y": 2.1},
|
||||
{"label": "R17", "matrix": [6, 1], "x": 13, "y": 2.3},
|
||||
{"label": "R18", "matrix": [6, 0], "x": 14, "y": 2.3},
|
||||
|
||||
{"label": "L21", "matrix": [3, 3], "x": 4, "y": 3.7},
|
||||
{"label": "L20", "matrix": [3, 4], "x": 5, "y": 3.7},
|
||||
{"label": "L19", "matrix": [3, 5], "x": 6, "y": 3.2},
|
||||
{"label": "R19", "matrix": [7, 5], "x": 8, "y": 3.2},
|
||||
{"label": "R20", "matrix": [7, 4], "x": 9, "y": 3.7},
|
||||
{"label": "R21", "matrix": [7, 3], "x": 10, "y": 3.7}
|
||||
]
|
||||
}
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"matrix_pins": {
|
||||
"rows": ["D7", "E6", "B4", "B5"],
|
||||
"cols": ["B2", "B6", "B3", "B1", "F7", "F6"]
|
||||
},
|
||||
"encoder": {
|
||||
"enabled": true,
|
||||
"rotary": [
|
||||
{
|
||||
"pin_a": "D4",
|
||||
"pin_b": "C6"
|
||||
}
|
||||
]
|
||||
},
|
||||
"split": {
|
||||
"soft_serial_pin": "D2",
|
||||
"main": "pin",
|
||||
"matrix_pins": {
|
||||
"right": {
|
||||
"rows": ["B1", "B3", "B2", "B6"],
|
||||
"cols": ["D4", "C6", "D7", "E6", "B4", "B5"]
|
||||
}
|
||||
},
|
||||
"encoder": {
|
||||
"right": {
|
||||
"rotary": [
|
||||
{
|
||||
"pin_a": "F6",
|
||||
"pin_b": "F7"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "D3",
|
||||
"led_count": 54,
|
||||
"split": true,
|
||||
"split_count": [27, 27],
|
||||
"max_brightness": 128
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "WS2812",
|
||||
"layout": [
|
||||
{"flags": 2, "x": 93, "y": 17}, // L RGB1
|
||||
{"flags": 2, "x": 59, "y": 3}, // L RGB2
|
||||
{"flags": 2, "x": 25, "y": 7}, // L RGB3
|
||||
{"flags": 2, "x": 29, "y": 49}, // L RGB4
|
||||
{"flags": 2, "x": 70, "y": 51}, // L RGB5
|
||||
{"flags": 2, "x": 104, "y": 55}, // L RGB6
|
||||
{"flags": 4, "matrix": [3, 2], "x": 95, "y": 63}, // L SW19
|
||||
{"flags": 4, "matrix": [3, 1], "x": 80, "y": 58}, // L SW20
|
||||
{"flags": 4, "matrix": [3, 0], "x": 60, "y": 55}, // L SW21
|
||||
{"flags": 4, "matrix": [2, 5], "x": 85, "y": 39}, // L SW13
|
||||
{"flags": 4, "matrix": [2, 4], "x": 68, "y": 37}, // L SW14
|
||||
{"flags": 4, "matrix": [2, 3], "x": 50, "y": 35}, // L SW15
|
||||
{"flags": 4, "matrix": [2, 2], "x": 33, "y": 37}, // L SW16
|
||||
{"flags": 4, "matrix": [2, 1], "x": 16, "y": 42}, // L SW17
|
||||
{"flags": 4, "matrix": [1, 5], "x": 85, "y": 21}, // L SW07
|
||||
{"flags": 4, "matrix": [1, 4], "x": 68, "y": 19}, // L SW08
|
||||
{"flags": 4, "matrix": [1, 3], "x": 50, "y": 13}, // L SW09
|
||||
{"flags": 4, "matrix": [1, 2], "x": 33, "y": 20}, // L SW10
|
||||
{"flags": 4, "matrix": [1, 1], "x": 16, "y": 24}, // L SW11
|
||||
{"flags": 4, "matrix": [0, 5], "x": 85, "y": 4}, // L SW01
|
||||
{"flags": 4, "matrix": [0, 4], "x": 68, "y": 2}, // L SW02
|
||||
{"flags": 4, "matrix": [0, 3], "x": 50, "y": 0}, // L SW03
|
||||
{"flags": 4, "matrix": [0, 2], "x": 33, "y": 3}, // L SW04
|
||||
{"flags": 4, "matrix": [0, 1], "x": 16, "y": 7}, // L SW05
|
||||
{"flags": 4, "matrix": [0, 0], "x": 0, "y": 7}, // L SW06
|
||||
{"flags": 4, "matrix": [1, 0], "x": 0, "y": 24}, // L SW12
|
||||
{"flags": 4, "matrix": [2, 0], "x": 0, "y": 41}, // L SW18
|
||||
{"flags": 2, "x": 131, "y": 17}, // R RGB1
|
||||
{"flags": 2, "x": 165, "y": 3}, // R RGB2
|
||||
{"flags": 2, "x": 199, "y": 7}, // R RGB3
|
||||
{"flags": 2, "x": 195, "y": 49}, // R RGB4
|
||||
{"flags": 2, "x": 154, "y": 51}, // R RGB5
|
||||
{"flags": 2, "x": 120, "y": 55}, // R RGB6
|
||||
{"flags": 4, "matrix": [7, 2], "x": 129, "y": 63}, // R SW19
|
||||
{"flags": 4, "matrix": [7, 1], "x": 144, "y": 58}, // R SW20
|
||||
{"flags": 4, "matrix": [7, 0], "x": 164, "y": 55}, // R SW21
|
||||
{"flags": 4, "matrix": [6, 5], "x": 139, "y": 39}, // R SW13
|
||||
{"flags": 4, "matrix": [6, 4], "x": 156, "y": 37}, // R SW14
|
||||
{"flags": 4, "matrix": [6, 3], "x": 174, "y": 35}, // R SW15
|
||||
{"flags": 4, "matrix": [6, 2], "x": 191, "y": 37}, // R SW16
|
||||
{"flags": 4, "matrix": [6, 1], "x": 208, "y": 42}, // R SW17
|
||||
{"flags": 4, "matrix": [5, 5], "x": 139, "y": 21}, // R SW07
|
||||
{"flags": 4, "matrix": [5, 4], "x": 156, "y": 19}, // R SW08
|
||||
{"flags": 4, "matrix": [5, 3], "x": 174, "y": 13}, // R SW09
|
||||
{"flags": 4, "matrix": [5, 2], "x": 191, "y": 20}, // R SW10
|
||||
{"flags": 4, "matrix": [5, 1], "x": 208, "y": 24}, // R SW11
|
||||
{"flags": 4, "matrix": [4, 5], "x": 139, "y": 4}, // R SW01
|
||||
{"flags": 4, "matrix": [4, 4], "x": 156, "y": 2}, // R SW02
|
||||
{"flags": 4, "matrix": [4, 3], "x": 174, "y": 0}, // R SW03
|
||||
{"flags": 4, "matrix": [4, 2], "x": 191, "y": 3}, // R SW04
|
||||
{"flags": 4, "matrix": [4, 1], "x": 208, "y": 7}, // R SW05
|
||||
{"flags": 4, "matrix": [4, 0], "x": 224, "y": 7}, // R SW06
|
||||
{"flags": 4, "matrix": [5, 0], "x": 224, "y": 24}, // R SW12
|
||||
{"flags": 4, "matrix": [6, 0], "x": 224, "y": 41} // R SW18
|
||||
]
|
||||
}
|
||||
}
|
||||
35
keyboards/splitkb/aurora/corne/rev1/rev1.c
Normal file
35
keyboards/splitkb/aurora/corne/rev1/rev1.c
Normal file
@@ -0,0 +1,35 @@
|
||||
/* Copyright 2022 Leah Post <leah@splitkb.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
#ifdef SWAP_HANDS_ENABLE
|
||||
// clang-format off
|
||||
__attribute__ ((weak)) const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
|
||||
{{0, 4}, {1, 4}, {2, 4}, {3, 4}, {4, 4}, {5, 4}},
|
||||
{{0, 5}, {1, 5}, {2, 5}, {3, 5}, {4, 5}, {5, 5}},
|
||||
{{0, 6}, {1, 6}, {2, 6}, {3, 6}, {4, 6}, {5, 6}},
|
||||
{{0, 7}, {1, 7}, {2, 7}, {3, 7}, {4, 7}, {5, 7}},
|
||||
{{0, 0}, {1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}},
|
||||
{{0, 1}, {1, 1}, {2, 1}, {3, 1}, {4, 1}, {5, 1}},
|
||||
{{0, 2}, {1, 2}, {2, 2}, {3, 2}, {4, 2}, {5, 2}},
|
||||
{{0, 3}, {1, 3}, {2, 3}, {3, 3}, {4, 3}, {5, 3}}
|
||||
};
|
||||
// clang-format on
|
||||
# ifdef ENCODER_MAP_ENABLE
|
||||
const uint8_t PROGMEM encoder_hand_swap_config[NUM_ENCODERS] = {1,0};
|
||||
# endif
|
||||
#endif
|
||||
17
keyboards/splitkb/aurora/corne/rev1/rules.mk
Normal file
17
keyboards/splitkb/aurora/corne/rev1/rules.mk
Normal file
@@ -0,0 +1,17 @@
|
||||
# Copyright 2022 splitkb.com <support@splitkb.com>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Although no rules are defined,
|
||||
# presence of this file is required for QMK to compile it.
|
||||
Reference in New Issue
Block a user