summaryrefslogtreecommitdiffstats
path: root/keyboards/jian
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-23 09:20:23 +1100
committerGitHub <noreply@github.com>2023-02-23 09:20:23 +1100
commit3bf01bb9ed202b14f78105db2aa2a75d01fc4323 (patch)
treee492f428742358d7e75a228314d92b818ee0370d /keyboards/jian
parent7f805cc7799deb0ca75f751cebd32c6640058af9 (diff)
Move QMK LUFA bootloader config to data driven (#19879)
Diffstat (limited to 'keyboards/jian')
-rw-r--r--keyboards/jian/nsrev2/config.h3
-rw-r--r--keyboards/jian/nsrev2/info.json4
-rw-r--r--keyboards/jian/rev2/config.h3
-rw-r--r--keyboards/jian/rev2/info.json4
4 files changed, 8 insertions, 6 deletions
diff --git a/keyboards/jian/nsrev2/config.h b/keyboards/jian/nsrev2/config.h
index 1e2a238f69..eba3f5247b 100644
--- a/keyboards/jian/nsrev2/config.h
+++ b/keyboards/jian/nsrev2/config.h
@@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { F4, F5, B1, B3, D1, D0, D7, E6 }
#define MATRIX_COL_PINS { D3, D2, B4, F6, F7, B2 }
-#define QMK_ESC_OUTPUT D3
-#define QMK_ESC_INPUT B1
-
#define PHYSICAL_LEDS_ENABLE
#ifdef BACKLIGHT_ENABLE
diff --git a/keyboards/jian/nsrev2/info.json b/keyboards/jian/nsrev2/info.json
index a642aaf0a9..bb64f79e58 100644
--- a/keyboards/jian/nsrev2/info.json
+++ b/keyboards/jian/nsrev2/info.json
@@ -3,6 +3,10 @@
"usb": {
"device_version": "2.1.0"
},
+ "qmk_lufa_bootloader": {
+ "esc_input": "B1",
+ "esc_output": "D3"
+ },
"processor": "atmega32u4",
"bootloader": "qmk-dfu"
}
diff --git a/keyboards/jian/rev2/config.h b/keyboards/jian/rev2/config.h
index 3e5b61863e..061e1185cf 100644
--- a/keyboards/jian/rev2/config.h
+++ b/keyboards/jian/rev2/config.h
@@ -27,9 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define EE_HANDS
#define SPLIT_HAND_PIN E6
-#define QMK_ESC_OUTPUT D3
-#define QMK_ESC_INPUT B1
-
#define PHYSICAL_LEDS_ENABLE
#define IOS_DEVICE_ENABLE
diff --git a/keyboards/jian/rev2/info.json b/keyboards/jian/rev2/info.json
index 06faa71432..0e87ca3bb6 100644
--- a/keyboards/jian/rev2/info.json
+++ b/keyboards/jian/rev2/info.json
@@ -3,6 +3,10 @@
"usb": {
"device_version": "2.0.0"
},
+ "qmk_lufa_bootloader": {
+ "esc_input": "B1",
+ "esc_output": "D3"
+ },
"split": {
"soft_serial_pin": "D1"
},