summaryrefslogtreecommitdiff
path: root/keyboards/hub20
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hub20')
-rw-r--r--keyboards/hub20/config.h9
-rw-r--r--keyboards/hub20/info.json6
-rw-r--r--keyboards/hub20/rules.mk2
3 files changed, 6 insertions, 11 deletions
diff --git a/keyboards/hub20/config.h b/keyboards/hub20/config.h
index 5fc99ecbf5..a72b1389ad 100644
--- a/keyboards/hub20/config.h
+++ b/keyboards/hub20/config.h
@@ -18,10 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define RGBLED_NUM 27
-
#define RGB_MATRIX_LED_COUNT 27
- #define RGBLED_NUM 27
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
@@ -75,12 +72,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define ENABLE_RGB_MATRIX_SOLID_SPLASH
// #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
-/* Tap delay for tap vs hold */
-#define TAPPING_TERM 200
-
-/* Slow down key press speed to ensure computer picks it up */
-#define TAP_CODE_DELAY 10
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
diff --git a/keyboards/hub20/info.json b/keyboards/hub20/info.json
index 994b9405d9..3b9cec99c2 100644
--- a/keyboards/hub20/info.json
+++ b/keyboards/hub20/info.json
@@ -22,6 +22,12 @@
{"pin_a": "A8", "pin_b": "A9"}
]
},
+ "qmk": {
+ "tap_keycode_delay": 10
+ },
+ "rgblight": {
+ "led_count": 27
+ },
"ws2812": {
"pin": "B15"
},
diff --git a/keyboards/hub20/rules.mk b/keyboards/hub20/rules.mk
index 081ea9225a..f559246b9e 100644
--- a/keyboards/hub20/rules.mk
+++ b/keyboards/hub20/rules.mk
@@ -13,5 +13,3 @@ AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
ENCODER_ENABLE = yes
-# Enter lower-power sleep mode when on the ChibiOS idle thread
-OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE