Move a_dux to data-driven (#20043)
This commit is contained in:
parent
655c24d29d
commit
4ba3fdfad2
@ -1,22 +1,9 @@
|
|||||||
/* Copyright 2018-2020
|
// Copyright 2018-2020
|
||||||
* ENDO Katsuhiro <ka2hiro@curlybracket.co.jp>
|
// ENDO Katsuhiro <ka2hiro@curlybracket.co.jp>
|
||||||
* David Philip Barr <@davidphilipbarr>
|
// David Philip Barr <@davidphilipbarr>
|
||||||
* Pierre Chevalier <pierrechevalier83@gmail.com>
|
// Pierre Chevalier <pierrechevalier83@gmail.com>
|
||||||
* @filterpaper
|
// SPDX-License-Identifier: GPL-2.0+
|
||||||
*
|
|
||||||
* 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 "quantum.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
#ifdef SWAP_HANDS_ENABLE
|
#ifdef SWAP_HANDS_ENABLE
|
||||||
|
@ -1,25 +1,9 @@
|
|||||||
/* Copyright 2018-2020 ENDO Katsuhiro <ka2hiro@curlybracket.co.jp> David Philip Barr <@davidphilipbarr> Pierre Chevalier <pierrechevalier83@gmail.com>
|
// Copyright 2018-2020
|
||||||
|
// ENDO Katsuhiro <ka2hiro@curlybracket.co.jp>
|
||||||
This program is free software: you can redistribute it and/or modify
|
// David Philip Barr <@davidphilipbarr>
|
||||||
it under the terms of the GNU General Public License as published by
|
// Pierre Chevalier <pierrechevalier83@gmail.com>
|
||||||
the Free Software Foundation, either version 2 of the License, or
|
// SPDX-License-Identifier: GPL-2.0+
|
||||||
(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
|
#pragma once
|
||||||
|
|
||||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
|
||||||
#define LOCKING_SUPPORT_ENABLE
|
|
||||||
|
|
||||||
/* Locking resynchronize hack */
|
|
||||||
#define LOCKING_RESYNC_ENABLE
|
|
||||||
|
|
||||||
#define EE_HANDS
|
#define EE_HANDS
|
||||||
|
@ -8,8 +8,13 @@
|
|||||||
"pid": "0x3939",
|
"pid": "0x3939",
|
||||||
"device_version": "0.0.1"
|
"device_version": "0.0.1"
|
||||||
},
|
},
|
||||||
"processor": "atmega32u4",
|
"development_board": "promicro",
|
||||||
"bootloader": "atmel-dfu",
|
"features": {
|
||||||
|
"bootmagic": true,
|
||||||
|
"extrakey": true,
|
||||||
|
"mousekey": true,
|
||||||
|
"unicode": true
|
||||||
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"direct": [
|
"direct": [
|
||||||
["C6", "D2", "F7", "B2", "F4"],
|
["C6", "D2", "F7", "B2", "F4"],
|
||||||
@ -19,6 +24,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"split": {
|
"split": {
|
||||||
|
"enabled": true,
|
||||||
"soft_serial_pin": "D1",
|
"soft_serial_pin": "D1",
|
||||||
"bootmagic": {
|
"bootmagic": {
|
||||||
"matrix": [4, 4]
|
"matrix": [4, 4]
|
||||||
@ -41,47 +47,43 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_split_3x5_2": {
|
"LAYOUT_split_3x5_2": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"x": 0, "y": 1.33, "matrix": [0, 0]},
|
{ "label": "L01", "matrix": [0, 0], "x": 0, "y": 1.33 },
|
||||||
{"x": 1, "y": 0.31, "matrix": [0, 1]},
|
{ "label": "L02", "matrix": [0, 1], "x": 1, "y": 0.31 },
|
||||||
{"x": 2, "y": 0, "matrix": [0, 2]},
|
{ "label": "L03", "matrix": [0, 2], "x": 2, "y": 0 },
|
||||||
{"x": 3, "y": 0.28, "matrix": [0, 3]},
|
{ "label": "L04", "matrix": [0, 3], "x": 3, "y": 0.28 },
|
||||||
{"x": 4, "y": 0.42, "matrix": [0, 4]},
|
{ "label": "L05", "matrix": [0, 4], "x": 4, "y": 0.42 },
|
||||||
|
{ "label": "R01", "matrix": [4, 0], "x": 8, "y": 0.42 },
|
||||||
|
{ "label": "R02", "matrix": [4, 1], "x": 9, "y": 0.28 },
|
||||||
|
{ "label": "R03", "matrix": [4, 2], "x": 10, "y": 0 },
|
||||||
|
{ "label": "R04", "matrix": [4, 3], "x": 11, "y": 0.31 },
|
||||||
|
{ "label": "R05", "matrix": [4, 4], "x": 12, "y": 1.33 },
|
||||||
|
|
||||||
{"x": 8, "y": 0.42, "matrix": [4, 0]},
|
{ "label": "L06", "matrix": [1, 0], "x": 0, "y": 2.33 },
|
||||||
{"x": 9, "y": 0.28, "matrix": [4, 1]},
|
{ "label": "L07", "matrix": [1, 1], "x": 1, "y": 1.31 },
|
||||||
{"x": 10, "y": 0, "matrix": [4, 2]},
|
{ "label": "L08", "matrix": [1, 2], "x": 2, "y": 1 },
|
||||||
{"x": 11, "y": 0.31, "matrix": [4, 3]},
|
{ "label": "L09", "matrix": [1, 3], "x": 3, "y": 1.28 },
|
||||||
{"x": 12, "y": 1.33, "matrix": [4, 4]},
|
{ "label": "L10", "matrix": [1, 4], "x": 4, "y": 1.42 },
|
||||||
|
{ "label": "R06", "matrix": [5, 0], "x": 8, "y": 1.42 },
|
||||||
|
{ "label": "R07", "matrix": [5, 1], "x": 9, "y": 1.28 },
|
||||||
|
{ "label": "R08", "matrix": [5, 2], "x": 10, "y": 1 },
|
||||||
|
{ "label": "R09", "matrix": [5, 3], "x": 11, "y": 1.31 },
|
||||||
|
{ "label": "R10", "matrix": [5, 4], "x": 12, "y": 2.33 },
|
||||||
|
|
||||||
{"x": 0, "y": 2.33, "matrix": [1, 0]},
|
{ "label": "L11", "matrix": [2, 0], "x": 0, "y": 3.33 },
|
||||||
{"x": 1, "y": 1.31, "matrix": [1, 1]},
|
{ "label": "L12", "matrix": [2, 1], "x": 1, "y": 2.31 },
|
||||||
{"x": 2, "y": 1, "matrix": [1, 2]},
|
{ "label": "L13", "matrix": [2, 2], "x": 2, "y": 2 },
|
||||||
{"x": 3, "y": 1.28, "matrix": [1, 3]},
|
{ "label": "L14", "matrix": [2, 3], "x": 3, "y": 2.28 },
|
||||||
{"x": 4, "y": 1.42, "matrix": [1, 4]},
|
{ "label": "L15", "matrix": [2, 4], "x": 4, "y": 2.42 },
|
||||||
|
{ "label": "R11", "matrix": [6, 0], "x": 8, "y": 2.42 },
|
||||||
|
{ "label": "R12", "matrix": [6, 1], "x": 9, "y": 2.28 },
|
||||||
|
{ "label": "R13", "matrix": [6, 2], "x": 10, "y": 2 },
|
||||||
|
{ "label": "R14", "matrix": [6, 3], "x": 11, "y": 2.31 },
|
||||||
|
{ "label": "R15", "matrix": [6, 4], "x": 12, "y": 3.33 },
|
||||||
|
|
||||||
{"x": 8, "y": 1.42, "matrix": [5, 0]},
|
{ "label": "L16", "matrix": [3, 0], "x": 4, "y": 3.75 },
|
||||||
{"x": 9, "y": 1.28, "matrix": [5, 1]},
|
{ "label": "L17", "matrix": [3, 1], "x": 5, "y": 4 },
|
||||||
{"x": 10, "y": 1, "matrix": [5, 2]},
|
{ "label": "R16", "matrix": [7, 0], "x": 7, "y": 4 },
|
||||||
{"x": 11, "y": 1.31, "matrix": [5, 3]},
|
{ "label": "R17", "matrix": [7, 1], "x": 8, "y": 3.75 }
|
||||||
{"x": 12, "y": 2.33, "matrix": [5, 4]},
|
|
||||||
|
|
||||||
{"x": 0, "y": 3.33, "matrix": [2, 0]},
|
|
||||||
{"x": 1, "y": 2.31, "matrix": [2, 1]},
|
|
||||||
{"x": 2, "y": 2, "matrix": [2, 2]},
|
|
||||||
{"x": 3, "y": 2.28, "matrix": [2, 3]},
|
|
||||||
{"x": 4, "y": 2.42, "matrix": [2, 4]},
|
|
||||||
|
|
||||||
{"x": 8, "y": 2.42, "matrix": [6, 0]},
|
|
||||||
{"x": 9, "y": 2.28, "matrix": [6, 1]},
|
|
||||||
{"x": 10, "y": 2, "matrix": [6, 2]},
|
|
||||||
{"x": 11, "y": 2.31, "matrix": [6, 3]},
|
|
||||||
{"x": 12, "y": 3.33, "matrix": [6, 4]},
|
|
||||||
|
|
||||||
{"x": 4, "y": 3.75, "matrix": [3, 0]},
|
|
||||||
{"x": 5, "y": 4, "matrix": [3, 1]},
|
|
||||||
|
|
||||||
{"x": 7, "y": 4, "matrix": [7, 0]},
|
|
||||||
{"x": 8, "y": 3.75, "matrix": [7, 1]}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,14 +1 @@
|
|||||||
# Build Options
|
# This file intentionally left blank
|
||||||
# change yes to no to disable
|
|
||||||
#
|
|
||||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
|
||||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
|
||||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
||||||
CONSOLE_ENABLE = no # Console for debug
|
|
||||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
|
||||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
|
||||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
|
||||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
|
||||||
UNICODE_ENABLE = yes # Unicode
|
|
||||||
AUDIO_ENABLE = no # Audio output
|
|
||||||
SPLIT_KEYBOARD = yes # Use shared split_common code
|
|
||||||
|
Loading…
Reference in New Issue
Block a user