summaryrefslogtreecommitdiff
path: root/keyboards/playkbtw
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-11-11 08:57:44 -0800
committerGitHub <noreply@github.com>2021-11-11 08:57:44 -0800
commit7d1c33afe6c986201b0eddc1d5055b4f3a58ae50 (patch)
tree6f6f6854c32204f385e510410b61e5ec7c945be7 /keyboards/playkbtw
parent6ab68e931824cbac27da17e16758b470294c129b (diff)
downloadqmk_firmware-7d1c33afe6c986201b0eddc1d5055b4f3a58ae50.tar.gz
qmk_firmware-7d1c33afe6c986201b0eddc1d5055b4f3a58ae50.zip
[Keyboard] Reduce compiled size for pk64rgb's via keymap (#15118)
Diffstat (limited to 'keyboards/playkbtw')
-rw-r--r--keyboards/playkbtw/pk64rgb/config.h12
-rw-r--r--keyboards/playkbtw/pk64rgb/info.json28
-rw-r--r--keyboards/playkbtw/pk64rgb/keymaps/via/rules.mk4
3 files changed, 22 insertions, 22 deletions
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