diff options
| author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2019-11-12 07:27:48 +0900 |
|---|---|---|
| committer | James Young <18669334+noroadsleft@users.noreply.github.com> | 2019-11-11 14:27:48 -0800 |
| commit | 80713a8a5802dfc28fe0c602ae73b40e3de800d4 (patch) | |
| tree | 35f671ce76e925f1fb7defac4e374dd4f5225e29 /docs/ja/newbs_getting_started.md | |
| parent | f48986dda29f9ca4a88d4b4da9ba00dd7864914e (diff) | |
| download | qmk_firmware-80713a8a5802dfc28fe0c602ae73b40e3de800d4.tar.gz qmk_firmware-80713a8a5802dfc28fe0c602ae73b40e3de800d4.zip | |
Japanese translation of newbs.md and related documents. (#7300)
* add docs/ja/newbs.md
* Update docs/ja/newbs.md
* Updated newbs.md
* Updated newbs.md
* add docs/ja/newbs_learn_more_resources.md
* Update docs/ja/newbs.md
* update link info
他人まかせ :-)
* add docs/ja/newbs_testing_debugging.md
* Update docs/ja/newbs_testing_debugging.md
* Update docs/ja/newbs_testing_debugging.md
* add docs/ja/newbs_building_firmware.md
* update docs/ja/newbs_building_firmware.md
* Update docs/ja/newbs_testing_debugging.md
* Update docs/ja/newbs_building_firmware.md
* Update docs/ja/newbs_building_firmware.md
* Japanese translation of docs/newbs_getting_started.md
* renamed: docs/QMK入門.md -> docs/ja/newbs_getting_started.md
* update docs/ja/newbs_getting_started.md
* add ja/newbs_best_practices.md
There are no plans to translate this file.
With the completion of #7231, I will open a new PR.
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* add docs/ja/newbs_flashing.md
* add docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* update docs/ja/newbs_flashing.md
* change original log format
* update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_getting_started.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_building_firmware_configurator.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* Update docs/ja/newbs_flashing.md
* copy docs/_langs.md and docs/index.html from #7248
Co-Authored-By: shela <shelaf@users.noreply.github.com>
Co-Authored-By: takashiski <takashiskibb@gmail.com>
Co-Authored-By: Takuya Urakawa <urkwtky@gmail.com>
Diffstat (limited to 'docs/ja/newbs_getting_started.md')
| -rw-r--r-- | docs/ja/newbs_getting_started.md | 121 |
1 files changed, 121 insertions, 0 deletions
diff --git a/docs/ja/newbs_getting_started.md b/docs/ja/newbs_getting_started.md new file mode 100644 index 000000000..653922b6e --- /dev/null +++ b/docs/ja/newbs_getting_started.md | |||
| @@ -0,0 +1,121 @@ | |||
| 1 | # イントロダクション | ||
| 2 | |||
| 3 | <!--- | ||
| 4 | original document: docs/newbs_getting_started.md | ||
| 5 | $ git diff 161d469 HEAD docs/newbs_getting_started.md | ||
| 6 | --> | ||
| 7 | |||
| 8 | キーボードにはプロセッサが入っており、それはコンピュータに入っているものと大して違わないものです。 | ||
| 9 | このプロセッサでは、キーボードのボタンの押し下げの検出を担当しキーボードのどのボタンが押されている/離されているかのレポートをコンピュータに送信するソフトウェアが動作しています。 | ||
| 10 | QMK は、そのソフトウェアの役割を果たし、ボタンの押下を検出しその情報をホストコンピュータに渡します。 | ||
| 11 | カスタムキーマップを作るということは、キーボード上で動くプログラムを作るということなのです。 | ||
| 12 | |||
| 13 | QMK は、簡単なことは簡単に、そして、難しいことを可能なことにすることで、あなたの手にたくさんのパワーをもたらします。 | ||
| 14 | パワフルなキーマップを作るためにプログラムを作成する方法を知る必要はありません。いくつかのシンプルな文法に従うだけでOKです。 | ||
| 15 | |||
| 16 | # はじめに | ||
| 17 | |||
| 18 | キーマップをビルドする前に、いくつかのソフトウェアをインストールしてビルド環境を構築する必要があります。 | ||
| 19 | ファームウェアをコンパイルするキーボードの数に関わらず、この作業を一度だけ実行する必要があります。 | ||
| 20 | |||
| 21 | もし、GUI で作業をしたい場合、オンラインで作業できる [QMK Configurator](https://config.qmk.fm) を使ってください。 | ||
| 22 | 使い方は [Building Your First Firmware using the online GUI](newbs_building_firmware_configurator.md) を参照してください。 | ||
| 23 | |||
| 24 | ## ソフトウェアのダウンロード | ||
| 25 | |||
| 26 | ### テキストエディタ | ||
| 27 | |||
| 28 | GUI を使わない場合、プレーンテキストを編集・保存できるエディタが必要です。 | ||
| 29 | Windows の場合、メモ帳が使えます。Linux の場合、gedit が使えます。 | ||
| 30 | どちらもシンプルですが機能的なテキストエディタです。 | ||
| 31 | macOS では、デフォルトのテキストエディットアプリに注意してください。_フォーマット_ メニューから _標準テキストにする_ を選択しない限り、プレーンテキストとして保存されません。 | ||
| 32 | |||
| 33 | [Sublime Text](https://www.sublimetext.com/) や [VS Code](https://code.visualstudio.com/) のような専用のテキストエディタをダウンロードしてインストールすることもできます。これらのプログラムはコードを編集するために特別に作成されているため、これはプラットフォームに関係なくベストな方法です。 | ||
| 34 | |||
| 35 | ?> どのエディタを使えば良いか分からない場合、Laurence Bradford が書いたこの記事 [a great introduction](https://learntocodewith.me/programming/basics/text-editors/) を読んでください。 | ||
| 36 | |||
| 37 | ### QMK Toolbox | ||
| 38 | |||
| 39 | QMK Toolbox は、Windows と macOS で使える GUI を備えたプログラムで、カスタムキーボードのプログラミングとデバッグの両方ができます。 | ||
| 40 | このプログラムは、キーボードに簡単にファームウェアを書き込んだり、出力されるデバッグメッセージを確認する際に、かけがえのないものであることがわかるでしょう。 | ||
| 41 | |||
| 42 | [QMK Toolbox の最新版](https://github.com/qmk/qmk_toolbox/releases/latest) | ||
| 43 | |||
| 44 | * Windows 版: `qmk_toolbox.exe` (portable) または `qmk_toolbox_install.exe` (installer) | ||
| 45 | * macOS 版: `QMK.Toolbox.app.zip` (portable) または `QMK.Toolbox.pkg` (installer) | ||
| 46 | |||
| 47 | ## 環境構築 | ||
| 48 | |||
| 49 | 私たちは、QMK を可能な限り簡単に構築できるように努力しています。 | ||
| 50 | Linux か Unix 環境を用意するだけで、QMK に残りをインストールさせることができます。 | ||
| 51 | |||
| 52 | ?> もし、Linux か Unix のコマンドを使ったことがない場合、こちらで基本的な概念や各種コマンドを学んでください。これらの教材で QMK を使うのに必要なことを学ぶことができます。 | ||
| 53 | |||
| 54 | [Must Know Linux Commands](https://www.guru99.com/must-know-linux-commands.html)<br> | ||
| 55 | [Some Basic Unix Commands](https://www.tjhsst.edu/~dhyatt/superap/unixcmd.html) | ||
| 56 | |||
| 57 | ### Windows | ||
| 58 | |||
| 59 | MSYS2 と Git のインストールが必要です。 | ||
| 60 | |||
| 61 | * [MSYS2 homepage](http://www.msys2.org) の手順に従って MSYS2 をインストールします。 | ||
| 62 | * 開いている MSYS2 の全ターミナル画面を閉じて、新しい MSYS2 MinGW 64-bit のターミナル画面を開きます。 | ||
| 63 | * `pacman -S git` を実行して Git をインストールします。 | ||
| 64 | |||
| 65 | ### macOS | ||
| 66 | |||
| 67 | [Homebrew homepage](https://brew.sh) の手順に従って Homebrew をインストールしてください。 | ||
| 68 | |||
| 69 | Homebrew をインストールしたら、以下の _QMK の設定_ に進んでください。そのステップでは、他のパッケージをインストールするスクリプトを実行します。 | ||
| 70 | |||
| 71 | ### Linux | ||
| 72 | |||
| 73 | Git のインストールが必要です。既にインストールされている可能性は高いですが、そうでない場合、次のコマンドでインストールできます。 | ||
| 74 | |||
| 75 | * Debian / Ubuntu / Devuan: `apt-get install git` | ||
| 76 | * Fedora / Red Hat / CentOS: `yum install git` | ||
| 77 | * Arch: `pacman -S git` | ||
| 78 | |||
| 79 | ?> 全てのプラットフォームにおいて、Docker を使うことも可能です。[詳細はこちらをクリックしてください](getting_started_build_tools.md#docker)。 | ||
| 80 | |||
| 81 | ## QMK の設定 | ||
| 82 | |||
| 83 | Linux/Unix 環境が準備できたら QMK のダウンロードの準備は完了です。Git を使用して QMK のリポジトリを「クローン」することで QMK をダウンロードします。ターミナルか MSYS2 MinGW ウィンドウを開いて、このガイドの残りの部分では開いたままにします。そのウィンドウ内で、次の2つのコマンドを実行します。 | ||
| 84 | |||
| 85 | ```shell | ||
| 86 | git clone --recurse-submodules https://github.com/qmk/qmk_firmware.git | ||
| 87 | cd qmk_firmware | ||
| 88 | ``` | ||
| 89 | |||
| 90 | ?> 既に [GitHub の使いかた](getting_started_github.md)を知っているなら、clone ではなく fork を勧めます。この一文の意味が分からない場合、このメッセージは無視してかまいません。 | ||
| 91 | |||
| 92 | QMK には、必要な残りの設定を手助けするスクリプトが含まれています。 | ||
| 93 | セットアップ作業を完了させるため、次のコマンドを実行します。 | ||
| 94 | |||
| 95 | util/qmk_install.sh | ||
| 96 | |||
| 97 | ## ビルド環境の確認 | ||
| 98 | |||
| 99 | これで QMK のビルド環境が用意できましたので、キーボードのファームウェアをビルドできます。 | ||
| 100 | キーボードのデフォルトキーマップをビルドすることから始めます。次の形式のコマンドでビルドできるはずです。 | ||
| 101 | |||
| 102 | make <keyboard>:default | ||
| 103 | |||
| 104 | 例)Clueboard 66% のファームウェアをビルドする | ||
| 105 | |||
| 106 | make clueboard/66/rev3:default | ||
| 107 | |||
| 108 | 大量の出力の最後に次のように出力されると完了です。 | ||
| 109 | |||
| 110 | ``` | ||
| 111 | Linking: .build/clueboard_66_rev3_default.elf [OK] | ||
| 112 | Creating load file for flashing: .build/clueboard_66_rev3_default.hex [OK] | ||
| 113 | Copying clueboard_66_rev3_default.hex to qmk_firmware folder [OK] | ||
| 114 | Checking file size of clueboard_66_rev3_default.hex [OK] | ||
| 115 | * The firmware size is fine - 26356/28672 (2316 bytes free) | ||
| 116 | ``` | ||
| 117 | |||
| 118 | # キーマップの作成 | ||
| 119 | |||
| 120 | これであなた専用のキーマップを作成する準備ができました! | ||
| 121 | 次は [Building Your First Firmware](newbs_building_firmware.md) で専用のキーマップを作成します。 | ||
