qmk-firmware/docs/zh-cn
Drashna Jaelre dab4967f1b
Add Dip Switch as a core feature (#6140)
* Add Dip Switches as a core feature

* Add documentation for Dip Switch feature

* Update Preonic Rev3 to use new feature and remove custom matrix

* Apply suggestions from code review

Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>

* Remove custom matrix line completely

Rather than just disabling it

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* DIP changes

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Use better check for DIP Switch configuration

* Add to show features

* Add bitmask callback for dip switch

* Fix OLKB Boards dip switch config

* Update docs to include bitmask example

* Fix comments/documentation

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Fix issues with docs and use example from @tuzonghua

* Fix wording

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Fix example to use proper formatting

Bad, BAAAAAAD drashna!!!

* Handle dip switch initialization better
2019-09-03 08:34:31 -07:00
..
_summary.md Add Dip Switch as a core feature (#6140) 2019-09-03 08:34:31 -07:00
contributing.md translate docs into Mandarin Chinese (#5807) 2019-05-11 09:22:16 -07:00
custom_quantum_functions.md docs to Mandarin Chinese (#5960) 2019-06-04 11:06:17 -07:00
faq_build.md Change from avr-gcc@7 to @8 for Mac 2019-06-05 17:51:39 -07:00
faq_debug.md Remove superfluous JTAG disable code (#6445) 2019-08-20 22:18:52 -07:00
faq_general.md docs to Mandarin Chinese (#5960) 2019-06-04 11:06:17 -07:00
faq_keymap.md translate docs into Mandarin Chinese (#5890) 2019-05-22 14:33:10 -07:00
faq.md translate docs into Mandarin Chinese (#5807) 2019-05-11 09:22:16 -07:00
getting_started_getting_help.md translate docs into Mandarin Chinese (#5807) 2019-05-11 09:22:16 -07:00
getting_started_github.md translate docs into Mandarin Chinese (#5807) 2019-05-11 09:22:16 -07:00
getting_started_introduction.md fix line endings 2019-05-04 10:17:46 -07:00
newbs_best_practices.md translate the first unit(newbs) (#5753) 2019-05-02 22:21:06 -07:00
newbs_building_firmware.md translate the first unit(newbs) (#5753) 2019-05-02 22:21:06 -07:00
newbs_flashing.md translate the first unit(newbs) (#5753) 2019-05-02 22:21:06 -07:00
newbs_getting_started.md translate the first unit(newbs) (#5753) 2019-05-02 22:21:06 -07:00
newbs_learn_more_resources.md translate the first unit(newbs) (#5753) 2019-05-02 22:21:06 -07:00
newbs_testing_debugging.md translate the first unit(newbs) (#5753) 2019-05-02 22:21:06 -07:00
newbs.md translate docs into Mandarin Chinese (#5807) 2019-05-11 09:22:16 -07:00
README.md Translate docs into Chinese (#5693) 2019-04-23 12:37:20 -07:00
reference_glossary.md docs to Mandarin Chinese (#5960) 2019-06-04 11:06:17 -07:00

QMK机械键盘固件

当前版本 开发状态 异议 文档状态 GitHub贡献者 GitHub分支

什么是 QMK 固件?

QMK (Quantum Mechanical Keyboard) 是一个社区维护的开源软件,包括 QMK 固件, QMK 工具箱, qmk.fm网站, 和这些文档。QMK 固件是一个基于tmk_keyboard的键盘固件它在爱特梅尔AVR微控制器实现一些有用的功能,确切地说, 是在 OLKB product line, 在 ErgoDox EZ 键盘, 和 Clueboard product line. 上。它被移植到使用ChibiOS的ARM芯片上. 它可以在飞线键盘或定制PCB键盘中发挥功能.

如何得到它

如果你打算贡献布局, 键盘, 或者其他QMK特性, 一下是最简单的方法:从Github获得repo分支, 并克隆你的repo到本地进行编辑推送然后从你的分支打开 Pull Request.

此外, 你也可以直接下载 (zip, tar), 或者从git克隆 (git@github.com:qmk/qmk_firmware.git), 或 https (https://github.com/qmk/qmk_firmware.git).

如何编译

在你能编译之前, 你需要部署环境 用于 AVR or/and ARM 开发。完成后, 你可以使用 make 命令来编译一个键盘和布局使用以下命令:

make planck/rev4:default

这将建立 planckrev4 修订版本并使用 default布局。并非所有键盘都有修订版本 (也叫做子项目或文件夹),在此情况下,修订版本可以省略,如下:

make preonic:default

如何定制

QMK 有许多 特性来探索,也有很多 参考文档 供您发掘。你可以通过修改 布局键码来利用许多特性。