summaryrefslogtreecommitdiff
path: root/keyboards/nacly
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-07-13 13:29:16 +0100
committerGitHub <noreply@github.com>2024-07-13 13:29:16 +0100
commitf0807ea64f97c5d2af856d987a7a5088676b38ad (patch)
tree3a4ded3b045027e390eb64edb89f91c8d679bf0e /keyboards/nacly
parent26e84c513c9c2ff366cfcdcdb28b417a4c4f04a7 (diff)
Migrate SPLIT_HAND_PIN to json (#23924)
Diffstat (limited to 'keyboards/nacly')
-rw-r--r--keyboards/nacly/sodium42/config.h35
-rw-r--r--keyboards/nacly/sodium42/keyboard.json3
-rw-r--r--keyboards/nacly/sodium50/config.h35
-rw-r--r--keyboards/nacly/sodium50/keyboard.json3
-rw-r--r--keyboards/nacly/sodium62/config.h2
-rw-r--r--keyboards/nacly/sodium62/keyboard.json3
-rw-r--r--keyboards/nacly/splitreus62/config.h37
-rw-r--r--keyboards/nacly/splitreus62/keyboard.json3
8 files changed, 12 insertions, 109 deletions
diff --git a/keyboards/nacly/sodium42/config.h b/keyboards/nacly/sodium42/config.h
deleted file mode 100644
index fe3f0e0cc9..0000000000
--- a/keyboards/nacly/sodium42/config.h
+++ /dev/null
@@ -1,35 +0,0 @@
1/* Copyright 2022 NaCly
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#define SPLIT_HAND_PIN F4
20
21/*
22 * Feature disable options
23 * These options are also useful to firmware size reduction.
24 */
25
26/* disable debug print */
27// #define NO_DEBUG
28
29/* disable print */
30// #define NO_PRINT
31
32/* disable action features */
33//#define NO_ACTION_LAYER
34//#define NO_ACTION_TAPPING
35//#define NO_ACTION_ONESHOT
diff --git a/keyboards/nacly/sodium42/keyboard.json b/keyboards/nacly/sodium42/keyboard.json
index 491a2cf955..ba4f386ca1 100644
--- a/keyboards/nacly/sodium42/keyboard.json
+++ b/keyboards/nacly/sodium42/keyboard.json
@@ -29,6 +29,9 @@
29 "diode_direction": "COL2ROW", 29 "diode_direction": "COL2ROW",
30 "split": { 30 "split": {
31 "enabled": true, 31 "enabled": true,
32 "handedness": {
33 "pin": "F4"
34 },
32 "soft_serial_pin": "D3" 35 "soft_serial_pin": "D3"
33 }, 36 },
34 "processor": "atmega32u4", 37 "processor": "atmega32u4",
diff --git a/keyboards/nacly/sodium50/config.h b/keyboards/nacly/sodium50/config.h
deleted file mode 100644
index fe3f0e0cc9..0000000000
--- a/keyboards/nacly/sodium50/config.h
+++ /dev/null
@@ -1,35 +0,0 @@
1/* Copyright 2022 NaCly
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#define SPLIT_HAND_PIN F4
20
21/*
22 * Feature disable options
23 * These options are also useful to firmware size reduction.
24 */
25
26/* disable debug print */
27// #define NO_DEBUG
28
29/* disable print */
30// #define NO_PRINT
31
32/* disable action features */
33//#define NO_ACTION_LAYER
34//#define NO_ACTION_TAPPING
35//#define NO_ACTION_ONESHOT
diff --git a/keyboards/nacly/sodium50/keyboard.json b/keyboards/nacly/sodium50/keyboard.json
index ec0edbfd9a..4144b6a473 100644
--- a/keyboards/nacly/sodium50/keyboard.json
+++ b/keyboards/nacly/sodium50/keyboard.json
@@ -29,6 +29,9 @@
29 "diode_direction": "COL2ROW", 29 "diode_direction": "COL2ROW",
30 "split": { 30 "split": {
31 "enabled": true, 31 "enabled": true,
32 "handedness": {
33 "pin": "F4"
34 },
32 "soft_serial_pin": "D3" 35 "soft_serial_pin": "D3"
33 }, 36 },
34 "processor": "atmega32u4", 37 "processor": "atmega32u4",
diff --git a/keyboards/nacly/sodium62/config.h b/keyboards/nacly/sodium62/config.h
index 341e0e0d89..09240d0b50 100644
--- a/keyboards/nacly/sodium62/config.h
+++ b/keyboards/nacly/sodium62/config.h
@@ -16,8 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19#define SPLIT_HAND_PIN F4
20
21#define OLED_BRIGHTNESS 128 19#define OLED_BRIGHTNESS 128
22 20
23/* 21/*
diff --git a/keyboards/nacly/sodium62/keyboard.json b/keyboards/nacly/sodium62/keyboard.json
index 2d9f01e801..1e181eebab 100644
--- a/keyboards/nacly/sodium62/keyboard.json
+++ b/keyboards/nacly/sodium62/keyboard.json
@@ -30,6 +30,9 @@
30 "diode_direction": "COL2ROW", 30 "diode_direction": "COL2ROW",
31 "split": { 31 "split": {
32 "enabled": true, 32 "enabled": true,
33 "handedness": {
34 "pin": "F4"
35 },
33 "soft_serial_pin": "D3" 36 "soft_serial_pin": "D3"
34 }, 37 },
35 "processor": "atmega32u4", 38 "processor": "atmega32u4",
diff --git a/keyboards/nacly/splitreus62/config.h b/keyboards/nacly/splitreus62/config.h
deleted file mode 100644
index b4f9d582ce..0000000000
--- a/keyboards/nacly/splitreus62/config.h
+++ /dev/null
@@ -1,37 +0,0 @@
1/*
2Copyright 2012 Jun Wako <wakojun@gmail.com>
3Copyright 2015 Jack Humbert
4
5This program is free software: you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation, either version 2 of the License, or
8(at your option) any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#pragma once
20
21#define SPLIT_HAND_PIN F4
22
23/*
24 * Feature disable options
25 * These options are also useful to firmware size reduction.
26 */
27
28/* disable debug print */
29// #define NO_DEBUG
30
31/* disable print */
32// #define NO_PRINT
33
34/* disable action features */
35//#define NO_ACTION_LAYER
36//#define NO_ACTION_TAPPING
37//#define NO_ACTION_ONESHOT
diff --git a/keyboards/nacly/splitreus62/keyboard.json b/keyboards/nacly/splitreus62/keyboard.json
index 08a8010483..e46d4be668 100644
--- a/keyboards/nacly/splitreus62/keyboard.json
+++ b/keyboards/nacly/splitreus62/keyboard.json
@@ -30,6 +30,9 @@
30 "diode_direction": "ROW2COL", 30 "diode_direction": "ROW2COL",
31 "split": { 31 "split": {
32 "enabled": true, 32 "enabled": true,
33 "handedness": {
34 "pin": "F4"
35 },
33 "soft_serial_pin": "D0" 36 "soft_serial_pin": "D0"
34 }, 37 },
35 "rgblight": { 38 "rgblight": {