From 7d1c33afe6c986201b0eddc1d5055b4f3a58ae50 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Thu, 11 Nov 2021 08:57:44 -0800 Subject: [Keyboard] Reduce compiled size for pk64rgb's via keymap (#15118) --- keyboards/playkbtw/pk64rgb/config.h | 12 +++++------ keyboards/playkbtw/pk64rgb/info.json | 28 ++++++++++++------------- keyboards/playkbtw/pk64rgb/keymaps/via/rules.mk | 4 ++-- 3 files changed, 22 insertions(+), 22 deletions(-) (limited to 'keyboards/playkbtw/pk64rgb') diff --git a/keyboards/playkbtw/pk64rgb/config.h b/keyboards/playkbtw/pk64rgb/config.h index 302929ae97..0e63f9204d 100644 --- a/keyboards/playkbtw/pk64rgb/config.h +++ b/keyboards/playkbtw/pk64rgb/config.h @@ -55,12 +55,12 @@ #define DRIVER_ADDR_1 0b1010000 #define DRIVER_COUNT 1 #define DRIVER_LED_TOTAL 64 - -#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE -#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS -#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS -#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS + +#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE +#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS +#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS +#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS #define DISABLE_RGB_MATRIX_BAND_SAT #define DISABLE_RGB_MATRIX_BAND_VAL #define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT @@ -78,7 +78,7 @@ # define RGBLIGHT_EFFECT_KNIGHT # define RGBLIGHT_EFFECT_CHRISTMAS # define RGBLIGHT_EFFECT_STATIC_GRADIENT -# define RGBLIGHT_EFFECT_ALTERNATING +// # define RGBLIGHT_EFFECT_ALTERNATING # define RGBLIGHT_EFFECT_TWINKLE # define RGBLED_NUM 18 # define RGBLIGHT_HUE_STEP 5 diff --git a/keyboards/playkbtw/pk64rgb/info.json b/keyboards/playkbtw/pk64rgb/info.json index 736560e063..bc973f1b4c 100644 --- a/keyboards/playkbtw/pk64rgb/info.json +++ b/keyboards/playkbtw/pk64rgb/info.json @@ -1,10 +1,10 @@ { - "keyboard_name": "PK64RGB", - "url": "", - "maintainer": "yj7272098", - "layouts": { - "LAYOUT_64_ansi": - [ + "keyboard_name": "PK64RGB", + "url": "", + "maintainer": "yj7272098", + "layouts": { + "LAYOUT_64_ansi": { + "layout": [ {"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, @@ -19,7 +19,7 @@ {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0, "w":2}, - + {"x":0, "y":1, "w":1.5}, {"x":1.5, "y":1}, @@ -35,7 +35,7 @@ {"x":11.5, "y":1}, {"x":12.5, "y":1}, {"x":13.5, "y":1, "w":1.5}, - + {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, @@ -50,7 +50,7 @@ {"x":10.75, "y":2}, {"x":11.75, "y":2}, {"x":12.75, "y":2, "w":2.25}, - + {"x":0, "y":3, "w":2}, {"x":2, "y":3}, @@ -66,7 +66,7 @@ {"x":12, "y":3}, {"x":13, "y":3}, {"x":14, "y":3}, - + {"x":0, "y":4, "w":1.25}, {"x":1.25, "y":4, "w":1.25}, @@ -76,8 +76,8 @@ {"x":11, "y":4}, {"x":12, "y":4}, {"x":13, "y":4}, - {"x":14, "y":4}, - -] + {"x":14, "y":4} + ] + } + } } -} \ No newline at end of file diff --git a/keyboards/playkbtw/pk64rgb/keymaps/via/rules.mk b/keyboards/playkbtw/pk64rgb/keymaps/via/rules.mk index 7f1f849dce..f39e053c66 100644 --- a/keyboards/playkbtw/pk64rgb/keymaps/via/rules.mk +++ b/keyboards/playkbtw/pk64rgb/keymaps/via/rules.mk @@ -1,2 +1,2 @@ -LTO_ENABLE = yes -VIA_ENABLE = yes \ No newline at end of file +VIA_ENABLE = yes +SPACE_CADET_ENABLE = no -- cgit v1.2.3