diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/feature_debounce_type.md | 17 | ||||
| -rw-r--r-- | docs/ja/feature_debounce_type.md | 17 |
2 files changed, 0 insertions, 34 deletions
diff --git a/docs/feature_debounce_type.md b/docs/feature_debounce_type.md index 306185fe8..f37a785b1 100644 --- a/docs/feature_debounce_type.md +++ b/docs/feature_debounce_type.md | |||
| @@ -92,15 +92,6 @@ susceptible to noise, you must choose a debounce method that will also mitigate | |||
| 92 | ## Debounce algorithms supported by QMK | 92 | ## Debounce algorithms supported by QMK |
| 93 | 93 | ||
| 94 | QMK supports multiple debounce algorithms through its debounce API. | 94 | QMK supports multiple debounce algorithms through its debounce API. |
| 95 | The logic for which debounce method called is below. It checks various defines that you have set in ```rules.mk``` | ||
| 96 | |||
| 97 | ``` | ||
| 98 | DEBOUNCE_DIR:= $(QUANTUM_DIR)/debounce | ||
| 99 | DEBOUNCE_TYPE?= sym_defer_g | ||
| 100 | ifneq ($(strip $(DEBOUNCE_TYPE)), custom) | ||
| 101 | QUANTUM_SRC += $(DEBOUNCE_DIR)/$(strip $(DEBOUNCE_TYPE)).c | ||
| 102 | endif | ||
| 103 | ``` | ||
| 104 | 95 | ||
| 105 | ### Debounce selection | 96 | ### Debounce selection |
| 106 | 97 | ||
| @@ -140,11 +131,3 @@ You have the option to implement you own debouncing algorithm. To do this: | |||
| 140 | * Debouncing occurs after every raw matrix scan. | 131 | * Debouncing occurs after every raw matrix scan. |
| 141 | * Use num_rows rather than MATRIX_ROWS, so that split keyboards are supported correctly. | 132 | * Use num_rows rather than MATRIX_ROWS, so that split keyboards are supported correctly. |
| 142 | * If the algorithm might be applicable to other keyboards, please consider adding it to ```quantum/debounce``` | 133 | * If the algorithm might be applicable to other keyboards, please consider adding it to ```quantum/debounce``` |
| 143 | |||
| 144 | ### Old names | ||
| 145 | The following old names for existing algorithms will continue to be supported, however it is recommended to use the new names instead. | ||
| 146 | |||
| 147 | * sym_g - old name for sym_defer_g | ||
| 148 | * eager_pk - old name for sym_eager_pk | ||
| 149 | * sym_pk - old name for sym_defer_pk | ||
| 150 | * eager_pr - old name for sym_eager_pr | ||
diff --git a/docs/ja/feature_debounce_type.md b/docs/ja/feature_debounce_type.md index 03f68d721..258ca194d 100644 --- a/docs/ja/feature_debounce_type.md +++ b/docs/ja/feature_debounce_type.md | |||
| @@ -88,15 +88,6 @@ voltage +---------------------- | |||
| 88 | ## QMK でサポートされるデバウンスアルゴリズム | 88 | ## QMK でサポートされるデバウンスアルゴリズム |
| 89 | 89 | ||
| 90 | QMK はデバウンス API を介して複数のデバウンスアルゴリズムをサポートします。 | 90 | QMK はデバウンス API を介して複数のデバウンスアルゴリズムをサポートします。 |
| 91 | どのデバウンスメソッドが呼ばれるかのロジックは下記のとおりです。```rules.mk``` で設定された様々な定義をチェックします。 | ||
| 92 | |||
| 93 | ``` | ||
| 94 | DEBOUNCE_DIR:= $(QUANTUM_DIR)/debounce | ||
| 95 | DEBOUNCE_TYPE?= sym_defer_g | ||
| 96 | ifneq ($(strip $(DEBOUNCE_TYPE)), custom) | ||
| 97 | QUANTUM_SRC += $(DEBOUNCE_DIR)/$(strip $(DEBOUNCE_TYPE)).c | ||
| 98 | endif | ||
| 99 | ``` | ||
| 100 | 91 | ||
| 101 | ### デバウンスの選択 | 92 | ### デバウンスの選択 |
| 102 | 93 | ||
| @@ -135,11 +126,3 @@ DEBOUNCE_TYPE = <アルゴリズムの名前> | |||
| 135 | * デバウンスは、全てのマトリクススキャンの後で発生します。 | 126 | * デバウンスは、全てのマトリクススキャンの後で発生します。 |
| 136 | * MATRIX_ROWS ではなく num_rows を使って、分割キーボードが正しくサポートされるようにします。 | 127 | * MATRIX_ROWS ではなく num_rows を使って、分割キーボードが正しくサポートされるようにします。 |
| 137 | * アルゴリズムが他のキーボードにも適用できる可能性がある場合、```quantum/debounce``` に追加することを検討してください。 | 128 | * アルゴリズムが他のキーボードにも適用できる可能性がある場合、```quantum/debounce``` に追加することを検討してください。 |
| 138 | |||
| 139 | ### 古い名前 | ||
| 140 | 次の既存のアルゴリズムの古い名前は引き続きサポートされますが、代わりに新しい名前を使うことを推奨します。 | ||
| 141 | |||
| 142 | * sym_g - sym_defer_g の古い名前 | ||
| 143 | * eager_pk - sym_eager_pk の古い名前 | ||
| 144 | * sym_pk - sym_defer_pk の古い名前 | ||
| 145 | * eager_pr - sym_eager_pr の古い名前 | ||
