Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Japanese translation of docs/quantum_keycodes.md #10137

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add quantum_keycodes.md translation
  • Loading branch information
umi-umi committed Aug 23, 2020
commit 391851cb4037be0dd50894bd2aa64e394b62fe77
20 changes: 20 additions & 0 deletions docs/ja/quantum_keycodes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Quantum キーコード

<!---
original document: 0.9.55:docs/quantum_keycodes.md
git diff 0.9.55 HEAD -- docs/quantum_keycodes.md | cat
-->

Quantum キーコードにより、カスタムアクションを定義することなく、基本的のものが提供するものより簡単にキーマップをカスタマイズすることができます。
umi-umi marked this conversation as resolved.
Show resolved Hide resolved

quantum 内の全てのキーコードは `0x0000` と `0xFFFF` の間の数値です。`keymap.c` の中では、関数やその他の特別な場合があるように見えますが、最終的には C プリプロセッサによってそれらは単一の4バイト整数に変換されます。QMK は標準的なキーコードのために `0x0000` から `0x00FF` を予約しています。これらは、`KC_A`、`KC_1` および `KC_LCTL` のようなキーコードです。これらは USB HID 仕様で定義された基本的なキーです。
umi-umi marked this conversation as resolved.
Show resolved Hide resolved

このページでは、高度な quantum 機能を実装するために使われる `0x00FF` と `0xFFFF` の間のキーコードを説明します。独自のカスタムキーコードを定義する場合は、それらもこの範囲に配置されます。

## QMK キーコード :id=qmk-keycodes

| キー | エイリアス | 説明 |
|----------------|------------|--------------------------------------------------------|
| `RESET` | | 書き込みのために、キーボードを bootloader モードにする |
| `DEBUG` | | デバッグモードの切り替え |
| `EEPROM_RESET` | `EEP_RST` | キーボードの EEPROM (永続化メモリ) を再初期化する |