Make IGNORE_MOD_TAP_INTERRUPT the default behaviour for mod-taps (#20211)
This commit is contained in:
parent
47a51fda5d
commit
1899793f27
|
@ -133,7 +133,7 @@
|
||||||
"QMK_KEYS_PER_SCAN": {"info_key": "qmk.keys_per_scan", "value_type": "int", "deprecated": true},
|
"QMK_KEYS_PER_SCAN": {"info_key": "qmk.keys_per_scan", "value_type": "int", "deprecated": true},
|
||||||
"TAPPING_FORCE_HOLD": {"info_key": "tapping.force_hold", "value_type": "bool", "deprecated": true},
|
"TAPPING_FORCE_HOLD": {"info_key": "tapping.force_hold", "value_type": "bool", "deprecated": true},
|
||||||
"TAPPING_FORCE_HOLD_PER_KEY": {"info_key": "tapping.force_hold_per_key", "value_type": "bool", "deprecated": true},
|
"TAPPING_FORCE_HOLD_PER_KEY": {"info_key": "tapping.force_hold_per_key", "value_type": "bool", "deprecated": true},
|
||||||
"IGNORE_MOD_TAP_INTERRUPT": {"info_key": "_deprecated.ignore_mod_tap_interrupt", "value_type": "bool", "deprecated": true},
|
"IGNORE_MOD_TAP_INTERRUPT": {"info_key": "_invalid.ignore_mod_tap_interrupt", "value_type": "bool", "invalid": true},
|
||||||
"IGNORE_MOD_TAP_INTERRUPT_PER_KEY": {"info_key": "_invalid.ignore_mod_tap_interrupt_per_key", "invalid": true}
|
"IGNORE_MOD_TAP_INTERRUPT_PER_KEY": {"info_key": "_invalid.ignore_mod_tap_interrupt_per_key", "invalid": true}
|
||||||
|
|
||||||
// USB params, need to mark as failure when specified in config.h, rather than deprecated
|
// USB params, need to mark as failure when specified in config.h, rather than deprecated
|
||||||
|
|
|
@ -150,7 +150,7 @@ If you define these options you will enable the associated feature, which may in
|
||||||
* `#define TAPPING_TERM_PER_KEY`
|
* `#define TAPPING_TERM_PER_KEY`
|
||||||
* enables handling for per key `TAPPING_TERM` settings
|
* enables handling for per key `TAPPING_TERM` settings
|
||||||
* `#define RETRO_TAPPING`
|
* `#define RETRO_TAPPING`
|
||||||
* tap anyway, even after TAPPING_TERM, if there was no other key interruption between press and release
|
* tap anyway, even after `TAPPING_TERM`, if there was no other key interruption between press and release
|
||||||
* See [Retro Tapping](tap_hold.md#retro-tapping) for details
|
* See [Retro Tapping](tap_hold.md#retro-tapping) for details
|
||||||
* `#define RETRO_TAPPING_PER_KEY`
|
* `#define RETRO_TAPPING_PER_KEY`
|
||||||
* enables handling for per key `RETRO_TAPPING` settings
|
* enables handling for per key `RETRO_TAPPING` settings
|
||||||
|
@ -161,9 +161,6 @@ If you define these options you will enable the associated feature, which may in
|
||||||
* See [Permissive Hold](tap_hold.md#permissive-hold) for details
|
* See [Permissive Hold](tap_hold.md#permissive-hold) for details
|
||||||
* `#define PERMISSIVE_HOLD_PER_KEY`
|
* `#define PERMISSIVE_HOLD_PER_KEY`
|
||||||
* enabled handling for per key `PERMISSIVE_HOLD` settings
|
* enabled handling for per key `PERMISSIVE_HOLD` settings
|
||||||
* `#define IGNORE_MOD_TAP_INTERRUPT`
|
|
||||||
* makes it possible to do rolling combos (zx) with keys that convert to other keys on hold, by enforcing the `TAPPING_TERM` for both keys.
|
|
||||||
* See [Ignore Mod Tap Interrupt](tap_hold.md#ignore-mod-tap-interrupt) for details
|
|
||||||
* `#define QUICK_TAP_TERM 100`
|
* `#define QUICK_TAP_TERM 100`
|
||||||
* tap-then-hold timing to use a dual role key to repeat keycode
|
* tap-then-hold timing to use a dual role key to repeat keycode
|
||||||
* See [Quick Tap Term](tap_hold.md#quick-tap-term)
|
* See [Quick Tap Term](tap_hold.md#quick-tap-term)
|
||||||
|
|
|
@ -159,9 +159,6 @@ QMK での全ての利用可能な設定にはデフォルトがあります。
|
||||||
* 詳細は [Permissive Hold](ja/tap_hold.md#permissive-hold) を見てください
|
* 詳細は [Permissive Hold](ja/tap_hold.md#permissive-hold) を見てください
|
||||||
* `#define PERMISSIVE_HOLD_PER_KEY`
|
* `#define PERMISSIVE_HOLD_PER_KEY`
|
||||||
* キーごとの `PERMISSIVE_HOLD` 設定の処理を有効にします
|
* キーごとの `PERMISSIVE_HOLD` 設定の処理を有効にします
|
||||||
* `#define IGNORE_MOD_TAP_INTERRUPT`
|
|
||||||
* 両方のキーに `TAPPING_TERM` を適用することで、ホールド時に他のキーに変換するキーを使ってローリングコンボ (zx) をすることができるようにします
|
|
||||||
* 詳細は [Ignore Mod Tap Interrupt](ja/tap_hold.md#ignore-mod-tap-interrupt) を見てください
|
|
||||||
* `#define TAPPING_FORCE_HOLD`
|
* `#define TAPPING_FORCE_HOLD`
|
||||||
* タップされた直後に、デュアルロールキーを修飾子として使用できるようにします
|
* タップされた直後に、デュアルロールキーを修飾子として使用できるようにします
|
||||||
* [Tapping Force Hold](ja/tap_hold.md#tapping-force-hold)を見てください
|
* [Tapping Force Hold](ja/tap_hold.md#tapping-force-hold)を見てください
|
||||||
|
|
|
@ -63,8 +63,6 @@ uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
|
||||||
|
|
||||||
通常、これら全てを `TAPPING_TERM` (デフォルト: 200ms) 内で行うと、ファームウェアとホストシステムによって `ax` として登録されます。許容ホールドを有効にすると、別のキーがタップされた場合にモッドタップキーを修飾キーと見なすように処理を変更し、 `X` (`SHIFT`+`x`) と登録されます。
|
通常、これら全てを `TAPPING_TERM` (デフォルト: 200ms) 内で行うと、ファームウェアとホストシステムによって `ax` として登録されます。許容ホールドを有効にすると、別のキーがタップされた場合にモッドタップキーを修飾キーと見なすように処理を変更し、 `X` (`SHIFT`+`x`) と登録されます。
|
||||||
|
|
||||||
?> `モッドタップ割り込みの無視`を有効にしている場合、これにより両方の動きが変更されます。通常のキーには、最初のキーが最初に放された場合、あるいは両方のキーが `TAPPING_TERM` より長くホールドされた場合に、修飾キーが追加されます。
|
|
||||||
|
|
||||||
この機能をより細かく制御するために、以下を `config.h` に追加することができます:
|
この機能をより細かく制御するために、以下を `config.h` に追加することができます:
|
||||||
|
|
||||||
```c
|
```c
|
||||||
|
@ -84,32 +82,6 @@ bool get_permissive_hold(uint16_t keycode, keyrecord_t *record) {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## モッドタップ割り込みの無視
|
|
||||||
|
|
||||||
この設定を有効にするには、これを `config.h` に追加してください:
|
|
||||||
|
|
||||||
```c
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
```
|
|
||||||
|
|
||||||
許容ホールドと同様に、これは高速なタイピストのためのファームウェアの処理方法を変更します。モッドタップキーを押し、他のキーを押し、モッドタップキーを放し、通常のキーを放すと、`TAPPING_TERM` 内で押された場合でも、通常はモッドと通常のキーが出力されます。これは、ローリングコンボキーや、頻繁に使用するキー(例えば、`RCTL_T(KC_QUOT)`)にモッドタップを使う高速なタイピストには望ましくない場合があります。
|
|
||||||
|
|
||||||
`モッドタップ割り込みの無視`を設定するには、両方のキーを `TAPPING_TERM` の間ホールドすると、(その修飾キーの)ホールド機能を実行する必要があります。
|
|
||||||
|
|
||||||
例えば:
|
|
||||||
|
|
||||||
- `SFT_T(KC_A)` を押す
|
|
||||||
- `KC_X` を押す
|
|
||||||
- `SFT_T(KC_A)` を放す
|
|
||||||
- `KC_X` を放す
|
|
||||||
|
|
||||||
通常、これは大文字の `X` (`SHIFT`+`x`)、またはモッド + キーを送信します。`モッドタップ割り込みの無視` を有効にすると、ホールドアクションを登録するには、両方のキーを `TAPPING_TERM` の間ホールドする必要があります。この場合、素早いタップは `ax` を送信しますが、両方をホールドすると、大文字の `X` (`SHIFT`+`x`) を出力します。
|
|
||||||
|
|
||||||
|
|
||||||
?> __注意__: これはモディファイアにのみ関係し、レイヤー切り替えキーには関係しません。
|
|
||||||
|
|
||||||
?> `許容ホールド`を有効にすると、これは両方がどのように動作するかを変更します。通常のキーには、最初のキーが最初に放された場合、あるいは両方のキーが `TAPPING_TERM` より長くホールドされた場合に、修飾キーが追加されます。
|
|
||||||
|
|
||||||
## タッピング強制ホールド
|
## タッピング強制ホールド
|
||||||
|
|
||||||
`タッピング強制ホールド` を有効にするには、以下を `config.h` に追加します:
|
`タッピング強制ホールド` を有効にするには、以下を `config.h` に追加します:
|
||||||
|
|
|
@ -111,8 +111,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Enabling `IGNORE_MOD_TAP_INTERRUPT` is recommended when using Mod-Tap on alphanumeric keys to avoid hold function taking precendence when the next key is pressed quickly. See [Ignore Mod Tap Interrupt](tap_hold.md#ignore-mod-tap-interrupt) for more details.
|
|
||||||
|
|
||||||
### Changing both tap and hold
|
### Changing both tap and hold
|
||||||
|
|
||||||
This last example implements custom tap and hold function with `LT(0,KC_NO)` to create a single copy-on-tap, paste-on-hold key:
|
This last example implements custom tap and hold function with `LT(0,KC_NO)` to create a single copy-on-tap, paste-on-hold key:
|
||||||
|
|
|
@ -130,20 +130,18 @@ Note that until the tap-or-hold decision completes (which happens when either th
|
||||||
|
|
||||||
To better illustrate the tap-or-hold decision modes, let us compare the expected output of each decision mode in a handful of tapping scenarios involving a mod-tap key (`LSFT_T(KC_A)`) and a regular key (`KC_B`) with the `TAPPING_TERM` set to 200ms.
|
To better illustrate the tap-or-hold decision modes, let us compare the expected output of each decision mode in a handful of tapping scenarios involving a mod-tap key (`LSFT_T(KC_A)`) and a regular key (`KC_B`) with the `TAPPING_TERM` set to 200ms.
|
||||||
|
|
||||||
By default, mod-taps behave like `HOLD_ON_OTHER_KEY_PRESS`, while layer-taps behave like "Ignore Interrupt" out of the box. If you want "Ignore Interrupt"-like behaviour for mod-taps, you must enable `IGNORE_MOD_TAP_INTERRUPT`, or return `false` in the `get_hold_on_other_key_press` function for all mod-taps.
|
|
||||||
|
|
||||||
Note: "`kc` held" in the "Physical key event" column means that the key wasn't physically released yet at this point in time.
|
Note: "`kc` held" in the "Physical key event" column means that the key wasn't physically released yet at this point in time.
|
||||||
|
|
||||||
#### Distinct taps (AABB) :id=distinct-taps
|
#### Distinct taps (AABB) :id=distinct-taps
|
||||||
|
|
||||||
| Time | Physical key event |Ignore Interrupt| `PERMISSIVE_HOLD` | `HOLD_ON_OTHER_KEY_PRESS` |
|
| Time | Physical key event | Default | `PERMISSIVE_HOLD` | `HOLD_ON_OTHER_KEY_PRESS` |
|
||||||
|------|--------------------|----------------|-------------------|----------------------------|
|
|------|--------------------|----------------|-------------------|----------------------------|
|
||||||
| 0 | `LSFT_T(KC_A)` down| | | |
|
| 0 | `LSFT_T(KC_A)` down| | | |
|
||||||
| 199 | `LSFT_T(KC_A)` up | a | a | a |
|
| 199 | `LSFT_T(KC_A)` up | a | a | a |
|
||||||
| 210 | `KC_B` down | ab | ab | ab |
|
| 210 | `KC_B` down | ab | ab | ab |
|
||||||
| 220 | `KC_B` up | ab | ab | ab |
|
| 220 | `KC_B` up | ab | ab | ab |
|
||||||
|
|
||||||
| Time | Physical key event |Ignore Interrupt| `PERMISSIVE_HOLD` | `HOLD_ON_OTHER_KEY_PRESS` |
|
| Time | Physical key event | Default | `PERMISSIVE_HOLD` | `HOLD_ON_OTHER_KEY_PRESS` |
|
||||||
|------|--------------------|----------------|-------------------|----------------------------|
|
|------|--------------------|----------------|-------------------|----------------------------|
|
||||||
| 0 | `LSFT_T(KC_A)` down| | | |
|
| 0 | `LSFT_T(KC_A)` down| | | |
|
||||||
| 200 | `LSFT_T(KC_A)` held|<kbd>Shift</kbd>| <kbd>Shift</kbd> | <kbd>Shift</kbd> |
|
| 200 | `LSFT_T(KC_A)` held|<kbd>Shift</kbd>| <kbd>Shift</kbd> | <kbd>Shift</kbd> |
|
||||||
|
@ -153,14 +151,14 @@ Note: "`kc` held" in the "Physical key event" column means that the key wasn't p
|
||||||
|
|
||||||
#### Nested tap (ABBA) :id=nested-tap
|
#### Nested tap (ABBA) :id=nested-tap
|
||||||
|
|
||||||
| Time | Physical key event |Ignore Interrupt| `PERMISSIVE_HOLD` | `HOLD_ON_OTHER_KEY_PRESS` |
|
| Time | Physical key event | Default | `PERMISSIVE_HOLD` | `HOLD_ON_OTHER_KEY_PRESS` |
|
||||||
|------|--------------------|----------------|-------------------|----------------------------|
|
|------|--------------------|----------------|-------------------|----------------------------|
|
||||||
| 0 | `LSFT_T(KC_A)` down| | | |
|
| 0 | `LSFT_T(KC_A)` down| | | |
|
||||||
| 110 | `KC_B` down | | | B |
|
| 110 | `KC_B` down | | | B |
|
||||||
| 120 | `KC_B` up | | B | B |
|
| 120 | `KC_B` up | | B | B |
|
||||||
| 199 | `LSFT_T(KC_A)` up | ab | B | B |
|
| 199 | `LSFT_T(KC_A)` up | ab | B | B |
|
||||||
|
|
||||||
| Time | Physical key event |Ignore Interrupt| `PERMISSIVE_HOLD` | `HOLD_ON_OTHER_KEY_PRESS` |
|
| Time | Physical key event | Default | `PERMISSIVE_HOLD` | `HOLD_ON_OTHER_KEY_PRESS` |
|
||||||
|------|--------------------|----------------|-------------------|----------------------------|
|
|------|--------------------|----------------|-------------------|----------------------------|
|
||||||
| 0 | `LSFT_T(KC_A)` down| | | |
|
| 0 | `LSFT_T(KC_A)` down| | | |
|
||||||
| 110 | `KC_B` down | | | B |
|
| 110 | `KC_B` down | | | B |
|
||||||
|
@ -168,7 +166,7 @@ Note: "`kc` held" in the "Physical key event" column means that the key wasn't p
|
||||||
| 200 | `LSFT_T(KC_A)` held| B | B | B |
|
| 200 | `LSFT_T(KC_A)` held| B | B | B |
|
||||||
| 210 | `LSFT_T(KC_A)` up | B | B | B |
|
| 210 | `LSFT_T(KC_A)` up | B | B | B |
|
||||||
|
|
||||||
| Time | Physical key event |Ignore Interrupt| `PERMISSIVE_HOLD` | `HOLD_ON_OTHER_KEY_PRESS` |
|
| Time | Physical key event | Default | `PERMISSIVE_HOLD` | `HOLD_ON_OTHER_KEY_PRESS` |
|
||||||
|------|--------------------|----------------|-------------------|----------------------------|
|
|------|--------------------|----------------|-------------------|----------------------------|
|
||||||
| 0 | `LSFT_T(KC_A)` down| | | |
|
| 0 | `LSFT_T(KC_A)` down| | | |
|
||||||
| 200 | `LSFT_T(KC_A)` held|<kbd>Shift</kbd>| <kbd>Shift</kbd> | <kbd>Shift</kbd> |
|
| 200 | `LSFT_T(KC_A)` held|<kbd>Shift</kbd>| <kbd>Shift</kbd> | <kbd>Shift</kbd> |
|
||||||
|
@ -178,14 +176,14 @@ Note: "`kc` held" in the "Physical key event" column means that the key wasn't p
|
||||||
|
|
||||||
#### Rolling keys (ABAB) :id=rolling-keys
|
#### Rolling keys (ABAB) :id=rolling-keys
|
||||||
|
|
||||||
| Time | Physical key event |Ignore Interrupt| `PERMISSIVE_HOLD` | `HOLD_ON_OTHER_KEY_PRESS` |
|
| Time | Physical key event | Default | `PERMISSIVE_HOLD` | `HOLD_ON_OTHER_KEY_PRESS` |
|
||||||
|------|--------------------|----------------|-------------------|----------------------------|
|
|------|--------------------|----------------|-------------------|----------------------------|
|
||||||
| 0 | `LSFT_T(KC_A)` down| | | |
|
| 0 | `LSFT_T(KC_A)` down| | | |
|
||||||
| 110 | `KC_B` down | | | B |
|
| 110 | `KC_B` down | | | B |
|
||||||
| 130 | `LSFT_T(KC_A)` up | ab | ab | B |
|
| 130 | `LSFT_T(KC_A)` up | ab | ab | B |
|
||||||
| 140 | `KC_B` up | ab | ab | B |
|
| 140 | `KC_B` up | ab | ab | B |
|
||||||
|
|
||||||
| Time | Physical key event |Ignore Interrupt| `PERMISSIVE_HOLD` | `HOLD_ON_OTHER_KEY_PRESS` |
|
| Time | Physical key event | Default | `PERMISSIVE_HOLD` | `HOLD_ON_OTHER_KEY_PRESS` |
|
||||||
|------|--------------------|----------------|-------------------|----------------------------|
|
|------|--------------------|----------------|-------------------|----------------------------|
|
||||||
| 0 | `LSFT_T(KC_A)` down| | | |
|
| 0 | `LSFT_T(KC_A)` down| | | |
|
||||||
| 110 | `KC_B` down | | | B |
|
| 110 | `KC_B` down | | | B |
|
||||||
|
@ -241,10 +239,8 @@ Example sequence 3 (Mod Tap):
|
||||||
| +--------------+ | |
|
| +--------------+ | |
|
||||||
+---------------------------|--------+
|
+---------------------------|--------+
|
||||||
```
|
```
|
||||||
Based on previous examples, you might have expected the output of the above sequence to be `KC_A` `KC_X`
|
In the above sequence, `SFT_T(KC_A)` has been released before the end of its `TAPPING_TERM` and as such will be interpreted as `KC_A`,
|
||||||
since `SFT_T(KC_A)` is NOT held longer than the `TAPPING_TERM`.
|
followed by any key event that happened after the initial press of `SFT_T(KC_A)`. In this instance, the output would be `KC_A` `KC_X`.
|
||||||
However, the actual output would be capital `X` (`SHIFT` + `x`) due to reasons
|
|
||||||
explained under [Ignore Mod Tap Interrupt](#ignore-mod-tap-interrupt).
|
|
||||||
|
|
||||||
### Permissive Hold
|
### Permissive Hold
|
||||||
|
|
||||||
|
@ -379,73 +375,6 @@ bool get_hold_on_other_key_press(uint16_t keycode, keyrecord_t *record) {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Ignore Mod Tap Interrupt
|
|
||||||
|
|
||||||
To enable this setting, add this to your `config.h`:
|
|
||||||
|
|
||||||
```c
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
```
|
|
||||||
|
|
||||||
?> This option affects only the Mod Tap keys; it does not affect other dual-role keys such as Layer Tap.
|
|
||||||
|
|
||||||
By default, the tap-or-hold decision for Mod Tap keys strongly prefers the hold action. If you press a Mod Tap key, then press another key while still holding the Mod Tap key down, the Mod Tap press will be handled as a modifier hold even if the Mod Tap key is then released within the tapping term, and irrespective of the order in which those keys are released. Using options such as `PERMISSIVE_HOLD` or `HOLD_ON_OTHER_KEY_PRESS` will not affect the functionality of Mod Tap keys in a major way (these options would still affect the delay until the common code for dual-role keys finishes its tap-or-hold decision, but then the special code for Mod Tap keys will override the result of that decision and choose the hold action if another key was pressed). In fact, by default, the tap-or-hold decision for Mod Tap keys is done in the same way as if the `HOLD_ON_OTHER_KEY_PRESS` option was enabled, but without the decreased delay provided by `HOLD_ON_OTHER_KEY_PRESS`.
|
|
||||||
|
|
||||||
If the `IGNORE_MOD_TAP_INTERRUPT` option is enabled, Mod Tap keys are no longer treated as a special case, and their behavior will match the behavior of other dual-role keys such as Layer Tap. Then the behavior of Mod Tap keys can be further tuned using other options such as `PERMISSIVE_HOLD` or `HOLD_ON_OTHER_KEY_PRESS`.
|
|
||||||
|
|
||||||
An example of a sequence that will be affected by the `IGNORE_MOD_TAP_INTERRUPT` option (assuming that options like `PERMISSIVE_HOLD` or `HOLD_ON_OTHER_KEY_PRESS` are not enabled):
|
|
||||||
|
|
||||||
- `SFT_T(KC_A)` Down
|
|
||||||
- `KC_X` Down
|
|
||||||
- `SFT_T(KC_A)` Up
|
|
||||||
- `KC_X` Up
|
|
||||||
|
|
||||||
```
|
|
||||||
TAPPING_TERM
|
|
||||||
+---------------------------|--------+
|
|
||||||
| +-------------+ | |
|
|
||||||
| | SFT_T(KC_A) | | |
|
|
||||||
| +-------------+ | |
|
|
||||||
| +--------------+ | |
|
|
||||||
| | KC_X | | |
|
|
||||||
| +--------------+ | |
|
|
||||||
+---------------------------|--------+
|
|
||||||
```
|
|
||||||
|
|
||||||
Normally, this would send a capital `X` (`SHIFT`+`x`), even if the sequence is performed faster than the `TAPPING_TERM`. However, if the `IGNORE_MOD_TAP_INTERRUPT` option is enabled, the `SFT_T(KC_A)` key must be held longer than the `TAPPING_TERM` to register the hold action. A quick tap will output `ax` in this case, while a hold will still output a capital `X` (`SHIFT`+`x`).
|
|
||||||
|
|
||||||
However, if the `HOLD_ON_OTHER_KEY_PRESS` option is enabled in addition to `IGNORE_MOD_TAP_INTERRUPT`, the above sequence will again send a capital `X` (`SHIFT`+`x`) even if performed faster than the `TAPPING_TERM`. The difference from the default configuration is that by default the host will receive the key events only after the `SFT_T(KC_A)` key is released, but with the `HOLD_ON_OTHER_KEY_PRESS` option, the host will start receiving key events when the `KC_X` key is pressed.
|
|
||||||
|
|
||||||
For more granular control of this feature, you can add the following to your `config.h`:
|
|
||||||
|
|
||||||
```c
|
|
||||||
#define HOLD_ON_OTHER_KEY_PRESS_PER_KEY
|
|
||||||
```
|
|
||||||
|
|
||||||
?> This option affects *all* dual-role keys.
|
|
||||||
|
|
||||||
You can then add the following function to your keymap:
|
|
||||||
|
|
||||||
```c
|
|
||||||
bool get_hold_on_other_key_press(uint16_t keycode, keyrecord_t *record) {
|
|
||||||
switch (keycode) {
|
|
||||||
case SFT_T(KC_SPC):
|
|
||||||
// Do not force the mod-tap key press to be handled as a modifier
|
|
||||||
// if any other key was pressed while the mod-tap key is held down.
|
|
||||||
return false;
|
|
||||||
default:
|
|
||||||
// Force the dual-role key press to be handled as a modifier if any
|
|
||||||
// other key was pressed while the mod-tap key is held down.
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
Note that you must return `false` in `get_hold_on_other_key_press` in order to apply `IGNORE_MOD_TAP_INTERRUPT` for a certain mod-tap key.
|
|
||||||
|
|
||||||
?> `IGNORE_MOD_TAP_INTERRUPT[_PER_KEY]` is being progressively phased out to align the (default) behavior and configuration of mod-taps with the rest of dual-role keys.
|
|
||||||
|
|
||||||
## Quick Tap Term
|
## Quick Tap Term
|
||||||
|
|
||||||
When the user holds a key after tapping it, the tapping function is repeated by default, rather than activating the hold function. This allows keeping the ability to auto-repeat the tapping function of a dual-role key. `QUICK_TAP_TERM` enables fine tuning of that ability. If set to `0`, it will remove the auto-repeat ability and activate the hold function instead.
|
When the user holds a key after tapping it, the tapping function is repeated by default, rather than activating the hold function. This allows keeping the ability to auto-repeat the tapping function of a dual-role key. `QUICK_TAP_TERM` enables fine tuning of that ability. If set to `0`, it will remove the auto-repeat ability and activate the hold function instead.
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
|
|
||||||
#define TAPPING_TERM 180
|
#define TAPPING_TERM 180
|
||||||
|
|
||||||
// Prevent normal rollover on alphas from accidentally triggering mods.
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#undef LOCKING_SUPPORT_ENABLE
|
#undef LOCKING_SUPPORT_ENABLE
|
||||||
#undef LOCKING_RESYNC_ENABLE
|
#undef LOCKING_RESYNC_ENABLE
|
||||||
|
|
||||||
|
|
|
@ -27,5 +27,4 @@
|
||||||
|
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
|
|
|
@ -13,8 +13,6 @@
|
||||||
|
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
// makes tap and hold keys trigger the hold if another key is pressed before releasing, even if it hasn't hit the TAPPING_TERM
|
// makes tap and hold keys trigger the hold if another key is pressed before releasing, even if it hasn't hit the TAPPING_TERM
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
// makes it possible to do rolling combos (zx) with keys that convert to other keys on hold, by enforcing the TAPPING_TERM for both keys.
|
|
||||||
|
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
// makes it possible to use a dual role key as modifier shortly after having been tapped (see Hold after tap)
|
// makes it possible to use a dual role key as modifier shortly after having been tapped (see Hold after tap)
|
||||||
|
|
|
@ -17,6 +17,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// place overrides here
|
// place overrides here
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
|
|
|
@ -16,8 +16,6 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT // MT key must be held longer than tapping term for
|
|
||||||
// modifer to be registered
|
|
||||||
#define RETRO_TAPPING_PER_KEY
|
#define RETRO_TAPPING_PER_KEY
|
||||||
#define TAPPING_TERM_PER_KEY
|
#define TAPPING_TERM_PER_KEY
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
#define DIODE_DIRECTION COL2ROW
|
#define DIODE_DIRECTION COL2ROW
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
|
|
||||||
#define USB_MAX_POWER_CONSUMPTION 50
|
#define USB_MAX_POWER_CONSUMPTION 50
|
||||||
|
|
|
@ -3,6 +3,4 @@
|
||||||
|
|
||||||
#include "../../config.h"
|
#include "../../config.h"
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define TAPPING_TERM 150
|
#define TAPPING_TERM 150
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
|
|
|
@ -16,4 +16,3 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
|
@ -18,4 +18,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#define TAPPING_TERM 150
|
#define TAPPING_TERM 150
|
||||||
#define TAPPING_TERM_PER_KEY
|
#define TAPPING_TERM_PER_KEY
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#define BACKLIGHT_DEFAULT_LEVEL 3
|
#define BACKLIGHT_DEFAULT_LEVEL 3
|
||||||
|
|
||||||
#define COMBO_COUNT 3
|
#define COMBO_COUNT 3
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#define UNICODE_SELECTED_MODES UNICODE_MODE_WINCOMPOSE, UNICODE_MODE_WINDOWS, UNICODE_MODE_MACOS, UNICODE_MODE_LINUX
|
#define UNICODE_SELECTED_MODES UNICODE_MODE_WINCOMPOSE, UNICODE_MODE_WINDOWS, UNICODE_MODE_MACOS, UNICODE_MODE_LINUX
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define TAPPING_TOGGLE 1
|
#define TAPPING_TOGGLE 1
|
||||||
|
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
|
|
||||||
|
|
||||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||||
#define LOCKING_SUPPORT_ENABLE
|
#define LOCKING_SUPPORT_ENABLE
|
||||||
|
|
|
@ -17,4 +17,3 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define TAPPING_TERM 175 // milliseconds
|
#define TAPPING_TERM 175 // milliseconds
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
|
@ -17,4 +17,3 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define TAPPING_TERM 175 // milliseconds
|
#define TAPPING_TERM 175 // milliseconds
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
|
@ -67,20 +67,6 @@
|
||||||
*/
|
*/
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
|
|
||||||
/**
|
|
||||||
* Prevent normal rollover on alphas from accidentally triggering mods.
|
|
||||||
*
|
|
||||||
* Ignores key presses that interrupt a mod-tap. Must-have for Home Row mod.
|
|
||||||
*
|
|
||||||
* Without `IGNORE_MOD_TAP_INTERRUPT`, within `TAPPING_TERM`:
|
|
||||||
* Mod(a)🠗 e🠗 Mod(a)🠕 e🠕 ➞ Mod+e
|
|
||||||
* With `IGNORE_MOD_TAP_INTERRUPT`, within `TAPPING_TERM`:
|
|
||||||
* Mod(a)🠗 e🠗 Mod(a)🠕 e🠕 ➞ ae
|
|
||||||
*
|
|
||||||
* See docs.qmk.fm/using-qmk/software-features/tap_hold#ignore-mod-tap-interrupt
|
|
||||||
*/
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
/** Charybdis-specific features. */
|
/** Charybdis-specific features. */
|
||||||
|
|
||||||
#ifdef POINTING_DEVICE_ENABLE
|
#ifdef POINTING_DEVICE_ENABLE
|
||||||
|
|
|
@ -24,18 +24,6 @@
|
||||||
/* Disable unused features. */
|
/* Disable unused features. */
|
||||||
#define NO_ACTION_ONESHOT
|
#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief Prevent normal rollover on alphas from accidentally triggering mods.
|
|
||||||
*
|
|
||||||
* Ignores key presses that interrupt a mod-tap. Must-have for Home Row mod.
|
|
||||||
*
|
|
||||||
* Without `IGNORE_MOD_TAP_INTERRUPT`, within `TAPPING_TERM`:
|
|
||||||
* Mod(a)🠗 e🠗 Mod(a)🠕 e🠕 ➞ Mod+e
|
|
||||||
* With `IGNORE_MOD_TAP_INTERRUPT`, within `TAPPING_TERM`:
|
|
||||||
* Mod(a)🠗 e🠗 Mod(a)🠕 e🠕 ➞ ae
|
|
||||||
*/
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
/* Charybdis-specific features. */
|
/* Charybdis-specific features. */
|
||||||
|
|
||||||
#ifdef POINTING_DEVICE_ENABLE
|
#ifdef POINTING_DEVICE_ENABLE
|
||||||
|
|
|
@ -65,20 +65,6 @@
|
||||||
*/
|
*/
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
|
|
||||||
/**
|
|
||||||
* Prevent normal rollover on alphas from accidentally triggering mods.
|
|
||||||
*
|
|
||||||
* Ignores key presses that interrupt a mod-tap. Must-have for Home Row mod.
|
|
||||||
*
|
|
||||||
* Without `IGNORE_MOD_TAP_INTERRUPT`, within `TAPPING_TERM`:
|
|
||||||
* Mod(a)🠗 e🠗 Mod(a)🠕 e🠕 ➞ Mod+e
|
|
||||||
* With `IGNORE_MOD_TAP_INTERRUPT`, within `TAPPING_TERM`:
|
|
||||||
* Mod(a)🠗 e🠗 Mod(a)🠕 e🠕 ➞ ae
|
|
||||||
*
|
|
||||||
* See docs.qmk.fm/using-qmk/software-features/tap_hold#ignore-mod-tap-interrupt
|
|
||||||
*/
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
/** Dilemma-specific features. */
|
/** Dilemma-specific features. */
|
||||||
|
|
||||||
#ifdef POINTING_DEVICE_ENABLE
|
#ifdef POINTING_DEVICE_ENABLE
|
||||||
|
|
|
@ -21,18 +21,6 @@
|
||||||
# define DYNAMIC_KEYMAP_LAYER_COUNT 6
|
# define DYNAMIC_KEYMAP_LAYER_COUNT 6
|
||||||
#endif // VIA_ENABLE
|
#endif // VIA_ENABLE
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief Prevent normal rollover on alphas from accidentally triggering mods.
|
|
||||||
*
|
|
||||||
* Ignores key presses that interrupt a mod-tap. Must-have for Home Row mod.
|
|
||||||
*
|
|
||||||
* Without `IGNORE_MOD_TAP_INTERRUPT`, within `TAPPING_TERM`:
|
|
||||||
* Mod(a)🠗 e🠗 Mod(a)🠕 e🠕 ➞ Mod+e
|
|
||||||
* With `IGNORE_MOD_TAP_INTERRUPT`, within `TAPPING_TERM`:
|
|
||||||
* Mod(a)🠗 e🠗 Mod(a)🠕 e🠕 ➞ ae
|
|
||||||
*/
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
/* Charybdis-specific features. */
|
/* Charybdis-specific features. */
|
||||||
|
|
||||||
#ifdef POINTING_DEVICE_ENABLE
|
#ifdef POINTING_DEVICE_ENABLE
|
||||||
|
|
|
@ -59,18 +59,6 @@
|
||||||
*/
|
*/
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
|
|
||||||
/**
|
|
||||||
* Prevent normal rollover on alphas from accidentally triggering mods.
|
|
||||||
*
|
|
||||||
* Ignores key presses that interrupt a mod-tap. Must-have for Home Row mod.
|
|
||||||
*
|
|
||||||
* Without `IGNORE_MOD_TAP_INTERRUPT`, within `TAPPING_TERM`:
|
|
||||||
* Mod(a)🠗 e🠗 Mod(a)🠕 e🠕 ➞ Mod+e
|
|
||||||
* With `IGNORE_MOD_TAP_INTERRUPT`, within `TAPPING_TERM`:
|
|
||||||
* Mod(a)🠗 e🠗 Mod(a)🠕 e🠕 ➞ ae
|
|
||||||
*/
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
/** Dilemma-specific features. */
|
/** Dilemma-specific features. */
|
||||||
|
|
||||||
#ifdef POINTING_DEVICE_ENABLE
|
#ifdef POINTING_DEVICE_ENABLE
|
||||||
|
|
|
@ -28,6 +28,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
#define TAPPING_TERM 300
|
#define TAPPING_TERM 300
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define LEADER_PER_KEY_TIMING
|
#define LEADER_PER_KEY_TIMING
|
||||||
#define LEADER_TIMEOUT 300
|
#define LEADER_TIMEOUT 300
|
|
@ -28,6 +28,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
#define TAPPING_TERM 300
|
#define TAPPING_TERM 300
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define LEADER_PER_KEY_TIMING
|
#define LEADER_PER_KEY_TIMING
|
||||||
#define LEADER_TIMEOUT 300
|
#define LEADER_TIMEOUT 300
|
|
@ -17,7 +17,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#define EE_HANDS
|
#define EE_HANDS
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define MOUSEKEY_INTERVAL 16
|
#define MOUSEKEY_INTERVAL 16
|
||||||
#define MOUSEKEY_MAX_SPEED 3
|
#define MOUSEKEY_MAX_SPEED 3
|
||||||
#define MOUSEKEY_TIME_TO_MAX 30
|
#define MOUSEKEY_TIME_TO_MAX 30
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
#define TAPPING_TERM 210
|
#define TAPPING_TERM 210
|
||||||
/*#define PERMISSIVE_HOLD*/
|
/*#define PERMISSIVE_HOLD*/
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define TAPPING_FORCE_HOLD
|
#define TAPPING_FORCE_HOLD
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
// Configure the global tapping term (default: 200ms)
|
// Configure the global tapping term (default: 200ms)
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
|
|
||||||
// Prevent normal rollover on alphas from accidentally triggering mods.
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
// 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
|
||||||
|
|
||||||
|
@ -35,4 +32,4 @@
|
||||||
#ifdef PS2_MOUSE_ENABLE
|
#ifdef PS2_MOUSE_ENABLE
|
||||||
#define PS2_MOUSE_SCROLL_BTN_MASK (1<<PS2_MOUSE_BTN_RIGHT)
|
#define PS2_MOUSE_SCROLL_BTN_MASK (1<<PS2_MOUSE_BTN_RIGHT)
|
||||||
#define PS2_MOUSE_SCROLL_BTN_SEND 500
|
#define PS2_MOUSE_SCROLL_BTN_SEND 500
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
// Configure the global tapping term (default: 200ms)
|
// Configure the global tapping term (default: 200ms)
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
|
|
||||||
// Prevent normal rollover on alphas from accidentally triggering mods.
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
// 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
|
||||||
|
|
||||||
|
@ -36,4 +33,4 @@
|
||||||
#ifdef PS2_MOUSE_ENABLE
|
#ifdef PS2_MOUSE_ENABLE
|
||||||
#define PS2_MOUSE_SCROLL_BTN_MASK (1<<PS2_MOUSE_BTN_RIGHT) // using the right mouse button for scrolling (other buttons can be configured)
|
#define PS2_MOUSE_SCROLL_BTN_MASK (1<<PS2_MOUSE_BTN_RIGHT) // using the right mouse button for scrolling (other buttons can be configured)
|
||||||
#define PS2_MOUSE_SCROLL_BTN_SEND 500
|
#define PS2_MOUSE_SCROLL_BTN_SEND 500
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -25,4 +25,3 @@
|
||||||
# undef TAPPING_TERM
|
# undef TAPPING_TERM
|
||||||
#endif
|
#endif
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
|
@ -24,8 +24,6 @@
|
||||||
|
|
||||||
#ifdef TAPPING_TERM
|
#ifdef TAPPING_TERM
|
||||||
#undef TAPPING_TERM
|
#undef TAPPING_TERM
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
#define TAPPING_TERM 150
|
#define TAPPING_TERM 150
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
#define COMBO_TERM 20
|
#define COMBO_TERM 20
|
||||||
#define COMBO_COUNT 1
|
#define COMBO_COUNT 1
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
|
|
||||||
#define SUPER_DUPER_SOUND S__NOTE(_B1)
|
#define SUPER_DUPER_SOUND S__NOTE(_B1)
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
|
|
||||||
// Defaults for usable home row mods
|
// Defaults for usable home row mods
|
||||||
#define TAPPING_TERM 230
|
#define TAPPING_TERM 230
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
// Improved mouse key defaults
|
// Improved mouse key defaults
|
||||||
// Delay between pressing a key and cursor movement
|
// Delay between pressing a key and cursor movement
|
||||||
|
|
|
@ -32,6 +32,5 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define COMBO_TERM 30
|
#define COMBO_TERM 30
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define RETRO_TAPPING
|
#define RETRO_TAPPING
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
// #define QUICK_TAP_TERM 0
|
// #define QUICK_TAP_TERM 0
|
||||||
// #define PERMISSIVE_HOLD
|
// #define PERMISSIVE_HOLD
|
||||||
#define TAPPING_TERM 300
|
#define TAPPING_TERM 300
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#ifdef RGBLIGHT_ENABLE
|
#ifdef RGBLIGHT_ENABLE
|
||||||
#undef RGBLED_NUM
|
#undef RGBLED_NUM
|
||||||
|
|
|
@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
#define TAPPING_TERM 175
|
#define TAPPING_TERM 175
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#ifdef RGBLIGHT_ENABLE
|
#ifdef RGBLIGHT_ENABLE
|
||||||
#undef RGBLED_NUM
|
#undef RGBLED_NUM
|
||||||
|
|
|
@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
// #define QUICK_TAP_TERM 0
|
// #define QUICK_TAP_TERM 0
|
||||||
#define TAPPING_TERM 150
|
#define TAPPING_TERM 150
|
||||||
// #define RETRO_TAPPING
|
// #define RETRO_TAPPING
|
||||||
// #define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
// #define PERMISSIVE_HOLD
|
// #define PERMISSIVE_HOLD
|
||||||
|
|
||||||
#ifdef RGBLIGHT_ENABLE
|
#ifdef RGBLIGHT_ENABLE
|
||||||
|
|
|
@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
// #define RETRO_TAPPING
|
// #define RETRO_TAPPING
|
||||||
// #define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#ifdef RGBLIGHT_ENABLE
|
#ifdef RGBLIGHT_ENABLE
|
||||||
#define RGBLIGHT_SLEEP
|
#define RGBLIGHT_SLEEP
|
||||||
|
|
|
@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
// #define RETRO_TAPPING
|
// #define RETRO_TAPPING
|
||||||
// #define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#ifdef RGBLIGHT_ENABLE
|
#ifdef RGBLIGHT_ENABLE
|
||||||
#undef RGBLED_NUM
|
#undef RGBLED_NUM
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
|
|
||||||
// #define QUICK_TAP_TERM 0
|
// #define QUICK_TAP_TERM 0
|
||||||
#define TAPPING_TERM 300
|
#define TAPPING_TERM 300
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#ifdef RGBLIGHT_ENABLE
|
#ifdef RGBLIGHT_ENABLE
|
||||||
# undef RGBLED_NUM
|
# undef RGBLED_NUM
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
#define EE_HANDS
|
#define EE_HANDS
|
||||||
#define SPLIT_USB_DETECT
|
#define SPLIT_USB_DETECT
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define TAPPING_TERM 250
|
#define TAPPING_TERM 250
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#define TAPPING_TERM 150
|
#define TAPPING_TERM 150
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#ifdef RGBLIGHT_ENABLE
|
#ifdef RGBLIGHT_ENABLE
|
||||||
# undef RGBLED_NUM
|
# undef RGBLED_NUM
|
||||||
|
|
|
@ -25,9 +25,6 @@
|
||||||
// Configure the global tapping term (default: 200ms)
|
// Configure the global tapping term (default: 200ms)
|
||||||
#define TAPPING_TERM 500
|
#define TAPPING_TERM 500
|
||||||
|
|
||||||
// Prevent normal rollover on alphas from accidentally triggering mods.
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
// 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
|
||||||
|
|
||||||
|
|
|
@ -42,9 +42,6 @@ This is the C configuration file for the keymap
|
||||||
#define QMK_LED D5
|
#define QMK_LED D5
|
||||||
#define QMK_SPEAKER C6
|
#define QMK_SPEAKER C6
|
||||||
|
|
||||||
// Prevent normal rollover on alphas from accidentally triggering mods.
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
// When enabled, typing a mod-tap plus second within term will register as the mod-combo
|
// When enabled, typing a mod-tap plus second within term will register as the mod-combo
|
||||||
// Ref: https://beta.docs.qmk.fm/using-qmk/software-features/tap_hold#permissive-hold
|
// Ref: https://beta.docs.qmk.fm/using-qmk/software-features/tap_hold#permissive-hold
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
//Tapping values
|
//Tapping values
|
||||||
//#define QUICK_TAP_TERM 0
|
//#define QUICK_TAP_TERM 0
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define PERMISSIVE_HOLD_PER_KEY
|
#define PERMISSIVE_HOLD_PER_KEY
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#define TAPPING_TERM 140
|
#define TAPPING_TERM 140
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#define TAPPING_TOGGLE 2
|
#define TAPPING_TOGGLE 2
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
//#define QUICK_TAP_TERM 0
|
//#define QUICK_TAP_TERM 0
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#ifdef RGBLIGHT_ENABLE
|
#ifdef RGBLIGHT_ENABLE
|
||||||
#define RGBLIGHT_EFFECT_BREATHING
|
#define RGBLIGHT_EFFECT_BREATHING
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
|
|
|
@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#undef PERMISSIVE_HOLD
|
#undef PERMISSIVE_HOLD
|
||||||
|
|
||||||
#ifdef RGBLIGHT_ENABLE
|
#ifdef RGBLIGHT_ENABLE
|
||||||
|
@ -55,8 +54,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#define OLED_FONT_H "keyboards/crkbd/lib/glcdfont.c"
|
#define OLED_FONT_H "keyboards/crkbd/lib/glcdfont.c"
|
||||||
|
|
||||||
// fix for me putting alt under A and being a fast typist
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#define LAYER_STATE_8BIT
|
#define LAYER_STATE_8BIT
|
||||||
#define SPLIT_WPM_ENABLE
|
#define SPLIT_WPM_ENABLE
|
||||||
|
|
|
@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
// #define QUICK_TAP_TERM 0
|
// #define QUICK_TAP_TERM 0
|
||||||
#define TAPPING_TERM 150
|
#define TAPPING_TERM 150
|
||||||
#define RETRO_TAPPING
|
#define RETRO_TAPPING
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#ifdef RGBLIGHT_ENABLE
|
#ifdef RGBLIGHT_ENABLE
|
||||||
#undef RGBLED_NUM
|
#undef RGBLED_NUM
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
// #define RGB_LAYER_ENABLE
|
// #define RGB_LAYER_ENABLE
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
|
|
||||||
#if defined(TAPPING_TERM)
|
#if defined(TAPPING_TERM)
|
||||||
|
|
|
@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
#define TAPPING_TERM 300
|
#define TAPPING_TERM 300
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define LEADER_PER_KEY_TIMING
|
#define LEADER_PER_KEY_TIMING
|
||||||
#define LEADER_TIMEOUT 300
|
#define LEADER_TIMEOUT 300
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,5 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define TAPPING_TERM 230
|
#define TAPPING_TERM 230
|
||||||
#define TAPPING_TERM_PER_KEY
|
#define TAPPING_TERM_PER_KEY
|
||||||
|
|
|
@ -19,9 +19,6 @@
|
||||||
// Tapping term is ever so slightly lowered from the 200ms default to make layer and mod usage more snappy.
|
// Tapping term is ever so slightly lowered from the 200ms default to make layer and mod usage more snappy.
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
|
|
||||||
// Prevent normal rollover on alphas from accidentally triggering mods.
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
// If you are using an Elite C rev3 on the slave side, uncomment the lines below:
|
// If you are using an Elite C rev3 on the slave side, uncomment the lines below:
|
||||||
// #define SPLIT_USB_DETECT
|
// #define SPLIT_USB_DETECT
|
||||||
// #define NO_USB_STARTUP_CHECK
|
// #define NO_USB_STARTUP_CHECK
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
|
|
||||||
#define NO_ACTION_ONESHOT
|
#define NO_ACTION_ONESHOT
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
// #include "config_led.h"
|
// #include "config_led.h"
|
||||||
// #include "dz60rgb.h"
|
// #include "dz60rgb.h"
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
|
|
||||||
#define NO_ACTION_ONESHOT
|
#define NO_ACTION_ONESHOT
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
// #include "config_led.h"
|
// #include "config_led.h"
|
||||||
// #include "dz60rgb.h"
|
// #include "dz60rgb.h"
|
||||||
|
|
|
@ -50,4 +50,3 @@
|
||||||
|
|
||||||
#define NO_ACTION_ONESHOT
|
#define NO_ACTION_ONESHOT
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
|
@ -60,7 +60,6 @@
|
||||||
|
|
||||||
#define NO_ACTION_ONESHOT
|
#define NO_ACTION_ONESHOT
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
// #include "config_led.h"
|
// #include "config_led.h"
|
||||||
// #include "dz60rgb.h"
|
// #include "dz60rgb.h"
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
|
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define TAPPING_TERM 150
|
#define TAPPING_TERM 150
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
|
|
|
@ -47,7 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define TAPPING_TOGGLE 1
|
#define TAPPING_TOGGLE 1
|
||||||
|
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
|
|
||||||
|
|
||||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||||
#define LOCKING_SUPPORT_ENABLE
|
#define LOCKING_SUPPORT_ENABLE
|
||||||
|
|
|
@ -21,8 +21,6 @@
|
||||||
|
|
||||||
#undef TAPPING_TOGGLE
|
#undef TAPPING_TOGGLE
|
||||||
#undef TAPPING_TERM
|
#undef TAPPING_TERM
|
||||||
#undef IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#define TAPPING_TOGGLE 1
|
#define TAPPING_TOGGLE 1
|
||||||
#define TAPPING_TERM 150
|
#define TAPPING_TERM 150
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
|
@ -21,8 +21,6 @@
|
||||||
|
|
||||||
#undef TAPPING_TOGGLE
|
#undef TAPPING_TOGGLE
|
||||||
#undef TAPPING_TERM
|
#undef TAPPING_TERM
|
||||||
#undef IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#define TAPPING_TOGGLE 1
|
#define TAPPING_TOGGLE 1
|
||||||
#define TAPPING_TERM 150
|
#define TAPPING_TERM 150
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
|
|
||||||
#define ONESHOT_TAP_TOGGLE 3
|
#define ONESHOT_TAP_TOGGLE 3
|
||||||
|
|
|
@ -12,8 +12,6 @@
|
||||||
#undef DEBOUNCE
|
#undef DEBOUNCE
|
||||||
#define DEBOUNCE 15
|
#define DEBOUNCE 15
|
||||||
|
|
||||||
#undef IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||||
|
|
||||||
|
|
|
@ -25,8 +25,6 @@
|
||||||
// #undef TAPPING_TERM
|
// #undef TAPPING_TERM
|
||||||
// #define TAPPING_TERM 499
|
// #define TAPPING_TERM 499
|
||||||
|
|
||||||
/* Turning permissive hold and ignore mod tap interrupt off in order to test the tapping term. */
|
/* Turning permissive hold off in order to test the tapping term. */
|
||||||
#undef PERMISSIVE_HOLD
|
#undef PERMISSIVE_HOLD
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#undef IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
|
@ -26,6 +26,4 @@
|
||||||
|
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
|
|
||||||
#undef IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#define RGBLIGHT_SLEEP
|
#define RGBLIGHT_SLEEP
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
#define RGBLIGHT_SLEEP
|
#define RGBLIGHT_SLEEP
|
||||||
|
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#undef PERMISSIVE_HOLD
|
#undef PERMISSIVE_HOLD
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -35,5 +35,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
// Pick good defaults for enabling homerow modifiers
|
// Pick good defaults for enabling homerow modifiers
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
|
|
|
@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
// Pick good defaults for enabling homerow modifiers
|
// Pick good defaults for enabling homerow modifiers
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
|
|
||||||
// Underglow configuration
|
// Underglow configuration
|
||||||
|
|
|
@ -19,4 +19,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// Pick good defaults for enabling homerow modifiers
|
// Pick good defaults for enabling homerow modifiers
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
|
@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
// Pick good defaults for enabling homerow modifiers
|
// Pick good defaults for enabling homerow modifiers
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define QUICK_TAP_TERM 0
|
#define QUICK_TAP_TERM 0
|
||||||
|
|
||||||
// Underglow configuration
|
// Underglow configuration
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
// Good defaults for home row modifiers
|
// Good defaults for home row modifiers
|
||||||
#define TAPPING_TERM 230
|
#define TAPPING_TERM 230
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
// Handle master/slave detection on low cost Promicro
|
// Handle master/slave detection on low cost Promicro
|
||||||
#ifdef __AVR__
|
#ifdef __AVR__
|
||||||
|
|
|
@ -17,4 +17,3 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define TAPPING_TERM_PER_KEY
|
#define TAPPING_TERM_PER_KEY
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
|
@ -1,24 +0,0 @@
|
||||||
/* This is the c configuration file for the keymap
|
|
||||||
* Copyright 2022 bojiguard (@bojiguard)
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
|
@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define TAPPING_TOGGLE 1
|
#define TAPPING_TOGGLE 1
|
||||||
|
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
|
|
||||||
|
|
||||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||||
#define LOCKING_SUPPORT_ENABLE
|
#define LOCKING_SUPPORT_ENABLE
|
||||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#define FORCE_NKRO
|
#define FORCE_NKRO
|
||||||
#define NO_ACTION_ONESHOT
|
#define NO_ACTION_ONESHOT
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
/* key matrix size */
|
/* key matrix size */
|
||||||
#define MATRIX_ROWS 14
|
#define MATRIX_ROWS 14
|
||||||
|
@ -42,7 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define TAPPING_TOGGLE 2
|
#define TAPPING_TOGGLE 2
|
||||||
|
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
|
|
||||||
|
|
||||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||||
#define LOCKING_SUPPORT_ENABLE
|
#define LOCKING_SUPPORT_ENABLE
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
#include "sten.h"
|
#include "sten.h"
|
||||||
#include "keymap_steno.h"
|
#include "keymap_steno.h"
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
// Steno Layers
|
// Steno Layers
|
||||||
#define FUNCT ( LSD | LK | LP | LH )
|
#define FUNCT ( LSD | LK | LP | LH )
|
||||||
|
|
|
@ -44,7 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define TAPPING_TOGGLE 1
|
#define TAPPING_TOGGLE 1
|
||||||
|
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
|
|
||||||
|
|
||||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||||
#define LOCKING_SUPPORT_ENABLE
|
#define LOCKING_SUPPORT_ENABLE
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#undef DEBOUNCE
|
#undef DEBOUNCE
|
||||||
#define DEBOUNCE 10
|
#define DEBOUNCE 10
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define BASE 0 // default layer
|
#define BASE 0 // default layer
|
||||||
#define SYMB 1 // symbols
|
#define SYMB 1 // symbols
|
||||||
#define NUMB 2 // numbers/motion
|
#define NUMB 2 // numbers/motion
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define OLED_FONT_H "keyboards/gboards/gergo/keymaps/oled/glcdfont.c"
|
#define OLED_FONT_H "keyboards/gboards/gergo/keymaps/oled/glcdfont.c"
|
||||||
|
|
|
@ -34,6 +34,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#define MATRIX_COL_PINS { F6, F5, F4, F1 }
|
#define MATRIX_COL_PINS { F6, F5, F4, F1 }
|
||||||
#define MATRIX_ROW_PINS { B1, B2, B3, D2, D3 }
|
#define MATRIX_ROW_PINS { B1, B2, B3, D2, D3 }
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)))
|
#define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)))
|
||||||
|
|
|
@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// https://docs.qmk.fm/using-qmk/software-features/tap_hold
|
// https://docs.qmk.fm/using-qmk/software-features/tap_hold
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
/* define if matrix has ghost (lacks anti-ghosting diodes) */
|
/* define if matrix has ghost (lacks anti-ghosting diodes) */
|
||||||
#define MATRIX_HAS_GHOST
|
#define MATRIX_HAS_GHOST
|
||||||
|
|
|
@ -20,5 +20,4 @@
|
||||||
|
|
||||||
#define RETRO_TAPPING
|
#define RETRO_TAPPING
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
#define QUICK_TAP_TERM 0
|
||||||
#define QUICK_TAP_TERM 0
|
|
||||||
|
|
|
@ -39,4 +39,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
|
@ -69,5 +69,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
//#define TAPPING_TERM 150
|
//#define TAPPING_TERM 150
|
||||||
//#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
//#define QUICK_TAP_TERM 0
|
//#define QUICK_TAP_TERM 0
|
||||||
|
|
|
@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define TAPPING_TERM 150
|
#define TAPPING_TERM 150
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
|
|
||||||
#define RGBLIGHT_EFFECT_BREATHING
|
#define RGBLIGHT_EFFECT_BREATHING
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#define MASTER_RIGHT
|
#define MASTER_RIGHT
|
||||||
//#define MASTER_LEFT
|
//#define MASTER_LEFT
|
||||||
|
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
|
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
|
|
|
@ -40,7 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define TAPPING_TOGGLE 1
|
#define TAPPING_TOGGLE 1
|
||||||
|
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
|
|
||||||
|
|
||||||
/* key combination for command */
|
/* key combination for command */
|
||||||
#define IS_COMMAND() ( \
|
#define IS_COMMAND() ( \
|
||||||
|
|
|
@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#define TAPPING_TOGGLE 2 // number of taps to toggle TT
|
#define TAPPING_TOGGLE 2 // number of taps to toggle TT
|
||||||
#define TAPPING_TERM_PER_KEY // milliseconds from tap to hold for mod tap per key
|
#define TAPPING_TERM_PER_KEY // milliseconds from tap to hold for mod tap per key
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT // ignore hold mod if another tap occurs within tapping term
|
|
||||||
#define PERMISSIVE_HOLD_PER_KEY // activate mod top hold earlier if another key is pressed AND released per key
|
#define PERMISSIVE_HOLD_PER_KEY // activate mod top hold earlier if another key is pressed AND released per key
|
||||||
#define QUICK_TAP_TERM_PER_KEY // disable double tap hold key repeat per key
|
#define QUICK_TAP_TERM_PER_KEY // disable double tap hold key repeat per key
|
||||||
#undef MOUSEKEY_INTERVAL
|
#undef MOUSEKEY_INTERVAL
|
||||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define TAPPING_TOGGLE 3
|
#define TAPPING_TOGGLE 3
|
||||||
#define ONESHOT_TAP_TOGGLE 3
|
#define ONESHOT_TAP_TOGGLE 3
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define TAPPING_TERM 300
|
#define TAPPING_TERM 300
|
||||||
#ifdef RGBLED_NUM
|
#ifdef RGBLED_NUM
|
||||||
# undef RGBLED_NUM
|
# undef RGBLED_NUM
|
||||||
|
|
|
@ -5,5 +5,4 @@
|
||||||
|
|
||||||
|
|
||||||
#define SPLIT_USB_DETECT
|
#define SPLIT_USB_DETECT
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define TAPPING_TERM 250
|
#define TAPPING_TERM 250
|
||||||
|
|
|
@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define TAPPING_TOGGLE 1
|
#define TAPPING_TOGGLE 1
|
||||||
|
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
|
|
||||||
|
|
||||||
/* key combination for command */
|
/* key combination for command */
|
||||||
#define IS_COMMAND() ( \
|
#define IS_COMMAND() ( \
|
||||||
|
|
|
@ -20,5 +20,4 @@
|
||||||
|
|
||||||
#define RETRO_TAPPING
|
#define RETRO_TAPPING
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
#define QUICK_TAP_TERM 0
|
||||||
#define QUICK_TAP_TERM 0
|
|
||||||
|
|
|
@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// Define options
|
// Define options
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
|
||||||
#define TAPPING_TERM 135
|
#define TAPPING_TERM 135
|
||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
#define TAPPING_TERM_PER_KEY
|
#define TAPPING_TERM_PER_KEY
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue