bit config tuning

This commit is contained in:
Christoph Cullmann 2023-10-03 19:18:57 +02:00
parent 504f362d96
commit f56f078ba5
3 changed files with 9 additions and 3 deletions

View file

@ -16,6 +16,9 @@
#pragma once
// bit larger debounce delay, the default is 5
#define DEBOUNCE 10
// no more than 8 layers
#define LAYER_STATE_8BIT
@ -30,7 +33,7 @@
// details see https://precondition.github.io/home-row-mods
// the default is 200
#define TAPPING_TERM 175
#define TAPPING_TERM 200
// Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
#define QUICK_TAP_TERM 0

View file

@ -92,8 +92,8 @@ bool achordion_chord(uint16_t tap_hold_keycode,
keyrecord_t* tap_hold_record,
uint16_t other_keycode,
keyrecord_t* other_record) {
// Also allow same-hand holds when the other key is in the rows below the
// alphas. I need the `% (MATRIX_ROWS / 2)` because my keyboard is split.
// allow that bottom row has no delay
if (tap_hold_record->event.key.row % (MATRIX_ROWS / 2) >= 3) { return true; }
if (other_record->event.key.row % (MATRIX_ROWS / 2) >= 3) { return true; }
// Otherwise, follow the opposite hands rule.

View file

@ -10,5 +10,8 @@ SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
# responsive debouncing
DEBOUNCE_TYPE = sym_eager_pk
# add achordion to improve home row modifiers
SRC += /home/cullmann/install/qmk/christoph-cullmann/common/achordion.c