Skip to content

Commit 2662af2

Browse files
committed
add zh-cn doc link
1 parent 3e028c3 commit 2662af2

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

docs/getting-started.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ M60 is a compact keyboard. It has a keymap composed of multiple layers, which is
44

55
![](https://gitee.com/makerdiary/python-keyboard/raw/resource/img/layer0.svg)
66

7+
## Keymap
8+
79
As the 60% keyboard lacks a lot of keys such as F1~F12 and arrow keys, <kbd>Fn</kbd> is used to activate a new layer.
810
When holding <kbd>Fn</kbd> down, the following keys are activated.
911

@@ -15,7 +17,7 @@ When holding <kbd>Fn</kbd> down, the following keys are activated.
1517

1618
Except <kbd>Fn</kbd>, a normal key can be used as a Tap-key, which is holding a key down to activate an alternate function.
1719

18-
## Using <kbd>B</kbd> to configure Bluetooth and USB
20+
### Using <kbd>B</kbd> to configure Bluetooth and USB
1921

2022
<kbd>B</kbd> is used as a Tap-key to configure Bluetooth and USB. Taping <kbd>B</kbd> outputs `b` (press & release quickly). Holding <kbd>B</kbd> down activates another new layer. With the layer, the following functions are available:
2123

@@ -36,7 +38,7 @@ Except <kbd>Fn</kbd>, a normal key can be used as a Tap-key, which is holding a
3638
+ <kbd>D</kbd> + <kbd>U</kbd> → <kbd>PgUp</kbd>
3739
+ <kbd>D</kbd> + <kbd>N</kbd> → <kbd>PgDn</kbd>
3840

39-
## Using <kbd>;</kbd> as <kbd>Ctrl</kbd>
41+
### Using <kbd>;</kbd> as <kbd>Ctrl</kbd>
4042

4143
<kbd>;</kbd> is another type of Tap-key. Taping <kbd>;</kbd> outputs `;`. However, holding <kbd>;</kbd> down outputs `Ctrl` instead of activating a layer.
4244

@@ -48,7 +50,7 @@ Except <kbd>Fn</kbd>, a normal key can be used as a Tap-key, which is holding a
4850
+ <kbd>;</kbd> + <kbd>a</kbd> = <kbd>Ctrl</kbd> + <kbd>a</kbd>
4951

5052

51-
### Using Pair-keys
53+
## Using Pair-keys
5254

5355
Simultaneously pressing two keys (interval less than 10ms) activates an alternate function.
5456
By default, <kbd>J</kbd> <kbd>K</kbd> are used as a pair-keys. When simultaneously pressing <kbd>J</kbd> and <kbd>K</kbd> in a text editor, it will output a pre-defined string.

docs/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# M60 Mechanical Keyboard
22

3+
**En** | [中文][1]
4+
35
M60 is a hot-swappable 60% Keyboard with USB, BLE 5.0 and RGB backlight. It is highly configurable and extensible.
46
It can run Python code saved in its USB storage, which makes it super powerful. It has very low power consumption and only needs about 160uA current when connected to a computer via Bluetooth. It is one of the lowest latency USB keyboards.
57

@@ -34,3 +36,5 @@ It can run Python code saved in its USB storage, which makes it super powerful.
3436
|Battery Connector| JST 1.25mm 3-Pin |
3537
| RF Antennas | 2.4GHz Cabled PCB Antenna, NFC Cabled PCB Antenna |
3638
| Dimensions | 285 mm x 94.6 mm |
39+
40+
[1]: https://gitee.com/makerdiary/python-keyboard/wikis/pages

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ nav:
136136
- Pair-Keys: pair-keys.md
137137
- Upgrade: upgrade_firmware.md
138138
- Contributing: CONTRIBUTING.md
139+
- 中文: https://gitee.com/makerdiary/python-keyboard/wikis/pages
139140

140141
# Google Analytics
141142
google_analytics:

0 commit comments

Comments
 (0)