Skip to content

Commit

Permalink
fix: Combo not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Soryyyn committed Jan 6, 2024
1 parent a84a4a1 commit 3663920
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 32 deletions.
20 changes: 10 additions & 10 deletions keyboards/planck/rev7/keymaps/soryn/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H
#include "os_detection.h"
#include "tap_dance.c"

enum layers {
_BASE,
Expand All @@ -22,15 +21,6 @@ enum layers {
#define SP_0SYM LT(_SYMBOLS, KC_0) // Symbol layer on hold / 0 on press.
#define SP_HYES MT(MOD_HYPR, KC_ESC) // Hyper on escape hold / normal escape on press (Hyper = CTRL & Shift & Alt & GUI)

//
// Combos
const uint16_t PROGMEM delete_combo[] = {KC_P, KC_BSPC, COMBO_END};
combo_t key_combos[] = {
//
// Send `DELETE` when `BACKSPACE` & `P`.
COMBO(delete_combo, KC_DEL),
};

/* clang-format off */
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

Expand Down Expand Up @@ -126,6 +116,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

};
/* clang-format on */
//
//
// Combos
const uint16_t PROGMEM delete_combo[] = {KC_P, KC_BSPC, COMBO_END};
combo_t key_combos[] = {
//
// Send `DELETE` when `BACKSPACE` & `P`.
COMBO(delete_combo, KC_DEL),
};


//
// Import QMK functions.
Expand Down
1 change: 0 additions & 1 deletion keyboards/planck/rev7/keymaps/soryn/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
DEFERRED_EXEC_ENABLE = yes
MOUSEKEY_ENABLE = yes
OS_DETECTION_ENABLE = yes
TAP_DANCE_ENABLE = yes
COMBO_ENABLE = yes
21 changes: 0 additions & 21 deletions keyboards/planck/rev7/keymaps/soryn/tap_dance.c

This file was deleted.

0 comments on commit 3663920

Please sign in to comment.