diff options
Diffstat (limited to 'keyboards/kprepublic')
106 files changed, 1241 insertions, 1974 deletions
diff --git a/keyboards/kprepublic/bm16a/v1/info.json b/keyboards/kprepublic/bm16a/v1/info.json index 6c700b37b8..9e99832b3e 100644 --- a/keyboards/kprepublic/bm16a/v1/info.json +++ b/keyboards/kprepublic/bm16a/v1/info.json @@ -31,7 +31,6 @@ "levels": 5 }, "rgblight": { - "pin": "E2", "led_count": 4, "animations": { "breathing": true, @@ -46,6 +45,9 @@ "twinkle": true } }, + "ws2812": { + "pin": "E2" + }, "community_layouts": ["ortho_4x4"], "layouts": { "LAYOUT_ortho_4x4": { diff --git a/keyboards/kprepublic/bm16a/v2/config.h b/keyboards/kprepublic/bm16a/v2/config.h index f4ac9e7a3b..4f8f76b6b8 100644 --- a/keyboards/kprepublic/bm16a/v2/config.h +++ b/keyboards/kprepublic/bm16a/v2/config.h @@ -3,7 +3,6 @@ #pragma once -#define RGB_DI_PIN B9 #define RGB_MATRIX_LED_COUNT 16 #define WS2812_PWM_DRIVER PWMD4 diff --git a/keyboards/kprepublic/bm16a/v2/info.json b/keyboards/kprepublic/bm16a/v2/info.json index 39b7ef6758..60d5034931 100644 --- a/keyboards/kprepublic/bm16a/v2/info.json +++ b/keyboards/kprepublic/bm16a/v2/info.json @@ -13,6 +13,10 @@ "nkro": true, "rgb_matrix": true }, + "ws2812": { + "pin": "B9", + "driver": "pwm" + }, "matrix_pins": { "cols": ["B1", "A3", "B0", "B4"], "rows": ["A8", "A9", "B5", "B3"] diff --git a/keyboards/kprepublic/bm16a/v2/rules.mk b/keyboards/kprepublic/bm16a/v2/rules.mk index c1285e300c..e69de29bb2 100644 --- a/keyboards/kprepublic/bm16a/v2/rules.mk +++ b/keyboards/kprepublic/bm16a/v2/rules.mk @@ -1 +0,0 @@ -WS2812_DRIVER = pwm diff --git a/keyboards/kprepublic/bm16s/bm16s.h b/keyboards/kprepublic/bm16s/bm16s.h deleted file mode 100755 index 9aca8c0e37..0000000000 --- a/keyboards/kprepublic/bm16s/bm16s.h +++ /dev/null @@ -1,15 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT_ortho_4x4( \ - K00, K01, K02, K03, \ - K10, K11, K12, K13, \ - K20, K21, K22, K23, \ - K30, K31, K32, K33 \ -) { \ - { K00, K01, K02, K03 }, \ - { K10, K11, K12, K13 }, \ - { K20, K21, K22, K23 }, \ - { K30, K31, K32, K33 } \ -} diff --git a/keyboards/kprepublic/bm16s/config.h b/keyboards/kprepublic/bm16s/config.h index c84de01fd5..fb73fedb04 100755 --- a/keyboards/kprepublic/bm16s/config.h +++ b/keyboards/kprepublic/bm16s/config.h @@ -1,20 +1,11 @@ #pragma once -/* key matrix pins */ -#define MATRIX_ROW_PINS { D1, D0, D3, D2 } -#define MATRIX_COL_PINS { F7, F6, D4, D6 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - /* 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 RGB_DI_PIN E2 -#ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL @@ -29,4 +20,3 @@ #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 -#endif diff --git a/keyboards/kprepublic/bm16s/info.json b/keyboards/kprepublic/bm16s/info.json index adda71d87b..262ce39fba 100644 --- a/keyboards/kprepublic/bm16s/info.json +++ b/keyboards/kprepublic/bm16s/info.json @@ -8,28 +8,39 @@ "pid": "0x016B", "device_version": "0.0.1" }, + "ws2812": { + "pin": "E2" + }, + "matrix_pins": { + "cols": ["F7", "F6", "D4", "D6"], + "rows": ["D1", "D0", "D3", "D2"] + }, + "diode_direction": "COL2ROW", "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x4"], "layouts": { "LAYOUT_ortho_4x4": { |