aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chak/keymap/config.h2
-rw-r--r--chak/keymap/keymap.c9
2 files changed, 10 insertions, 1 deletions
diff --git a/chak/keymap/config.h b/chak/keymap/config.h
index 04113e8..0878204 100644
--- a/chak/keymap/config.h
+++ b/chak/keymap/config.h
@@ -32,7 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define TAPPING_TERM 100
// https://github.com/qmk/qmk_firmware/blob/master/docs/tap_hold.md
-#define RETRO_TAPPING
+#define RETRO_TAPPING_PER_KEY
#define PERMISSIVE_HOLD
#define TAPPING_TERM 550
diff --git a/chak/keymap/keymap.c b/chak/keymap/keymap.c
index fe0fe9f..b8bb065 100644
--- a/chak/keymap/keymap.c
+++ b/chak/keymap/keymap.c
@@ -76,6 +76,15 @@ const key_override_t **key_overrides = (const key_override_t *[]){
NULL // Null terminate the array of overrides!
};
+bool get_retro_tapping(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case ENT_ARR:
+ return false;
+ default:
+ return true;
+ }
+}
+
/* Layer definitions */
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {