slower for slow fingers and meta keys
This commit is contained in:
parent
02790dedf5
commit
d015c366dc
2 changed files with 17 additions and 0 deletions
|
@ -16,6 +16,8 @@
|
||||||
#define CHORDAL_HOLD
|
#define CHORDAL_HOLD
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
|
#define TAPPING_TERM_SLOW 250
|
||||||
|
#define TAPPING_TERM_PER_KEY
|
||||||
|
|
||||||
// no auto repeat stuff
|
// no auto repeat stuff
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
|
|
|
@ -89,6 +89,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
uint16_t get_tapping_term(uint16_t keycode, keyrecord_t* record) {
|
||||||
|
switch (keycode) {
|
||||||
|
// slower for slow fingers and meta keys
|
||||||
|
case CC_N:
|
||||||
|
case CC_S:
|
||||||
|
case CC_E:
|
||||||
|
case CC_I:
|
||||||
|
case CC_M:
|
||||||
|
case CC_Y:
|
||||||
|
return TAPPING_TERM_SLOW;
|
||||||
|
default:
|
||||||
|
return TAPPING_TERM;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#ifndef CC_NO_LED
|
#ifndef CC_NO_LED
|
||||||
|
|
||||||
void keyboard_post_init_user(void) {
|
void keyboard_post_init_user(void) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue