aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorumi <57262844+umi-umi@users.noreply.github.com>2020-06-10 21:04:39 +0900
committerGitHub <noreply@github.com>2020-06-10 21:04:39 +0900
commitb7cb4111ea1804b90dfe2ab402b1776ae4d07d26 (patch)
treed9c2ecd6a5dcc2555ba649757be9f453d8a18146
parent184c362324171a77e108fe29058fa51c438d04b4 (diff)
downloadqmk_firmware-b7cb4111ea1804b90dfe2ab402b1776ae4d07d26.tar.gz
qmk_firmware-b7cb4111ea1804b90dfe2ab402b1776ae4d07d26.zip
[Docs] Japanese translation of docs/feature_wpm.md (#9254)
* add feature_wpm.md translation * update based on comment * update based on comment * update based on comment
-rw-r--r--docs/ja/feature_wpm.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/ja/feature_wpm.md b/docs/ja/feature_wpm.md
new file mode 100644
index 000000000..3cb5e58fc
--- /dev/null
+++ b/docs/ja/feature_wpm.md
@@ -0,0 +1,24 @@
1# Word Per Minute (WPM) の計算
2
3<!---
4 original document: 0.9.0:docs/feature_wpm.md
5 git diff 0.9.0 HEAD -- docs/feature_wpm.md | cat
6-->
7
8WPM 機能は、キーストローク間の時間から1分あたりの平均(移動平均)単語数を計算し、様々な用途で利用できるようにします。
9
10`rules.mk` に以下を追加することで WPM システムを有効にします:
11
12 WPM_ENABLE = yes
13
14ソフトシリアルを使っている分割キーボードについては、計算された WPM スコアがマスター側とスレーブ側で利用可能です。
15
16## 公開関数
17
18`uint8_t get_current_wpm(void);`
19この関数は符号なし整数で現在の WPM を返します。
20
21
22## WPM 計算のためのカスタマイズ化されたキー
23
24デフォルトでは、WPM スコアは文字、空白、およびいくつかの句読点のみを含みます。WPM の計算に含むとみなす文字セットを変更したい場合は、`wpm_keycode_user(uint16_t keycode)` を実装し、計算に含めたい文字について true を返し、計算しない特定のキーコードに false を返すようにします。