Mark 'key_count' as optional within info.json docs (#10513)

* Update reference_info_json.md

key_count is now an optional field because it is better to get the keycount by counting the elements in the layout array.

* Updated Japanese documentation as well
This commit is contained in:
George Mao 2020-10-02 16:42:11 -07:00 committed by GitHub
parent eb4cf713bc
commit 9e9b604234
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@
* `height` * `height`
* オプション: キー単位でのレイアウトの高さ * オプション: キー単位でのレイアウトの高さ
* `key_count` * `key_count`
* **必須**: このレイアウトのキーの数 * オプション: このレイアウトのキーの数
* `layout` * `layout`
* 物理レイアウトを説明するキー辞書のリスト。詳細は次のセクションを見てください。 * 物理レイアウトを説明するキー辞書のリスト。詳細は次のセクションを見てください。

View file

@ -31,7 +31,7 @@ Within our `info.json` file the `layouts` portion of the dictionary contains sev
* `height` * `height`
* Optional: The height of the layout in Key Units * Optional: The height of the layout in Key Units
* `key_count` * `key_count`
* **Required**: The number of keys in this layout * Optional: The number of keys in this layout
* `layout` * `layout`
* A list of Key Dictionaries describing the physical layout. See the next section for more details. * A list of Key Dictionaries describing the physical layout. See the next section for more details.