mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 19:40:29 +08:00
a03aa301de
* disambiguate Bootmagic rules in keymaps The files edited by this commit were added at a point in time where `BOOTMAGIC_ENABLE = yes` enabled full Bootmagic. This commit edits the files to specify that full Bootmagic is intended. * remove BOOTMAGIC_ENABLE=full setting * unify commented BOOTMAGIC_ENABLE rules in keyboards Explicitly sets `BOOTMAGIC_ENABLE = no` in keyboards where the rule was commented out. Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;#[ \t]*\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-zA-Z]\+\).*;\1 = no # Virtual DIP switch configuration;g' {} + ``` * remove commented Bootmagic rules from keymap/user level Command: ``` find keyboards/ layouts/ users/ -type f -name 'rules.mk' -exec sed -i -e '/#.*\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*/d' {} + ``` * update keyboard BOOTMAGIC_ENABLE rule formatting Sets the formatting of BOOTMAGIC_ENABLE rules to `BOOTMAGIC_ENABLE = [value]`, without the inline comments (which will be replaced later). Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' + ``` * update keyboards' BOOTMAGIC_ENABLE settings Updates keyboard `rules.mk` files to use `BOOTMAGIC_ENABLE = lite` where `BOOTMAGIC_ENABLE = full` was being used. Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = \)full;\1lite;g' '{}' + ``` * update keymap/user BOOTMAGIC_ENABLE settings Updates keymap/user `rules.mk` files to use `BOOTMAGIC_ENABLE = lite` where `BOOTMAGIC_ENABLE = full` was being used. Commands: ``` find keyboards/ -type f -name 'rules.mk' -and -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE[ \t=]\+\)full;\1lite;g' '{}' + find layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE[ \t=]\+\)full;\1lite;g' '{}' + ``` * remove and replace inline comments in keyboards and keymap/user files Removes and replaces the inline comments, which have been updated to read `Enable Bootmagic Lite`. Commands: ``` find keyboards/ -type f -name 'rules.mk' -and -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' + find layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' + find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = lite\);\1 # Enable Bootmagic Lite;g' '{}' + find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = yes\);\1 # Enable Bootmagic Lite;g' '{}' + find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = no\);\1 # Enable Bootmagic Lite;g' '{}' + ``` * rename improperly named makefiles Some files intended to be used as makefiles had improper names causing them to not be used as intended when building. This commit corrects the filenames of the affected files. * update renamed file with new rule formatting * update QMK's template files Updates QMK's `rules.mk` templates to use the new inline comment. * update QMK Docs - remove documentation of full Bootmagic - update links to Bootmagic Lite doc - add doc for Magic Keycodes * rules.mk patch for coarse/ixora and coarse/vinta
72 lines
3.2 KiB
Markdown
72 lines
3.2 KiB
Markdown
# QMK Syllabus
|
|
|
|
This page helps you build up your QMK knowledge by introducing the basics first and guiding you to understanding all the concepts you need to know to be proficient with QMK.
|
|
|
|
# Beginning Topics
|
|
|
|
If you read nothing else you should read the documents in this section. After reading the [Tutorial](newbs.md) you should be able to create a basic keymap, compile it, and flash it to your keyboard. The remaining documents will flesh out your knowledge of these basics.
|
|
|
|
* **Learn How To Use QMK Tools**
|
|
* [Tutorial](newbs.md)
|
|
* [CLI](cli.md)
|
|
* [GIT](newbs_git_best_practices.md)
|
|
* **Learn About Keymaps**
|
|
* [Layers](feature_layers.md)
|
|
* [Keycodes](keycodes.md)
|
|
* The full list of keycodes you can use. Note that some may require knowledge found in the Intermediate or Advanced Topics.
|
|
* **Configuring IDEs** - Optional
|
|
* [Eclipse](other_eclipse.md)
|
|
* [VS Code](other_vscode.md)
|
|
|
|
# Intermediate Topics
|
|
|
|
These topics start to dig into some of the features that QMK supports. You don't have to read all of these documents, but some of the documents in the Advanced Topics section won't make sense if you skip over some of these.
|
|
|
|
* **Learn How To Configure Features**
|
|
<!-- * Configuration Overview FIXME(skullydazed/anyone): write this document -->
|
|
* [Audio](feature_audio.md)
|
|
* Lighting
|
|
* [Backlight](feature_backlight.md)
|
|
* [LED Matrix](feature_led_matrix.md)
|
|
* [RGB Lighting](feature_rgblight.md)
|
|
* [RGB Matrix](feature_rgb_matrix.md)
|
|
* [Tap-Hold Configuration](tap_hold.md)
|
|
* **Learn More About Keymaps**
|
|
* [Keymaps](keymap.md)
|
|
* [Custom Functions and Keycodes](custom_quantum_functions.md)
|
|
* Macros
|
|
* [Dynamic Macros](feature_dynamic_macros.md)
|
|
* [Compiled Macros](feature_macros.md)
|
|
* [Tap Dance](feature_tap_dance.md)
|
|
* [Combos](feature_combo.md)
|
|
* [Userspace](feature_userspace.md)
|
|
* [Key Overrides](feature_key_overrides.md)
|
|
|
|
# Advanced Topics
|
|
|
|
Everything below here requires a lot of foundational knowledge. Besides being able to create keymaps using advanced features you should be familiar with using both `config.h` and `rules.mk` to configure options for your keyboard.
|
|
|
|
* **Maintaining Keyboards Within QMK**
|
|
* [Handwiring a Keyboard](hand_wire.md)
|
|
* [Keyboard Guidelines](hardware_keyboard_guidelines.md)
|
|
* [info.json Reference](reference_info_json.md)
|
|
* [Debounce API](feature_debounce_type.md)
|
|
* **Advanced Features**
|
|
* [Unicode](feature_unicode.md)
|
|
* [API](api_overview.md)
|
|
* [Bootmagic Lite](feature_bootmagic.md)
|
|
* **Hardware**
|
|
* [How Keyboards Work](how_keyboards_work.md)
|
|
* [How A Keyboard Matrix Works](how_a_matrix_works.md)
|
|
* [Split Keyboards](feature_split_keyboard.md)
|
|
* [Stenography](feature_stenography.md)
|
|
* [Pointing Devices](feature_pointing_device.md)
|
|
* **Core Development**
|
|
* [Coding Conventions](coding_conventions_c.md)
|
|
* [Compatible Microcontrollers](compatible_microcontrollers.md)
|
|
* [Custom Matrix](custom_matrix.md)
|
|
* [Understanding QMK](understanding_qmk.md)
|
|
* **CLI Development**
|
|
* [Coding Conventions](coding_conventions_python.md)
|
|
* [CLI Development Overview](cli_development.md)
|