tune timings a bit
This commit is contained in:
parent
db784cc076
commit
c145d24d5b
|
@ -37,7 +37,7 @@
|
||||||
// details see https://precondition.github.io/home-row-mods
|
// details see https://precondition.github.io/home-row-mods
|
||||||
|
|
||||||
// the default of 200
|
// the default of 200
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 180
|
||||||
|
|
||||||
// Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
|
// Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
|
|
|
@ -80,7 +80,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
// see https://getreuer.info/posts/keyboards/achordion/index.html
|
// see https://getreuer.info/posts/keyboards/achordion/index.html
|
||||||
|
|
||||||
#include "achordion.h"
|
#include "achordion.h"
|
||||||
#include "achordion.c"
|
|
||||||
|
// By default, the timeout is 1000 ms for all keys.
|
||||||
|
uint16_t achordion_timeout(uint16_t tap_hold_keycode) {
|
||||||
|
return 500;
|
||||||
|
}
|
||||||
|
|
||||||
bool process_record_user(uint16_t keycode, keyrecord_t* record) {
|
bool process_record_user(uint16_t keycode, keyrecord_t* record) {
|
||||||
if (!process_achordion(keycode, record)) { return false; }
|
if (!process_achordion(keycode, record)) { return false; }
|
||||||
|
|
|
@ -12,6 +12,9 @@ NKRO_ENABLE = yes
|
||||||
# sym_eager_pk does do some key chatter
|
# sym_eager_pk does do some key chatter
|
||||||
DEBOUNCE_TYPE = asym_eager_defer_pk
|
DEBOUNCE_TYPE = asym_eager_defer_pk
|
||||||
|
|
||||||
|
# achordion
|
||||||
|
SRC += achordion.c
|
||||||
|
|
||||||
# build
|
# build
|
||||||
# qmk compile -kb ferris/sweep -km christoph-cullmann
|
# qmk compile -kb ferris/sweep -km christoph-cullmann
|
||||||
# qmk flash -kb ferris/sweep -km christoph-cullmann
|
# qmk flash -kb ferris/sweep -km christoph-cullmann
|
||||||
|
|
Loading…
Reference in a new issue