Adding permissive_hold

daktil_thumb_popravljen
Adam Bell 2017-05-31 21:34:34 -04:00
parent 587b0de6e5
commit 4ab61344f5
2 changed files with 2 additions and 1 deletions

View File

@ -40,3 +40,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAPPING_TERM 200 //At 500 some bad logic takes hold #define TAPPING_TERM 200 //At 500 some bad logic takes hold
#define PREVENT_STUCK_MODIFIERS #define PREVENT_STUCK_MODIFIERS
#define IGNORE_MOD_TAP_INTERRUPT #define IGNORE_MOD_TAP_INTERRUPT
#define PERMISSIVE_HOLD

View File

@ -96,7 +96,7 @@ bool process_tapping(keyrecord_t *keyp)
// enqueue // enqueue
return false; return false;
} }
#if TAPPING_TERM >= 500 #if TAPPING_TERM >= 500 || defined PERMISSIVE_HOLD
/* Process a key typed within TAPPING_TERM /* Process a key typed within TAPPING_TERM
* This can register the key before settlement of tapping, * This can register the key before settlement of tapping,
* useful for long TAPPING_TERM but may prevent fast typing. * useful for long TAPPING_TERM but may prevent fast typing.