aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoromkbd <takuya.electronics@gmail.com>2019-07-12 04:27:13 +0900
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-07-11 12:27:13 -0700
commit2121de919253b52e94e66e3eae6af01c3f56f463 (patch)
tree16dd6e81e167d8ed5379cf31a04bd09bbe515e1f
parent901edea9275b02acd02abb8257b6b33a217fce0c (diff)
downloadfirmware-2121de919253b52e94e66e3eae6af01c3f56f463.tar.gz
firmware-2121de919253b52e94e66e3eae6af01c3f56f463.tar.bz2
firmware-2121de919253b52e94e66e3eae6af01c3f56f463.zip
[Keyboard] [runner3680] Fix the number of keys (#6302)
* Fix the number of keys * add RGBLIGHT_LIMIT_VAL * fix RGBLED_NUM and COLS
-rw-r--r--keyboards/runner3680/3x6/config.h9
-rw-r--r--keyboards/runner3680/3x7/config.h9
-rw-r--r--keyboards/runner3680/3x8/config.h7
-rw-r--r--keyboards/runner3680/4x6/config.h9
-rw-r--r--keyboards/runner3680/4x7/config.h9
-rw-r--r--keyboards/runner3680/4x8/config.h7
-rw-r--r--keyboards/runner3680/5x6/config.h7
-rw-r--r--keyboards/runner3680/5x7/config.h3
-rw-r--r--keyboards/runner3680/5x8/config.h1
-rw-r--r--keyboards/runner3680/rules.mk8
10 files changed, 39 insertions, 30 deletions
diff --git a/keyboards/runner3680/3x6/config.h b/keyboards/runner3680/3x6/config.h
index 0af32f26a..d3f3605f5 100644
--- a/keyboards/runner3680/3x6/config.h
+++ b/keyboards/runner3680/3x6/config.h
@@ -26,8 +26,8 @@
/* key matrix size */
// Rows are doubled-up
-#define MATRIX_ROWS 10
-#define MATRIX_COLS 8
+#define MATRIX_ROWS 6
+#define MATRIX_COLS 6
// wiring of each half
#define MATRIX_ROW_PINS { D4, C6, D7 }
@@ -51,9 +51,10 @@
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
#define RGBLIGHT_ANIMATIONS
-#define RGBLED_NUM 70
+#define RGBLED_NUM 36
#define RGBLIGHT_SPLIT
-#define RGBLED_SPLIT { 35, 35 } // Number of LEDs
+#define RGBLED_SPLIT { 18, 18 } // Number of LEDs
+#define RGBLIGHT_LIMIT_VAL 100
#define SOFT_SERIAL_PIN D2
#define SELECT_SOFT_SERIAL_SPEED 1
diff --git a/keyboards/runner3680/3x7/config.h b/keyboards/runner3680/3x7/config.h
index 4c864f1d0..e0e6ae8e0 100644
--- a/keyboards/runner3680/3x7/config.h
+++ b/keyboards/runner3680/3x7/config.h
@@ -26,8 +26,8 @@
/* key matrix size */
// Rows are doubled-up
-#define MATRIX_ROWS 10
-#define MATRIX_COLS 8
+#define MATRIX_ROWS 6
+#define MATRIX_COLS 7
// wiring of each half
#define MATRIX_ROW_PINS { D4, C6, D7 }
@@ -51,9 +51,10 @@
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
#define RGBLIGHT_ANIMATIONS
-#define RGBLED_NUM 70
+#define RGBLED_NUM 42
#define RGBLIGHT_SPLIT
-#define RGBLED_SPLIT { 35, 35 } // Number of LEDs
+#define RGBLED_SPLIT { 21, 21 } // Number of LEDs
+#define RGBLIGHT_LIMIT_VAL 100
#define SOFT_SERIAL_PIN D2
#define SELECT_SOFT_SERIAL_SPEED 1
diff --git a/keyboards/runner3680/3x8/config.h b/keyboards/runner3680/3x8/config.h
index 696b7f905..0d4e3296a 100644
--- a/keyboards/runner3680/3x8/config.h
+++ b/keyboards/runner3680/3x8/config.h
@@ -26,7 +26,7 @@
/* key matrix size */
// Rows are doubled-up
-#define MATRIX_ROWS 10
+#define MATRIX_ROWS 6
#define MATRIX_COLS 8
// wiring of each half
@@ -51,9 +51,10 @@
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
#define RGBLIGHT_ANIMATIONS
-#define RGBLED_NUM 80
+#define RGBLED_NUM 48
#define RGBLIGHT_SPLIT
-#define RGBLED_SPLIT { 40, 40 } // Number of LEDs
+#define RGBLED_SPLIT { 24, 24 } // Number of LEDs
+#define RGBLIGHT_LIMIT_VAL 100
#define SOFT_SERIAL_PIN D2
#define SELECT_SOFT_SERIAL_SPEED 1
diff --git a/keyboards/runner3680/4x6/config.h b/keyboards/runner3680/4x6/config.h
index 1e3af6b52..08838d1b6 100644
--- a/keyboards/runner3680/4x6/config.h
+++ b/keyboards/runner3680/4x6/config.h
@@ -26,8 +26,8 @@
/* key matrix size */
// Rows are doubled-up
-#define MATRIX_ROWS 10
-#define MATRIX_COLS 8
+#define MATRIX_ROWS 8
+#define MATRIX_COLS 6
// wiring of each half
#define MATRIX_ROW_PINS { D4, C6, D7, E6 }
@@ -51,9 +51,10 @@
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
#define RGBLIGHT_ANIMATIONS
-#define RGBLED_NUM 70
+#define RGBLED_NUM 48
#define RGBLIGHT_SPLIT
-#define RGBLED_SPLIT { 35, 35 } // Number of LEDs
+#define RGBLED_SPLIT { 24, 24 } // Number of LEDs
+#define RGBLIGHT_LIMIT_VAL 100
#define SOFT_SERIAL_PIN D2
#define SELECT_SOFT_SERIAL_SPEED 1
diff --git a/keyboards/runner3680/4x7/config.h b/keyboards/runner3680/4x7/config.h
index c9a744d07..f33f8f9f2 100644
--- a/keyboards/runner3680/4x7/config.h
+++ b/keyboards/runner3680/4x7/config.h
@@ -26,8 +26,8 @@
/* key matrix size */
// Rows are doubled-up
-#define MATRIX_ROWS 10
-#define MATRIX_COLS 8
+#define MATRIX_ROWS 8
+#define MATRIX_COLS 7
// wiring of each half
#define MATRIX_ROW_PINS { D4, C6, D7, E6 }
@@ -51,9 +51,10 @@
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
#define RGBLIGHT_ANIMATIONS
-#define RGBLED_NUM 70
+#define RGBLED_NUM 56
#define RGBLIGHT_SPLIT
-#define RGBLED_SPLIT { 35, 35 } // Number of LEDs
+#define RGBLED_SPLIT { 28, 28 } // Number of LEDs
+#define RGBLIGHT_LIMIT_VAL 100
#define SOFT_SERIAL_PIN D2
#define SELECT_SOFT_SERIAL_SPEED 1
diff --git a/keyboards/runner3680/4x8/config.h b/keyboards/runner3680/4x8/config.h
index 55626b6bc..d85ebb29c 100644
--- a/keyboards/runner3680/4x8/config.h
+++ b/keyboards/runner3680/4x8/config.h
@@ -26,7 +26,7 @@
/* key matrix size */
// Rows are doubled-up
-#define MATRIX_ROWS 10
+#define MATRIX_ROWS 8
#define MATRIX_COLS 8
// wiring of each half
@@ -51,9 +51,10 @@
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
#define RGBLIGHT_ANIMATIONS
-#define RGBLED_NUM 80
+#define RGBLED_NUM 64
#define RGBLIGHT_SPLIT
-#define RGBLED_SPLIT { 40, 40 } // Number of LEDs
+#define RGBLED_SPLIT { 32, 32 } // Number of LEDs
+#define RGBLIGHT_LIMIT_VAL 100
#define SOFT_SERIAL_PIN D2
#define SELECT_SOFT_SERIAL_SPEED 1
diff --git a/keyboards/runner3680/5x6/config.h b/keyboards/runner3680/5x6/config.h
index e7956555f..ae3853a8e 100644
--- a/keyboards/runner3680/5x6/config.h
+++ b/keyboards/runner3680/5x6/config.h
@@ -27,7 +27,7 @@
/* key matrix size */
// Rows are doubled-up
#define MATRIX_ROWS 10
-#define MATRIX_COLS 8
+#define MATRIX_COLS 6
// wiring of each half
#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 }
@@ -51,9 +51,10 @@
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
#define RGBLIGHT_ANIMATIONS
-#define RGBLED_NUM 70
+#define RGBLED_NUM 60
#define RGBLIGHT_SPLIT
-#define RGBLED_SPLIT { 35, 35 } // Number of LEDs
+#define RGBLED_SPLIT { 30, 30 } // Number of LEDs
+#define RGBLIGHT_LIMIT_VAL 100
#define SOFT_SERIAL_PIN D2
#define SELECT_SOFT_SERIAL_SPEED 1
diff --git a/keyboards/runner3680/5x7/config.h b/keyboards/runner3680/5x7/config.h
index ba5763a8a..1d56608e6 100644
--- a/keyboards/runner3680/5x7/config.h
+++ b/keyboards/runner3680/5x7/config.h
@@ -27,7 +27,7 @@
/* key matrix size */
// Rows are doubled-up
#define MATRIX_ROWS 10
-#define MATRIX_COLS 8
+#define MATRIX_COLS 7
// wiring of each half
#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 }
@@ -54,6 +54,7 @@
#define RGBLED_NUM 70
#define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 35, 35 } // Number of LEDs
+#define RGBLIGHT_LIMIT_VAL 100
#define SOFT_SERIAL_PIN D2
#define SELECT_SOFT_SERIAL_SPEED 1
diff --git a/keyboards/runner3680/5x8/config.h b/keyboards/runner3680/5x8/config.h
index 5c3066bf7..5349fa06a 100644
--- a/keyboards/runner3680/5x8/config.h
+++ b/keyboards/runner3680/5x8/config.h
@@ -54,6 +54,7 @@
#define RGBLED_NUM 80
#define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 40, 40 } // Number of LEDs
+#define RGBLIGHT_LIMIT_VAL 100
#define SOFT_SERIAL_PIN D2
#define SELECT_SOFT_SERIAL_SPEED 1
diff --git a/keyboards/runner3680/rules.mk b/keyboards/runner3680/rules.mk
index 1342a9f59..624dd2e50 100644
--- a/keyboards/runner3680/rules.mk
+++ b/keyboards/runner3680/rules.mk
@@ -38,10 +38,10 @@ BOOTLOADER = caterina
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
-MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
-EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
-CONSOLE_ENABLE = yes # Console for debug(+400)
-COMMAND_ENABLE = yes # Commands for debug and configuration
+MOUSEKEY_ENABLE = no # Mouse keys(+4700)
+EXTRAKEY_ENABLE = no # Audio control and System control(+450)
+CONSOLE_ENABLE = no # Console for debug(+400)
+COMMAND_ENABLE = no # Commands for debug and configuration
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work