summaryrefslogtreecommitdiffstats
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/keymaps/macro/keymap.c6
2 files changed, 3 insertions, 6 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/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);