diff options
author | Christoph Cullmann <cullmann@kde.org> | 2023-10-13 23:30:28 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2023-10-13 23:30:28 +0200 |
commit | c7527948f334f09f6643af6877af89f35d712134 (patch) | |
tree | 1eec2e2a538f3d1a253ae4117996b9546b1986f1 /common | |
parent | c7f035fbfecc622fa1e2bea9bab8fdc6145be1f6 (diff) |
Revert "try to improve the thumb keys"
This reverts commit c7f035fbfecc622fa1e2bea9bab8fdc6145be1f6.
too many false positiver of holds
Diffstat (limited to 'common')
-rw-r--r-- | common/config.h | 3 | ||||
-rw-r--r-- | common/keymap.h | 14 |
2 files changed, 0 insertions, 17 deletions
diff --git a/common/config.h b/common/config.h index 02a7f4a..a3bf4e5 100644 --- a/common/config.h +++ b/common/config.h @@ -46,9 +46,6 @@ // use permissive hold together with achordion #define PERMISSIVE_HOLD -// special handle thumb keys -#define HOLD_ON_OTHER_KEY_PRESS_PER_KEY - // delay hold/release to not mess up software #define TAP_CODE_DELAY 10 diff --git a/common/keymap.h b/common/keymap.h index 28842a7..0fd14dc 100644 --- a/common/keymap.h +++ b/common/keymap.h @@ -71,20 +71,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; -bool get_hold_on_other_key_press(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case LT(_SYM, KC_SCLN): - case LT(_NUM, KC_SPC): - case LT(_NAV, KC_E): - case LT(_FN, KC_MINS): - // Immediately select the hold action when another key is pressed. - return true; - default: - // Do not select the hold action when another key is pressed. - return false; - } -} - #include "achordion.h" bool process_record_user(uint16_t keycode, keyrecord_t* record) { |