diff options
Diffstat (limited to 'keyboards/novelkeys/nk87b')
-rw-r--r-- | keyboards/novelkeys/nk87b/config.h | 8 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk87b/info.json | 12 | ||||
-rw-r--r-- | keyboards/novelkeys/nk87b/rules.mk | 2 |
3 files changed, 12 insertions, 10 deletions
diff --git a/keyboards/novelkeys/nk87b/config.h b/keyboards/novelkeys/nk87b/config.h index ce7c5feded..49d3104c45 100644 --- a/keyboards/novelkeys/nk87b/config.h +++ b/keyboards/novelkeys/nk87b/config.h @@ -17,16 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -#define MATRIX_ROW_PINS { B11, B10, B2, B1, A9, A5 } -#define MATRIX_COL_PINS { B12, B13, B14, B15, A8, A10, A14, A15, B3, B4, B5, B6, B7, B8, B9, A0, A1 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - /* RGB options */ -#define RGB_DI_PIN B0 #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 diff --git a/keyboards/novelkeys/nk87b/info.json b/keyboards/novelkeys/nk87b/info.json index 6bcc03d93b..02abc5e142 100755 --- a/keyboards/novelkeys/nk87b/info.json +++ b/keyboards/novelkeys/nk87b/info.json @@ -8,6 +8,18 @@ "pid": "0x4E50", "device_version": "0.0.1" }, + "ws2812": { + "pin": "B0", + "driver": "pwm" + }, + "rgb_matrix": { + "driver": "WS2812" + }, + "matrix_pins": { + "cols": ["B12", "B13", "B14", "B15", "A8", "A10", "A14", "A15", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "A0", "A1"], + "rows": ["B11", "B10", "B2", "B1", "A9", "A5"] + }, + "diode_direction": "COL2ROW", "indicators": { "caps_lock": "A2", "on_state": 0 diff --git a/keyboards/novelkeys/nk87b/rules.mk b/keyboards/novelkeys/nk87b/rules.mk index 96367c6a4c..131bc94a44 100644 --- a/keyboards/novelkeys/nk87b/rules.mk +++ b/keyboards/novelkeys/nk87b/rules.mk @@ -19,5 +19,3 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output RGB_MATRIX_ENABLE = yes # Enable Per-key RGB -RGB_MATRIX_DRIVER = WS2812 # Per-key RGB Drive -WS2812_DRIVER = pwm # Per-key RGB MCU Driver |