summaryrefslogtreecommitdiffstats
path: root/keyboards/kprepublic
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kprepublic')
-rw-r--r--keyboards/kprepublic/bm43a/config.h3
-rw-r--r--keyboards/kprepublic/bm43a/info.json4
-rw-r--r--keyboards/kprepublic/cospad/config.h2
-rw-r--r--keyboards/kprepublic/cospad/info.json1
-rw-r--r--keyboards/kprepublic/jj40/config.h4
-rw-r--r--keyboards/kprepublic/jj40/info.json5
-rw-r--r--keyboards/kprepublic/jj4x4/config.h4
-rw-r--r--keyboards/kprepublic/jj4x4/info.json5
-rw-r--r--keyboards/kprepublic/jj50/config.h4
-rw-r--r--keyboards/kprepublic/jj50/info.json5
10 files changed, 20 insertions, 17 deletions
diff --git a/keyboards/kprepublic/bm43a/config.h b/keyboards/kprepublic/bm43a/config.h
index 2a4fcf6e36..329615e1d1 100644
--- a/keyboards/kprepublic/bm43a/config.h
+++ b/keyboards/kprepublic/bm43a/config.h
@@ -33,9 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 10
diff --git a/keyboards/kprepublic/bm43a/info.json b/keyboards/kprepublic/bm43a/info.json
index 545d087128..4e23be7857 100644
--- a/keyboards/kprepublic/bm43a/info.json
+++ b/keyboards/kprepublic/bm43a/info.json
@@ -8,6 +8,10 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/kprepublic/cospad/config.h b/keyboards/kprepublic/cospad/config.h
index 0d2d57cc57..b271703558 100644
--- a/keyboards/kprepublic/cospad/config.h
+++ b/keyboards/kprepublic/cospad/config.h
@@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN F7
-
#define RGB_DI_PIN F6
#ifdef RGB_DI_PIN
#define RGBLED_NUM 4
diff --git a/keyboards/kprepublic/cospad/info.json b/keyboards/kprepublic/cospad/info.json
index e4cf27945f..ccf1ed42b0 100644
--- a/keyboards/kprepublic/cospad/info.json
+++ b/keyboards/kprepublic/cospad/info.json
@@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"backlight": {
+ "pin": "F7",
"on_state": 0
},
"indicators": {
diff --git a/keyboards/kprepublic/jj40/config.h b/keyboards/kprepublic/jj40/config.h
index d466209a75..e7c508a232 100644
--- a/keyboards/kprepublic/jj40/config.h
+++ b/keyboards/kprepublic/jj40/config.h
@@ -21,10 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_LEVELS 12
-#define BACKLIGHT_BREATHING
-
/* RGB underglow */
// NOTE: for PS2AVRGB boards, underglow commands are sent via I2C to 0xB0.
#define RGBLED_NUM 5
diff --git a/keyboards/kprepublic/jj40/info.json b/keyboards/kprepublic/jj40/info.json
index 189ae81ae0..4fb1eb18cc 100644
--- a/keyboards/kprepublic/jj40/info.json
+++ b/keyboards/kprepublic/jj40/info.json
@@ -8,6 +8,11 @@
"pid": "0x0040",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4",
+ "levels": 12,
+ "breathing": true
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"community_layouts": ["ortho_4x12", "planck_mit"],
diff --git a/keyboards/kprepublic/jj4x4/config.h b/keyboards/kprepublic/jj4x4/config.h
index 11b2002003..bb2d842cb8 100644
--- a/keyboards/kprepublic/jj4x4/config.h
+++ b/keyboards/kprepublic/jj4x4/config.h
@@ -24,10 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_LEVELS 12
-#define BACKLIGHT_BREATHING
-
/* RGB underglow */
// NOTE: for PS2AVRGB boards, underglow commands are sent via I2C to 0xB0.
#define RGBLED_NUM 4
diff --git a/keyboards/kprepublic/jj4x4/info.json b/keyboards/kprepublic/jj4x4/info.json
index 4a85eb55f3..734757fa9f 100644
--- a/keyboards/kprepublic/jj4x4/info.json
+++ b/keyboards/kprepublic/jj4x4/info.json
@@ -8,6 +8,11 @@
"pid": "0x0044",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4",
+ "levels": 12,
+ "breathing": true
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"community_layouts": ["ortho_4x4"],
diff --git a/keyboards/kprepublic/jj50/config.h b/keyboards/kprepublic/jj50/config.h
index dd67078d56..ef614b1f69 100644
--- a/keyboards/kprepublic/jj50/config.h
+++ b/keyboards/kprepublic/jj50/config.h
@@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_LEVELS 12
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN E2
#define RGBLED_NUM 12
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/kprepublic/jj50/info.json b/keyboards/kprepublic/jj50/info.json
index 5e95520759..126ba09048 100644
--- a/keyboards/kprepublic/jj50/info.json
+++ b/keyboards/kprepublic/jj50/info.json
@@ -8,6 +8,11 @@
"pid": "0x0050",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4",
+ "levels": 12,
+ "breathing": true
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"layout_aliases": {