summaryrefslogtreecommitdiff
path: root/keyboards/hub20
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hub20')
-rw-r--r--keyboards/hub20/config.h3
-rw-r--r--keyboards/hub20/info.json2
-rw-r--r--keyboards/hub20/keymaps/macro/keymap.c6
-rw-r--r--keyboards/hub20/rules.mk6
4 files changed, 5 insertions, 12 deletions
diff --git a/keyboards/hub20/config.h b/keyboards/hub20/config.h
index 8452eab0c9..f538ed721f 100644
--- a/keyboards/hub20/config.h
+++ b/keyboards/hub20/config.h
@@ -93,9 +93,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
-/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCE 5
-
/* Tap delay for tap vs hold */
#define TAPPING_TERM 200
diff --git a/keyboards/hub20/info.json b/keyboards/hub20/info.json
index 3f829a3c7b..a8f678cb24 100644
--- a/keyboards/hub20/info.json
+++ b/keyboards/hub20/info.json
@@ -8,6 +8,8 @@
"pid": "0x4414",
"device_version": "0.0.1"
},
+ "processor": "STM32F072",
+ "bootloader": "stm32-dfu",
"layouts": {
"LAYOUT_all": {
"layout": [
diff --git a/keyboards/hub20/keymaps/macro/keymap.c b/keyboards/hub20/keymaps/macro/keymap.c
index 5fb1891ea7..c9e735d389 100644
--- a/keyboards/hub20/keymaps/macro/keymap.c
+++ b/keyboards/hub20/keymaps/macro/keymap.c
@@ -25,14 +25,14 @@ enum keyboard_layers{
};
// Tap Dance stuff
-void td_ctrl (qk_tap_dance_state_t *state, void *user_data);
+void td_ctrl (tap_dance_state_t *state, void *user_data);
enum tap_dance {
CTRL = 0,
BASE = 1
};
-qk_tap_dance_action_t tap_dance_actions[] = {
+tap_dance_action_t tap_dance_actions[] = {
// Tap once for standard key, twice to toggle layers
[CTRL] = ACTION_TAP_DANCE_FN(td_ctrl),
[BASE] = ACTION_TAP_DANCE_LAYER_MOVE(_______, _BASE)
@@ -110,7 +110,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
// Below works around TD() not running key press through process_record_user
-void td_ctrl (qk_tap_dance_state_t *state, void *user_data) {
+void td_ctrl (tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
register_code(KC_WRAP);
tap_code(KC_D);
diff --git a/keyboards/hub20/rules.mk b/keyboards/hub20/rules.mk
index 96702a3a76..2dd9c5acc6 100644
--- a/keyboards/hub20/rules.mk
+++ b/keyboards/hub20/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = STM32F072
-
-# Bootloader selection
-BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#