Fix Tap-Hold Configs (#11127)
* Add proper prototypes for Tap-Hold Per Key functions * Fix handwired/tennie default keymap * Remove unneeded references * Fix tapping term per key check in space cadet * Pre-emptive fix for tap dance * Fix marksard/leftover30 * Replace hard coded tapping term with define
This commit is contained in:
@@ -17,3 +17,4 @@
|
||||
#pragma once
|
||||
|
||||
// place overrides here
|
||||
#define TAPPING_TOGGLE 2
|
||||
|
||||
@@ -15,9 +15,6 @@
|
||||
*/
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
#define TAPPING_TOGGLE 2
|
||||
|
||||
|
||||
// Layer names
|
||||
#define base 0
|
||||
#define shrek 1
|
||||
|
||||
@@ -99,7 +99,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
)
|
||||
};
|
||||
|
||||
uint16_t get_tapping_term(uint16_t keycode) {
|
||||
uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case KC_SPRA:
|
||||
return TAPPING_LAYER_TERM;
|
||||
|
||||
Reference in New Issue
Block a user