aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-07-07 15:57:18 -0400
committerGitHub <noreply@github.com>2017-07-07 15:57:18 -0400
commit0787d70e55a668244445d9328f3cda2303cc6877 (patch)
treed2134fc159433f3cf4967d831a6b30de5630f744
parent9de443cbf10ac41bc15762c9c83f138f51dd3b9a (diff)
parentecd3dbf085826459af9728b6529a504ba7d3de14 (diff)
downloadqmk_firmware-0787d70e55a668244445d9328f3cda2303cc6877.tar.gz
qmk_firmware-0787d70e55a668244445d9328f3cda2303cc6877.zip
Updates Documentation from #1444
-rw-r--r--book.json47
-rw-r--r--docs/README.md25
-rw-r--r--docs/_summary.md69
-rw-r--r--docs/adding_features_to_qmk.md17
-rw-r--r--docs/basic_how_keyboards_work.md58
-rw-r--r--docs/basic_keycodes.md186
-rw-r--r--docs/build_environment_setup.md30
-rw-r--r--docs/build_guide.md103
-rw-r--r--docs/build_old.md187
-rw-r--r--docs/config_options.md133
-rw-r--r--docs/custom_quantum_functions.md139
-rw-r--r--docs/cygwin_guide.md352
-rw-r--r--docs/differences_from_tmk.md7
-rw-r--r--docs/documentation_best_practices.md39
-rw-r--r--docs/eclipse.md4
-rw-r--r--docs/embedding.md64
-rw-r--r--docs/faq.md72
-rw-r--r--docs/faq_build.md63
-rw-r--r--docs/faq_keymap.md94
-rw-r--r--docs/features/README.md (renamed from docs/home.md)33
-rw-r--r--docs/git_subtree.md7
-rw-r--r--docs/glossary.md29
-rw-r--r--docs/hand_wire.md66
-rw-r--r--docs/hhkb_alt_controller.md5
-rw-r--r--docs/how_to_github.md63
-rw-r--r--docs/key_functions.md23
-rw-r--r--docs/keycodes.md219
-rw-r--r--docs/keymap_config_h_example.h8
-rw-r--r--docs/keymap_examples.md37
-rw-r--r--docs/keymap_makefile_example.mk21
-rw-r--r--docs/keymap_old.md685
-rw-r--r--docs/kiibohd.asciidoc29
-rw-r--r--docs/license_clarification.md38
-rw-r--r--docs/license_clarification_details.md1272
-rw-r--r--docs/macros.md8
-rw-r--r--docs/make_instructions.md6
-rw-r--r--docs/mbed_cortex_porting.md36
-rw-r--r--docs/memory_write_error,_use_debug_for_more_info.md21
-rw-r--r--docs/mouse_keys.md86
-rw-r--r--docs/other_projects.md62
-rw-r--r--docs/pcb_guide.md151
-rw-r--r--docs/previously_asked_questions.asciidoc14
-rw-r--r--docs/quantum_keycodes.md349
-rw-r--r--docs/report_descriptor.md1
-rw-r--r--docs/tap_dance.md8
-rw-r--r--docs/test_for_asciidoc.asciidoc17
-rw-r--r--docs/tmk_based_projects.md34
-rw-r--r--docs/tmk_own_projects.md69
-rw-r--r--docs/tmk_readme.md243
-rw-r--r--docs/understanding_qmk.md172
-rw-r--r--docs/unicode.md (renamed from docs/unicode_and_additional_language_support.md)12
-rw-r--r--docs/usb_hid.md11
-rw-r--r--docs/vagrant_guide.md18
53 files changed, 1426 insertions, 4116 deletions
diff --git a/book.json b/book.json
index ff19e2974..887d2a643 100644
--- a/book.json
+++ b/book.json
@@ -1,24 +1,39 @@
1{ 1{
2 "structure": { 2 "structure": {
3 "readme": "home.md",
4 "summary": "_summary.md" 3 "summary": "_summary.md"
5 }, 4 },
6 "plugins" : ["toolbar", "edit-link", "anchors"], 5 "plugins" : [
6 "anchors",
7 "edit-link",
8 "forkmegithub",
9 "git-author",
10 "hints",
11 "numbered-headings",
12 "page-toc",
13 "terminal",
14 "toolbar"
15 ],
7 "pluginsConfig": { 16 "pluginsConfig": {
8 "edit-link": { 17 "edit-link": {
9 "base": "https://github.com/qmk/qmk_firmware/edit/master/docs", 18 "base": "https://github.com/qmk/qmk_firmware/edit/master/docs",
10 "label": "Suggest an edit" 19 "label": "Suggest an edit"
11 }, 20 },
12 "toolbar": { 21 "forkmegithub": {
13 "buttons": 22 "color": "red",
14 [ 23 "url": "https://github.com/qmk/qmk_firmware"
15 { 24 },
16 "label": "QMK Firmware", 25 "page-toc": {
17 "icon": "fa fa-github", 26 "selector": ".markdown-section h1, .markdown-section h2"
18 "url": "https://github.com/qmk/qmk_firmware" 27 },
19 } 28 "toolbar": {
20 ] 29 "buttons": [
21 } 30 {
31 "label": "QMK Firmware",
32 "icon": "fa fa-github",
33 "url": "https://github.com/qmk/qmk_firmware"
34 }
35 ]
36 }
22 }, 37 },
23 "root": "./docs/" 38 "root": "./docs/"
24} 39}
diff --git a/docs/README.md b/docs/README.md
new file mode 100644
index 000000000..06597a2b6
--- /dev/null
+++ b/docs/README.md
@@ -0,0 +1,25 @@
1# Quantum Mechanical Keyboard Firmware
2
3## What is QMK Firmware? {#what-is-qmk-firmware}
4
5QMK (*Quantum Mechanical Keyboard*) is an open source community that maintains QMK Firmware, QMK Flasher, qmk.fm, and these docs. QMK Firmware is a keyboard firmware based on the [tmk\_keyboard](http://github.com/tmk/tmk_keyboard) with some useful features for Atmel AVR controllers, and more specifically, the [OLKB product line](http://olkb.com), the [ErgoDox EZ](http://www.ergodox-ez.com) keyboard, and the [Clueboard product line](http://clueboard.co/). It has also been ported to ARM chips using ChibiOS. You can use it to power your own hand-wired or custom keyboard PCB.
6
7## How to get it {#how-to-get-it}
8
9If you plan on contributing a keymap, keyboard, or features to QMK, the easiest thing to do is [fork the repo through Github](https://github.com/qmk/qmk_firmware#fork-destination-box), and clone your repo locally to make your changes, push them, then open a [Pull Request](https://github.com/qmk/qmk_firmware/pulls) from your fork.
10
11Otherwise, you can either download it directly ([zip](https://github.com/qmk/qmk_firmware/zipball/master), [tar](https://github.com/qmk/qmk_firmware/tarball/master)), or clone it via git (`git@github.com:qmk/qmk_firmware.git`), or https (`https://github.com/qmk/qmk_firmware.git`).
12
13## How to compile {#how-to-compile}
14
15Before you are able to compile, you'll need to [install an environment](build_environment_setup.md) for AVR or/and ARM development. Once that is complete, you'll use the `make` command to build a keyboard and keymap with the following notation:
16
17 make planck-rev4-default
18
19This would build the `rev4` revision of the `planck` with the `default` keymap. Not all keyboards have revisions (also called subprojects), in which case, it can be omitted:
20
21 make preonic-default
22
23## How to customize {#how-to-customize}
24
25QMK has lots of [features](features/README.md) to explore, and a good deal of [reference documentation](reference/README.md) to dig through. Most features are taken advantage of by modifying your [keymap](keymap.md), and changing the [keycodes](keycodes.md).
diff --git a/docs/_summary.md b/docs/_summary.md
index c5e29cb52..8a649a337 100644
--- a/docs/_summary.md
+++ b/docs/_summary.md
@@ -1,32 +1,45 @@
1* [Getting started](README.md)
2 * [QMK Overview](qmk_overview.md)
3 * [Build Environment Setup](build_environment_setup.md)
4 * [Vagrant Guide](vagrant_guide.md)
5 * [Make instructions](make_instructions.md)
6 * [FAQ: Creating a Keymap](faq_keymap.md)
7 * [FAQ: Compiling QMK](faq_build.md)
8 * [How to Github](how_to_github.md)
1 9
2### Getting started 10* [Features](features/README.md)
3* [Introduction](home.md) 11 * [Layer switching](key_functions.md)
4* [QMK Overview](qmk_overview.md) 12 * [Leader Key](leader_key.md)
5* [Build Environment Setup](build_environment_setup.md) 13 * [Macros](macros.md)
6* [Make instructions](make_instructions.md) 14 * [Dynamic Macros](dynamic_macros.md)
15 * [Space Cadet](space_cadet_shift.md)
16 * [Tap Dance](tap_dance.md)
17 * [Mouse keys](mouse_keys.md)
18 * [Unicode](unicode.md)
7 19
8### Making a keymap 20* Reference
9* [Keymap overview](keymap.md) 21 * [Glossary](glossary.md)
10* [Custom Quantum Functions](custom_quantum_functions.md) 22 * [Keymap overview](keymap.md)
11* [Keycodes](keycodes.md) 23 * [Keycodes](keycodes.md)
12* [Layer switching](key_functions.md) 24 * [Basic Keycodes](basic_keycodes.md)
13* [Leader Key](leader_key.md) 25 * [Quantum Keycodes](quantum_keycodes.md)
14* [Macros](macros.md) 26 * [The `config.h` File](config_options.md)
15* [Dynamic Macros](dynamic_macros.md) 27 * [Customizing Functionality](custom_quantum_functions.md)
16* [Space Cadet](space_cadet_shift.md) 28 * [Documentation Best Practices](documentation_best_practices.md)
17* [Tap Dance](tap_dance.md) 29 * [Unit Testing](unit_testing.md)
18* [Mouse keys](mouse_keys.md)
19* [FAQ: Creating a Keymap](faq_keymap.md)
20* [FAQ: Compiling QMK](faq_build.md)
21 30
22### For hardware makers and modders 31* For Makers and Modders
23* [Adding a keyboard to QMK](adding_a_keyboard_to_qmk.md) 32 * [Adding a keyboard to QMK](adding_a_keyboard_to_qmk.md)
24* [Porting your keyboard to QMK](porting_your_keyboard_to_qmk.md) 33 * [Adding features to QMK](adding_features_to_qmk.md)
25* [Modding your keyboard](modding_your_keyboard.md) 34 * [Hand Wiring Guide](hand_wiring.md)
26* [Adding features to QMK](adding_features_to_qmk.md) 35 * [ISP flashing guide](isp_flashing_guide.md)
27* [ISP flashing guide](isp_flashing_guide.md) 36 * [Modding your keyboard](modding_your_keyboard.md)
37 * [Porting your keyboard to QMK](porting_your_keyboard_to_qmk.md)
38
39* For a Deeper Understanding
40 * [How Keyboards Work](basic_how_keyboards_work.md)
41 * [Understanding QMK](understanding_qmk.md)
28 42
29### Other topics 43* Other Topics
30* [General FAQ](faq.md) 44 * [General FAQ](faq.md)
31* [Differences from TMK](differences_from_tmk.md) 45 * [Using Eclipse with QMK](eclipse.md)
32* [Using Eclipse with QMK](eclipse.md)
diff --git a/docs/adding_features_to_qmk.md b/docs/adding_features_to_qmk.md
index f6f7cba20..fb036496c 100644
--- a/docs/adding_features_to_qmk.md
+++ b/docs/adding_features_to_qmk.md
@@ -1,7 +1,16 @@
1If you have an idea for a custom feature or extra hardware connection, we'd love to accept it into QMK! These are generally done via [pull request](https://github.com/qmk/qmk_firmware/pulls) after forking, and here are some things to keep in mind when creating one: 1# How To Add Features To QMK
2 2
3* **Disable by default** - memory is a pretty limited on most chips QMK supports, and it's important that current keymaps aren't broken, so please allow your feature to be turned **on**, rather than being turned off. If you think it should be on by default, or reduces the size of the code, [open an issue](https://github.com/qmk/qmk_firmware/issues) for everyone to discuss it! 3If you have an idea for a custom feature or extra hardware connection, we'd love to accept it into QMK!
4
5Before you put a lot of work into building your new feature you should make sure you are implementing it in the best way. You can get a basic understanding of QMK by reading [Understaning QMK](understanding_qmk.html), which will take you on a tour of the QMK program flow. From here you should talk to us to get a sense of the best way to implement your idea. There are two main ways to do this:
6
7* [Chat on Gitter](https://gitter.im/qmk/qmk_firmware)
8* [Open an Issue](https://github.com/qmk/qmk_firmware/issues/new)
9
10Once you have implemented your new feature you will generally submit a [pull request](https://github.com/qmk/qmk_firmware/pulls). Here are some things to keep in mind when creating one:
11
12* **Disabled by default** - memory is a pretty limited on most chips QMK supports, and it's important that current keymaps aren't broken, so please allow your feature to be turned **on**, rather than being turned off. If you think it should be on by default, or reduces the size of the code, please talk with us about it.
4* **Compile locally before submitting** - hopefully this one is obvious, but things need to compile! Our Travis system will catch any issues, but it's generally faster for you to compile a few keyboards locally instead of waiting for the results to come back. 13* **Compile locally before submitting** - hopefully this one is obvious, but things need to compile! Our Travis system will catch any issues, but it's generally faster for you to compile a few keyboards locally instead of waiting for the results to come back.
5* **Consider subprojects and different chip-bases** - there are several keyboards that have subprojects that have allow for slightly different configurations, and even different chip-bases. Try to make a feature supported in ARM and AVR, or automatically disabled in one that doesn't work. 14* **Consider subprojects and different chip-bases** - there are several keyboards that have subprojects that have allow for slightly different configurations, and even different chip-bases. Try to make a feature supported in ARM and AVR, or automatically disabled in one that doesn't work.
6* **Explain your feature** - submitting a markdown write-up of what your feature does with your PR may be needed, and it will allow a collaborator to easily copy it into the wiki for documentation (after proofing and editing). 15* **Explain your feature** - Document it in `docs/`, either as a new file or as part of an existing file. If you don't document it other people won't be able to benefit from your hard work.
7* **Don't refactor code** - to maintain a clear vision of how things are laid out in QMK, we try to plan out refactors in-depth, and have a collaborator make the changes. If you have an idea for refactoring, or suggestions, [open an issue](https://github.com/qmk/qmk_firmware/issues). \ No newline at end of file 16* **Don't refactor code** - to maintain a clear vision of how things are laid out in QMK, we try to plan out refactors in-depth, and have a collaborator make the changes. If you have an idea for refactoring, or suggestions, [open an issue](https://github.com/qmk/qmk_firmware/issues).
diff --git a/docs/basic_how_keyboards_work.md b/docs/basic_how_keyboards_work.md
index 73c3f5c5f..3969c5680 100644
--- a/docs/basic_how_keyboards_work.md
+++ b/docs/basic_how_keyboards_work.md
@@ -23,20 +23,14 @@ in the next sections.
23Whenever you press a key, the firmware of your keyboard can register this event. 23Whenever you press a key, the firmware of your keyboard can register this event.
24It can register when the key is pressed, held and released. 24It can register when the key is pressed, held and released.
25 25
26This usually happens with a [periodic scan of key presses with a frequency around 100 hz](https://github.com/benblazak/ergodox-firmware/blob/master/references.md#typical-keyboard-information). 26This usually happens with a periodic scan of key presses. This speed often is limited by the mechanical key response time, the protocol to transfer those key presses (here USB HID), and by the software it is used in.
27This speed often is limited by the mechanical key response time, the protocol
28to transfer those key presses (here USB HID), and by the software it is used in.
29 27
30## 2. What the Firmware Sends 28## 2. What the Firmware Sends
31 29
32The [HID specification](http://www.usb.org/developers/hidpage/Hut1_12v2.pdf) 30The [HID specification](http://www.usb.org/developers/hidpage/Hut1_12v2.pdf) tells what a keyboard can actually send through USB to have a chance to be properly recognised. This includes a pre-defined list of scancodes which are simple numbers from `0x00` to `0xE7`. The firmware assigns a scancode to each key of the keyboard.
33tells what a keyboard can actually send through USB to have a chance to be
34properly recognised. This includes a pre-defined list of keycodes which are
35simple numbers from `0x00` to `0xE7`. The firmware assigns a keycode to each
36key of the keyboard.
37 31
38The firmware does not send actually letters or characters, but only keycodes. 32The firmware does not send actually letters or characters, but only scancodes.
39Thus, by modifying the firmware, you only can modify what keycode is sent over 33Thus, by modifying the firmware, you only can modify what scancode is sent over
40USB for a given key. 34USB for a given key.
41 35
42## 3. What the Operating System Does 36## 3. What the Operating System Does
@@ -45,49 +39,31 @@ Once the keycode reaches the operating system, a piece of software has to have
45it match an actual character thanks to a keyboard layout. For example, if your 39it match an actual character thanks to a keyboard layout. For example, if your
46layout is set to QWERTY, a sample of the matching table is as follow: 40layout is set to QWERTY, a sample of the matching table is as follow:
47 41
48``` text
49| keycode | character | 42| keycode | character |
50|---------+-----------| 43|---------|-----------|
51| 0x04 | a/A | 44| 0x04 | a/A |
52| 0x05 | b/B | 45| 0x05 | b/B |
53| 0x06 | c/C | 46| 0x06 | c/C |
54| ... | ... | 47| ... | ... |
55| 0x1C | y/Y | 48| 0x1C | y/Y |
56| 0x1D | z/Z | 49| 0x1D | z/Z |
57| ... | ... | 50| ... | ... |
58|---------+-----------|
59```
60 51
61## Back to the firmware 52## Back to the firmware
62 53
63As the layout is generally fixed (unless you create your own), the firmware can 54As the layout is generally fixed (unless you create your own), the firmware can actually call a keycode by its layout name directly to ease things for you. This is exactly what is done here with `KC_A` actually representing `0x04` in QWERTY. The full list can be found in `keycode.txt`.
64actually call a keycode by its layout name directly to ease things for you.
65
66This is exactly what is done here with `KC_A` actually representing `0x04` in
67QWERTY. The full list can be found in `keycode.txt`.
68 55
69## List of Characters You Can Send 56## List of Characters You Can Send
70 57
71Putting aside shortcuts, having a limited set of keycodes mapped to a limited 58Putting aside shortcuts, having a limited set of keycodes mapped to a limited layout means that **the list of characters you can assign to a given key only is the ones present in the layout**.
72layout means that **the list of characters you can assign to a given key only
73is the ones present in the layout**.
74 59
75For example, this means that if you have a QWERTY US layout, and you want to 60For example, this means that if you have a QWERTY US layout, and you want to assign 1 key to produce `€` (euro currency symbol), you are unable to do so, because the QWERTY US layout does not have such mapping. You could fix that by using a QWERTY UK layout, or a QWERTY US International.
76assign 1 key to produce `€` (euro currency symbol), you are unable to do so,
77because the QWERTY US layout does not have such mapping. You could fix that by
78using a QWERTY UK layout, or a QWERTY US International.
79 61
80You may wonder why a keyboard layout containing all of Unicode is not devised 62You may wonder why a keyboard layout containing all of Unicode is not devised then? The limited number of keycode available through USB simply disallow such a thing.
81then? The limited number of keycode available through USB simply disallow such
82a thing.
83 63
84## How to (Maybe) Enter Unicode Characters 64## How to (Maybe) Enter Unicode Characters
85 65
86You can have the firmware send *sequences of keys* to use the [software Unicode 66You can have the firmware send *sequences of keys* to use the [software Unicode Input Method](https://en.wikipedia.org/wiki/Unicode_input#Hexadecimal_code_input) of the target operating system, thus effectively entering characters independently of the layout defined in the OS.
87Input
88Method](https://en.wikipedia.org/wiki/Unicode_input#Hexadecimal_code_input) of
89the target operating system, thus effectively entering characters independently
90of the layout defined in the OS.
91 67
92Yet, it does come with multiple disadvantages: 68Yet, it does come with multiple disadvantages:
93 69
diff --git a/docs/basic_keycodes.md b/docs/basic_keycodes.md
new file mode 100644
index 000000000..2be3ada15
--- /dev/null
+++ b/docs/basic_keycodes.md
@@ -0,0 +1,186 @@
1# Basic keycodes
2
3## Letters and Numbers
4
5|KC_1|KC_2|KC_3|KC_4|KC_5|KC_6|KC_7|KC_8|
6|----|----|----|----|----|----|----|----|
7|KC_9|KC_0|KC_F1|KC_F2|KC_F3|KC_F4|KC_F5|KC_F6|
8|KC_F7|KC_F8|KC_F9|KC_F10|KC_F11|KC_F12|KC_F13|KC_F14|
9|KC_F15|KC_F16|KC_F17|KC_F18|KC_F19|KC_F20|KC_F21|KC_F22|
10|KC_F23|KC_F24|KC_A|KC_B|KC_C|KC_D|KC_E|KC_F|
11|KC_G|KC_H|KC_I|KC_J|KC_K|KC_L|KC_M|KC_N|
12|KC_O|KC_P|KC_Q|KC_R|KC_S|KC_T|KC_U|KC_V|
13|KC_W|KC_X|KC_Y|KC_Z|||||
14
15## Punctuation
16
17|Long Name|Short Name|Description|
18|---------|----------|-----------|
19|KC_ENTER|KC_ENT|`Return (ENTER)`|
20|KC_ESCAPE|KC_ESC|`ESCAPE`|
21|KC_BSPACE|KC_BSPC|`DELETE (Backspace)`|
22|KC_TAB||`Tab`|
23|KC_SPACE|KC_SPC|Spacebar|
24|KC_MINUS|KC_MINS|`-` and `_`|
25|KC_EQUAL|KC_EQL|`=` and `+`|
26|KC_LBRACKET|KC_LBRC|`[` and `{`|
27|KC_RBRACKET|KC_RBRC|`]` and `}`|
28|KC_BSLASH|KC_BSLS|`\` and <code>&#124;</code> |
29|KC_NONUS_HASH|KC_NUHS|Non-US `#` and `~`|
30|KC_NONUS_BSLASH|KC_NUBS|Non-US `\` and <code>&#124;</code> |
31|KC_INT1|KC_RO|JIS `\` and <code>&#124;</code> |
32|KC_INT2|KC_KANA|International216|
33|KC_INT3|KC_JYEN|Yen Symbol (`¥`)|
34|KC_SCOLON|KC_SCLN|`;` and `:`|
35|KC_QUOTE|KC_QUOT|`‘` and `“`|
36|KC_GRAVE|KC_GRV|Grave Accent and Tilde|
37|KC_COMMA|KC_COMM|`,` and `<`|
38|KC_DOT||`.` and `>`|
39|KC_SLASH|KC_SLSH|`/` and `?`|
40|KC_CAPSLOCK|KC_CAPS|Caps Lock|
41
42## Modifiers
43
44|Long Name|Short Name|Description|
45|---------|----------|-----------|
46|KC_LCTRL|KC_LCTL|LeftControl|
47|KC_LSHIFT|KC_LSFT|LeftShift|
48|KC_LALT||LeftAlt|
49|KC_LGUI||Left GUI(Windows/Apple/Meta key)|
50|KC_RCTRL|KC_RCTL|RightControl|
51|KC_RSHIFT|KC_RSFT|RightShift|
52|KC_RALT||RightAlt|
53|KC_RGUI||Right GUI(Windows/Apple/Meta key)|
54|KC_LOCKING_CAPS||Locking Caps Lock|
55|KC_LOCKING_NUM||Locking Num Lock|
56|KC_LOCKING_SCROLL||Locking Scroll Lock|
57|KC_INT4|KC_HENK|JIS Henken|
58|KC_INT5|KC_MHEN|JIS Muhenken|
59
60## Commands
61
62|Long Name|Short Name|Description|
63|---------|----------|-----------|
64|KC_PSCREEN|KC_PSCR|PrintScreen|
65|KC_SCROLLLOCK|KC_SLCK|Scroll Lock|
66|KC_PAUSE|KC_PAUS|Pause|
67|KC_INSERT|KC_INS|Insert|
68|KC_HOME||Home|
69|KC_PGUP||PageUp|
70|KC_DELETE|KC_DEL|Delete Forward|
71|KC_END||End|
72|KC_PGDOWN|KC_PGDN|PageDown|
73|KC_RIGHT|KC_RGHT|RightArrow|
74|KC_LEFT||LeftArrow|
75|KC_DOWN||DownArrow|
76|KC_UP||UpArrow|
77|KC_APPLICATION|KC_APP|Application|
78|KC_POWER||Power|
79|KC_EXECUTE||Execute|
80|KC_HELP||Help|
81|KC_MENU||Menu|
82|KC_SELECT||Select|
83|KC_AGAIN||Again|
84|KC_UNDO||Undo|
85|KC_CUT||Cut|
86|KC_COPY||Copy|
87|KC_PASTE||Paste|
88|KC_FIND||Find|
89|KC_ALT_ERASE||Alternate Erase|
90|KC_SYSREQ||SysReq/Attention|
91|KC_CANCEL||Cancel|
92|KC_CLEAR||Clear|
93|KC_PRIOR||Prior|
94|KC_RETURN||Return|
95|KC_SEPARATOR||Separator|
96|KC_OUT||Out|
97|KC_OPER||Oper|
98|KC_CLEAR_AGAIN||Clear/Again|
99|KC_CRSEL||CrSel/Props|
100|KC_EXSEL||ExSel|
101|KC_SYSTEM_POWER|KC_PWR|System Power Down|
102|KC_SYSTEM_SLEEP|KC_SLEP|System Sleep|
103|KC_SYSTEM_WAKE|KC_WAKE|System Wake|
104|KC_MAIL|KC_MAIL||
105|KC_CALCULATOR|KC_CALC||
106|KC_MY_COMPUTER|KC_MYCM||
107|KC_WWW_SEARCH|KC_WSCH||
108|KC_WWW_HOME|KC_WHOM||
109|KC_WWW_BACK|KC_WBAK||
110|KC_WWW_FORWARD|KC_WFWD||
111|KC_WWW_STOP|KC_WSTP||
112|KC_WWW_REFRESH|KC_WREF||
113|KC_WWW_FAVORITES|KC_WFAV||
114
115## Media Keys
116
117Windows and Mac use different key codes for next track and previous track. Make sure you choose the keycode that corresponds to your OS.
118
119|Long Name|Short Name|Description|
120|---------|----------|-----------|
121|KC_STOP||Stop|
122|KC__MUTE||Mute|
123|KC__VOLUP||Volume Up|
124|KC__VOLDOWN||Volume Down|
125|KC_AUDIO_MUTE|KC_MUTE||
126|KC_AUDIO_VOL_UP|KC_VOLU||
127|KC_AUDIO_VOL_DOWN|KC_VOLD||
128|KC_MEDIA_NEXT_TRACK|KC_MNXT|Next Track (Windows)|
129|KC_MEDIA_PREV_TRACK|KC_MPRV|Previous Track (Windows)|
130|KC_MEDIA_FAST_FORWARD|KC_MFFD|Next Track (macOS)|
131|KC_MEDIA_REWIND|KC_MRWD|Previous Track (macOS)|
132|KC_MEDIA_STOP|KC_MSTP||
133|KC_MEDIA_PLAY_PAUSE|KC_MPLY||
134|KC_MEDIA_SELECT|KC_MSEL||
135
136## Numpad
137
138|Long Name|Short Name|Description|
139|---------|----------|-----------|
140|KC_NUMLOCK|KC_NLCK|Keypad Num Lock and Clear|
141|KC_KP_SLASH|KC_PSLS|Keypad /|
142|KC_KP_ASTERISK|KC_PAST|Keypad *|
143|KC_KP_MINUS|KC_PMNS|Keypad -|
144|KC_KP_PLUS|KC_PPLS|Keypad +|
145|KC_KP_ENTER|KC_PENT|Keypad ENTER|
146|KC_KP_1|KC_P1|Keypad 1 and End|
147|KC_KP_2|KC_P2|Keypad 2 and Down Arrow|
148|KC_KP_3|KC_P3|Keypad 3 and PageDn|
149|KC_KP_4|KC_P4|Keypad 4 and Left Arrow|
150|KC_KP_5|KC_P5|Keypad 5|
151|KC_KP_6|KC_P6|Keypad 6 and Right Arrow|
152|KC_KP_7|KC_P7|Keypad 7 and Home|
153|KC_KP_8|KC_P8|Keypad 8 and Up Arrow|
154|KC_KP_9|KC_P9|Keypad 9 and PageUp|
155|KC_KP_0|KC_P0|Keypad 0 and Insert|
156|KC_KP_DOT|KC_PDOT|Keypad . and Delete|
157|KC_KP_EQUAL|KC_PEQL|Keypad =|
158|KC_KP_COMMA|KC_PCMM|Keypad Comma|
159|KC_KP_EQUAL_AS400||Keypad Equal Sign|
160
161## Special Keys
162
163|Long Name|Short Name|Description|
164|---------|----------|-----------|
165|KC_NO||Ignore this key. (NOOP) |
166
167## Mousekey
168
169|Long Name|Short Name|Description|
170|---------|----------|-----------|
171|KC_MS_UP|KC_MS_U|Mouse Cursor Up|
172|KC_MS_DOWN|KC_MS_D|Mouse Cursor Down|
173|KC_MS_LEFT|KC_MS_L|Mouse Cursor Left|
174|KC_MS_RIGHT|KC_MS_R|Mouse Cursor Right|
175|KC_MS_BTN1|KC_BTN1|Mouse Button 1|
176|KC_MS_BTN2|KC_BTN2|Mouse Button 2|
177|KC_MS_BTN3|KC_BTN3|Mouse Button 3|
178|KC_MS_BTN4|KC_BTN4|Mouse Button 4|
179|KC_MS_BTN5|KC_BTN5|Mouse Button 5|
180|KC_MS_WH_UP|KC_WH_U|Mouse Wheel Up|
181|KC_MS_WH_DOWN|KC_WH_D|Mouse Wheel Down|
182|KC_MS_WH_LEFT|KC_WH_L|Mouse Wheel Left|
183|KC_MS_WH_RIGHT|KC_WH_R|Mouse Wheel Right|
184|KC_MS_ACCEL0|KC_ACL0|Mouse Acceleration 0|
185|KC_MS_ACCEL1|KC_ACL1|Mouse Acceleration 1|
186|KC_MS_ACCEL2|KC_ACL2|Mouse Acceleration 2| \ No newline at end of file
diff --git a/docs/build_environment_setup.md b/docs/build_environment_setup.md
index 442038a58..2282e9d13 100644
--- a/docs/build_environment_setup.md
+++ b/docs/build_environment_setup.md
@@ -1,19 +1,25 @@
1### Windows 10 1# Build Environment Setup
2 2
3#### Creators Update 3This page describes setting up the build environment for QMK. These instructions cover AVR processors (such as the atmega32u4.)
4
5<!-- FIXME: We should have ARM instructions somewhere. -->
6
7# Windows 10
8
9## Creators Update
4If you have Windows 10 with Creators Update or later, you can build and flash the firmware directly. Before the Creators Update, only building was possible. If you don't have it yet or if are unsure, follow [these instructions](https://support.microsoft.com/en-us/instantanswers/d4efb316-79f0-1aa1-9ef3-dcada78f3fa0/get-the-windows-10-creators-update). 10If you have Windows 10 with Creators Update or later, you can build and flash the firmware directly. Before the Creators Update, only building was possible. If you don't have it yet or if are unsure, follow [these instructions](https://support.microsoft.com/en-us/instantanswers/d4efb316-79f0-1aa1-9ef3-dcada78f3fa0/get-the-windows-10-creators-update).
5 11
6#### Windows Subsystem for Linux 12## Windows Subsystem for Linux
7In addition to the Creators Update, you need Windows 10 Subystem for Linux, so install it following [these instructions](http://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/). If you already have the Windows 10 Subsystem for Linux from the Anniversary update it's recommended that you [upgrade](https://betanews.com/2017/04/14/upgrade-windows-subsystem-for-linux/) it to 16.04LTS, because some keyboards don't compile with the toolchains included in 14.04LTS. Note that you need to know what your are doing if you chose the `sudo do-release-upgrade` method. 13In addition to the Creators Update, you need Windows 10 Subystem for Linux, so install it following [these instructions](http://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/). If you already have the Windows 10 Subsystem for Linux from the Anniversary update it's recommended that you [upgrade](https://betanews.com/2017/04/14/upgrade-windows-subsystem-for-linux/) it to 16.04LTS, because some keyboards don't compile with the toolchains included in 14.04LTS. Note that you need to know what your are doing if you chose the `sudo do-release-upgrade` method.
8 14
9#### Git 15## Git
10If you already have cloned the repository on your Windows file system you can ignore this section. 16If you already have cloned the repository on your Windows file system you can ignore this section.
11 17
12You will need to clone the repository to your Windows file system using the normal Git for Windows and **not** the WSL Git. So if you haven't installed Git before, [download](https://git-scm.com/download/win) and install it. Then [set it up](https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup), it's important that you setup the e-mail and user name, especially if you are planning to contribute. 18You will need to clone the repository to your Windows file system using the normal Git for Windows and **not** the WSL Git. So if you haven't installed Git before, [download](https://git-scm.com/download/win) and install it. Then [set it up](https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup), it's important that you setup the e-mail and user name, especially if you are planning to contribute.
13 19
14Once Git is installed, open the Git bash command and change the directory to where you want to clone QMK, note that you have to use forward slashes, and that your c drive is accessed like this `/c/path/to/where/you/want/to/go`. Then run `git clone --recurse-submodules https://github.com/qmk/qmk_firmware`, this will create a new folder `qmk_firmware` as a subfolder of the current one. 20Once Git is installed, open the Git bash command and change the directory to where you want to clone QMK, note that you have to use forward slashes, and that your c drive is accessed like this `/c/path/to/where/you/want/to/go`. Then run `git clone --recurse-submodules https://github.com/qmk/qmk_firmware`, this will create a new folder `qmk_firmware` as a subfolder of the current one.
15 21
16#### Toolchain setup 22## Toolchain setup
17The Toolchain setup is done through the Windows Subsystem for Linux, and the process is fully automated. If you want to do everything manually, there are no other instructions than the scripts themselves, but you can always open issues and ask for more information. 23The Toolchain setup is done through the Windows Subsystem for Linux, and the process is fully automated. If you want to do everything manually, there are no other instructions than the scripts themselves, but you can always open issues and ask for more information.
18 24
191. Open "Bash On Ubuntu On Windows" from the start menu. 251. Open "Bash On Ubuntu On Windows" from the start menu.
@@ -22,13 +28,13 @@ The Toolchain setup is done through the Windows Subsystem for Linux, and the pro
224. Close the Bash command window, and re-open it. 284. Close the Bash command window, and re-open it.
235. You are ready to compile and flash the firmware! 295. You are ready to compile and flash the firmware!
24 30
25#### Some important things to keep in mind 31## Some important things to keep in mind
26* You can run `util/wsl_install.sh` again to get all the newest updates. 32* You can run `util/wsl_install.sh` again to get all the newest updates.
27* Your QMK repository need to be on a Windows file system path, since WSL can't run executables outside it. 33* Your QMK repository need to be on a Windows file system path, since WSL can't run executables outside it.
28* The WSL Git is **not** compatible with the Windows Git, so use the Windows Git Bash or a windows Git GUI for all Git operations 34* The WSL Git is **not** compatible with the Windows Git, so use the Windows Git Bash or a windows Git GUI for all Git operations
29* You can edit files either inside WSL or normally using Windows, but note that if you edit makefiles or shell scripts, make sure you are using an editor that saves the files with Unix line endings. Otherwise the compilation might not work. 35* You can edit files either inside WSL or normally using Windows, but note that if you edit makefiles or shell scripts, make sure you are using an editor that saves the files with Unix line endings. Otherwise the compilation might not work.
30 36
31### Windows (Vista and later) 37# Windows (Vista and later)
321. If you have ever installed WinAVR, uninstall it. 381. If you have ever installed WinAVR, uninstall it.
332. Install [MHV AVR Tools](https://infernoembedded.com/sites/default/files/project/MHV_AVR_Tools_20131101.exe). Disable smatch, but **be sure to leave the option to add the tools to the PATH checked**. 392. Install [MHV AVR Tools](https://infernoembedded.com/sites/default/files/project/MHV_AVR_Tools_20131101.exe). Disable smatch, but **be sure to leave the option to add the tools to the PATH checked**.
343. If you are going to flash Infinity based keyboards you will need to install dfu-util, refer to the instructions by [Input Club](https://github.com/kiibohd/controller/wiki/Loading-DFU-Firmware). 403. If you are going to flash Infinity based keyboards you will need to install dfu-util, refer to the instructions by [Input Club](https://github.com/kiibohd/controller/wiki/Loading-DFU-Firmware).
@@ -40,7 +46,7 @@ The Toolchain setup is done through the Windows Subsystem for Linux, and the pro
40 46
41If you have trouble and want to ask for help, it is useful to generate a *Win_Check_Output.txt* file by running `Win_Check.bat` in the `\util` folder. 47If you have trouble and want to ask for help, it is useful to generate a *Win_Check_Output.txt* file by running `Win_Check.bat` in the `\util` folder.
42 48
43### Mac 49# Mac
44If you're using [homebrew,](http://brew.sh/) you can use the following commands: 50If you're using [homebrew,](http://brew.sh/) you can use the following commands:
45 51
46 brew tap osx-cross/avr 52 brew tap osx-cross/avr
@@ -59,7 +65,7 @@ If you are going to flash Infinity based keyboards you will also need dfu-util
59 65
60 brew install dfu-util 66 brew install dfu-util
61 67
62### Linux 68# Linux
63 69
64To ensure you are always up to date, you can just run `sudo util/install_dependencies.sh`. That should always install all the dependencies needed. **This will run `apt-get upgrade`.** 70To ensure you are always up to date, you can just run `sudo util/install_dependencies.sh`. That should always install all the dependencies needed. **This will run `apt-get upgrade`.**
65 71
@@ -91,7 +97,7 @@ Debian/Ubuntu example:
91 sudo apt-get update 97 sudo apt-get update
92 sudo apt-get install gcc unzip wget zip gcc-avr binutils-avr avr-libc dfu-programmer dfu-util gcc-arm-none-eabi binutils-arm-none-eabi libnewlib-arm-none-eabi 98 sudo apt-get install gcc unzip wget zip gcc-avr binutils-avr avr-libc dfu-programmer dfu-util gcc-arm-none-eabi binutils-arm-none-eabi libnewlib-arm-none-eabi
93 99
94### Docker 100# Docker
95 101
96If this is a bit complex for you, Docker might be the turn-key solution you need. After installing [Docker](https://www.docker.com/products/docker), run the following command at the root of the QMK folder to build a keyboard/keymap: 102If this is a bit complex for you, Docker might be the turn-key solution you need. After installing [Docker](https://www.docker.com/products/docker), run the following command at the root of the QMK folder to build a keyboard/keymap:
97 103
@@ -109,10 +115,10 @@ docker run -e keymap=default -e subproject=ez -e keyboard=ergobox --rm -v D:/Use
109 115
110This will compile the targeted keyboard/keymap and leave it in your QMK directory for you to flash. 116This will compile the targeted keyboard/keymap and leave it in your QMK directory for you to flash.
111 117
112### Vagrant 118# Vagrant
113If you have any problems building the firmware, you can try using a tool called Vagrant. It will set up a virtual computer with a known configuration that's ready-to-go for firmware building. OLKB does NOT host the files for this virtual computer. Details on how to set up Vagrant are in the [vagrant guide](vagrant_guide.md). 119If you have any problems building the firmware, you can try using a tool called Vagrant. It will set up a virtual computer with a known configuration that's ready-to-go for firmware building. OLKB does NOT host the files for this virtual computer. Details on how to set up Vagrant are in the [vagrant guide](vagrant_guide.md).
114 120
115## Verify Your Installation 121# Verify Your Installation
1161. If you haven't already, obtain this repository ([https://github.com/qmk/qmk_firmware](https://github.com/qmk/qmk_firmware)). You can either download it as a zip file and extract it, or clone it using the command line tool git or the Github Desktop application. 1221. If you haven't already, obtain this repository ([https://github.com/qmk/qmk_firmware](https://github.com/qmk/qmk_firmware)). You can either download it as a zip file and extract it, or clone it using the command line tool git or the Github Desktop application.
1172. Open up a terminal or command prompt and navigate to the `qmk_firmware` folder using the `cd` command. The command prompt will typically open to your home directory. If, for example, you cloned the repository to your Documents folder, then you would type `cd Documents/qmk_firmware`. If you extracted the file from a zip, then it may be named `qmk_firmware-master` instead. 1232. Open up a terminal or command prompt and navigate to the `qmk_firmware` folder using the `cd` command. The command prompt will typically open to your home directory. If, for example, you cloned the repository to your Documents folder, then you would type `cd Documents/qmk_firmware`. If you extracted the file from a zip, then it may be named `qmk_firmware-master` instead.
1183. To confirm that you're in the correct location, you can display the contents of your current folder using the `dir` command on Windows, or the `ls` command on Linux or Mac. You should see several files, including `readme.md` and a `quantum` folder. From here, you need to navigate to the appropriate folder under `keyboards/`. For example, if you're building for a Planck, run `cd keyboards/planck`. 1243. To confirm that you're in the correct location, you can display the contents of your current folder using the `dir` command on Windows, or the `ls` command on Linux or Mac. You should see several files, including `readme.md` and a `quantum` folder. From here, you need to navigate to the appropriate folder under `keyboards/`. For example, if you're building for a Planck, run `cd keyboards/planck`.
diff --git a/docs/build_guide.md b/docs/build_guide.md
deleted file mode 100644
index 8573b0fd1..000000000
--- a/docs/build_guide.md
+++ /dev/null
@@ -1,103 +0,0 @@
1# This guide has now been included in the main readme - please reference that one instead.
2
3## Build Environment Setup
4
5### Windows (Vista and later)
61. If you have ever installed WinAVR, uninstall it.
72. Install [MHV AVR Tools](https://infernoembedded.com/sites/default/files/project/MHV_AVR_Tools_20131101.exe). Disable smatch, but **be sure to leave the option to add the tools to the PATH checked**.
83. Install [MinGW](https://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download). During installation, uncheck the option to install a graphical user interface. **DO NOT change the default installation folder.** The scripts depend on the default location.
94. Clone this repository. [This link will download it as a zip file, which you'll need to extract.](https://github.com/qmk/qmk_firmware/archive/master.zip) Open the extracted folder in Windows Explorer.
105. Double-click on the 1-setup-path-win batch script to run it. You'll need to accept a User Account Control prompt. Press the spacebar to dismiss the success message in the command prompt that pops up.
116. Right-click on the 2-setup-environment-win batch script, select "Run as administrator", and accept the User Account Control prompt. This part may take a couple of minutes, and you'll need to approve a driver installation, but once it finishes, your environment is complete!
127. Future build commands should be run from the standard Windows command prompt, which you can find by searching for "command prompt" from the start menu or start screen. Ignore the "MHV AVR Shell".
13
14### Mac
15If you're using [homebrew,](http://brew.sh/) you can use the following commands:
16
17 brew tap osx-cross/avr
18 brew install avr-libc
19 brew install dfu-programmer
20
21This is the recommended method. If you don't have homebrew, [install it!](http://brew.sh/) It's very much worth it for anyone who works in the command line.
22
23You can also try these instructions:
24
251. Install Xcode from the App Store.
262. Install the Command Line Tools from `Xcode->Preferences->Downloads`.
273. Install [DFU-Programmer][dfu-prog].
28
29### Linux
30Install AVR GCC, AVR libc, and dfu-progammer with your favorite package manager.
31
32Debian/Ubuntu example:
33
34 sudo apt-get update
35 sudo apt-get install gcc-avr avr-libc dfu-programmer
36
37### Vagrant
38If you have any problems building the firmware, you can try using a tool called Vagrant. It will set up a virtual computer with a known configuration that's ready-to-go for firmware building. OLKB does NOT host the files for this virtual computer. Details on how to set up Vagrant are in the [vagrant guide](vagrant_guide.md).
39
40## Verify Your Installation
411. If you haven't already, obtain this repository ([https://github.com/qmk/qmk_firmware](https://github.com/qmk/qmk_firmware)). You can either download it as a zip file and extract it, or clone it using the command line tool git or the Github Desktop application.
422. Open up a terminal or command prompt and navigate to the `qmk_firmware` folder using the `cd` command. The command prompt will typically open to your home directory. If, for example, you cloned the repository to your Documents folder, then you would type `cd Documents/qmk_firmware`. If you extracted the file from a zip, then it may be named `qmk_firmware-master` instead.
433. To confirm that you're in the correct location, you can display the contents of your current folder using the `dir` command on Windows, or the `ls` command on Linux or Mac. You should see several files, including `readme.md` and a `quantum` folder. From here, you need to navigate to the appropriate folder under `keyboards/`. For example, if you're building for a Planck, run `cd keyboards/planck`.
444. Once you're in the correct keyboard-specific folder, run the `make` command. This should output a lot of information about the build process. More information about the `make` command can be found below.
45
46## Customizing, Building, and Deploying Your Firmware
47
48### The Make command
49
50The `make` command is how you compile the firmware into a .hex file, which can be loaded by a dfu programmer (like dfu-progammer via `make dfu`) or the [Teensy loader](https://www.pjrc.com/teensy/loader.html) (only used with Teensys). You can run `make` from the root (`/`), your keyboard folder (`/keyboards/<keyboard>/`), or your keymap folder (`/keyboards/<keyboard>/keymaps/<keymap>/`) if you have a `Makefile` there (see the example [here](/doc/keymap_makefile_example.mk)).
51
52By default, this will generate a `<keyboard>_<keymap>.hex` file in whichever folder you run `make` from. These files are ignored by git, so don't worry about deleting them when committing/creating pull requests.
53
54* The "root" (`/`) folder is the qmk_firmware folder, in which are `doc`, `keyboard`, `quantum`, etc.
55* The "keyboard" folder is any keyboard project's folder, like `/keyboards/planck`.
56* The "keymap" folder is any keymap's folder, like `/keyboards/planck/keymaps/default`.
57
58Below is a list of the useful `make` commands in QMK:
59
60* `make` - cleans automatically and builds your keyboard and keymap depending on which folder you're in. This defaults to the "default" layout (unless in a keymap folder), and Planck keyboard in the root folder
61 * `make keyboard=<keyboard>` - specifies the keyboard (only to be used in root)
62 * `make keymap=<keymap>` - specifies the keymap (only to be used in root and keyboard folder - not needed when in keymap folder)
63* `make quick` - skips the clean step (cannot be used immediately after modifying config.h or Makefiles)
64* `make dfu` - (requires dfu-programmer) builds and flashes the keymap to your keyboard once placed in reset/dfu mode (button or press `KC_RESET`). This does not work for Teensy-based keyboards like the ErgoDox EZ.
65 * `keyboard=` and `keymap=` are compatible with this
66* `make all-keyboards` - builds all keymaps for all keyboards and outputs status of each (use in root)
67* `make all-keyboards-default` - builds all default keymaps for all keyboards and outputs status of each (use in root)
68* `make all-keymaps [keyboard=<keyboard>]` - builds all of the keymaps for whatever keyboard folder you're in, or specified by `<keyboard>`
69* `make all-keyboards-quick`, `make all-keyboards-default-quick` and `make all-keymaps-quick [keyboard=<keyboard>]` - like the normal "make-all-*" commands, but they skip the clean steps
70
71Other, less useful functionality:
72
73* `make COLOR=false` - turns off color output
74* `make SILENT=true` - turns off output besides errors/warnings
75* `make VERBOSE=true` - outputs all of the avr-gcc stuff (not interesting)
76
77### The Makefile
78
79There are 3 different `make` and `Makefile` locations:
80
81* root (`/`)
82* keyboard (`/keyboards/<keyboard>/`)
83* keymap (`/keyboards/<keyboard>/keymaps/<keymap>/`)
84
85The root contains the code used to automatically figure out which keymap or keymaps to compile based on your current directory and commandline arguments. It's considered stable, and shouldn't be modified. The keyboard one will contain the MCU set-up and default settings for your keyboard, and shouldn't be modified unless you are the producer of that keyboard. The keymap Makefile can be modified by users, and is optional. It is included automatically if it exists. You can see an example [here](/doc/keymap_makefile_example.mk) - the last few lines are the most important. The settings you set here will override any defaults set in the keyboard Makefile. **It is required if you want to run `make` in the keymap folder.**
86
87### The `config.h` file
88
89There are 2 `config.h` locations:
90
91* keyboard (`/keyboards/<keyboard>/`)
92* keymap (`/keyboards/<keyboard>/keymaps/<keymap>/`)
93
94The keyboard `config.h` is included only if the keymap one doesn't exist. The format to use for your custom one [is here](/doc/keymap_config_h_example.h). If you want to override a setting from the parent `config.h` file, you need to do this:
95
96```
97#undef MY_SETTING
98#define MY_SETTING 4
99```
100
101For a value of `4` for this imaginary setting. So we `undef` it first, then `define` it.
102
103You can then override any settings, rather than having to copy and paste the whole thing.
diff --git a/docs/build_old.md b/docs/build_old.md
deleted file mode 100644
index 9ae3a64ae..000000000
--- a/docs/build_old.md
+++ /dev/null
@@ -1,187 +0,0 @@
1Build Firmware and Program Controller
2=====================================
3
4## This guide may be out-dated - use [build_guide.md](build_guide.md) instead
5
6Download and Install
7--------------------
8### 1. Install Tools
9
101. **Toolchain** On Windows install [MHV AVR Tools][mhv] for AVR GCC compiler and [Cygwin][cygwin](or [MinGW][mingw]) for shell terminal. On Mac you can use [CrossPack][crosspack]. On Linux you can install AVR GCC (and avr-libc) with your favorite package manager or run the avr_setup.sh script in the root of this repository.
11
122. **Programmer** On Windows install [Atmel FLIP][flip]. On Mac and Linux install [dfu-programmer][dfu-prog].
13
143. **Driver** On Windows you start DFU bootloader on the chip first time you will see 'Found New Hardware Wizard' to install driver. If you install device driver properly you can find chip name like 'ATmega32U4' under 'LibUSB-Win32 Devices' tree on 'Device Manager'. If not you shall need to update its driver on 'Device Manager'. You will find the driver in `FLIP` install directory like: C:\Program Files (x86)\Atmel\Flip 3.4.5\usb\. In case of `dfu-programmer` use its driver.
15
16If you use PJRC Teensy you don't need step 2 and 3 above, just get [Teensy loader][teensy-loader].
17
18
19### 2. Download source
20You can find firmware source at github:
21
22- <https://github.com/tmk/tmk_keyboard>
23
24If you are familiar with `Git` tools you are recommended to use it but you can also download zip archive from:
25
26- <https://github.com/tmk/tmk_keyboard/archive/master.zip>
27
28
29Build firmware
30--------------
31### 1. Open terminal
32Open terminal window to get access to commands. Use Cygwin(or MingGW) `shell terminal` in Windows or `Terminal.app` on Mac OSX. In Windows press `Windows` key and `R` then enter `cmd` in 'Run command' dialog showing up.
33
34### 2. Change directory
35Move to project directory in the firmware source.
36
37 cd tmk_keyboard/{'keyboard' or 'converter'}/<project>
38
39### 3. Make
40Build firmware using GNU `make` command. You'll see `<project>_<variant>.hex` file in that directory unless something unexpected occurs in build process.
41
42
43 make -f Makefile.<variant> clean
44 make -f Makefile.<variant>
45
46
47
48
49Program Controller
50------------------
51Now you have **hex** file to program on current directory. This **hex** is only needed to program your controller, other files are used for development and you may leave and forget them.
52
53### 1. Start bootloader
54How to program controller depends on controller chip and its board design. To program AVR USB chips you'll need to start it up in bootloader mode. Most of boards with the chip have a push button to let bootloader come up. Consult with your controller board manual.
55
56### 2. Program with DFU bootloader
57Stock AVR USB chip including ATmega32U4 has DFU bootloader by factory default. `FLIP` is a DFU programmer on Windows offered by Atmel. Open source command line tool `dfu-programmer` also supports AVR chips, it runs on Linux, Mac OSX and even Windows.
58
59To program AVR chip with DFU bootloader use `FLIP` or `dfu-programmer`.
60If you have a proper program command in `Makefile` just type this.
61
62`FLIP` has two version of tool, GUI app and command line program. If you want GUI see tutorial below.
63To use command line tool run this command. Note that you need to set PATH variable properly.
64
65 $ make -f Makefile.<variant> flip
66
67Or to program with `dfu-programmer` run:
68
69 $ make -f Makefile.<variant> dfu
70
71#### FLIP GUI tutorial
721. On menu bar click Device -> Select, then. `ATmega32u4`.
732. On menu bar click Settings -> Communication -> USB, then click 'Open' button on 'USB Port Connection' dialog.
74At this point you'll see grey-outed widgets on the app get colored and ready.
75
763. On menu bar click File -> Load HEX File, then select your firmware hex file on File Selector dialog.
774. On 'Operations Flow' panel click 'Run' button to load the firmware binary to the chip. Note that you should keep 'Erase', 'Blank Check', 'Program' and 'Verify' check boxes selected.
785. Re-plug USB cord or click 'Start Application' button to restart your controller.
79Done.
80
81See also these instructions if you need.
82
83- <http://code.google.com/p/micropendous/wiki/LoadingFirmwareWithFLIP>
84- <http://www.atmel.com/Images/doc7769.pdf>
85
86
87### 3. Program with Teensy Loader
88If you have PJRC Teensy see instruction of `Teensy Loader`.
89
90- <http://www.pjrc.com/teensy/loader.html>
91
92Or use this command if you have command line version of Teensy Loader installed.
93
94 $ make -f Makefile.<variant> teensy
95
96
97### 4. Program with Other programmer
98You may want to use other programmer like `avrdude` with AVRISPmkII, Arduino or USBasp. In that case you can still use make target `program` for build with configuring `PROGRAM_CMD` in Makefile.
99
100 $ make -f Makefile.<variant> program
101
102
103[cygwin]: https://www.cygwin.com/
104[mingw]: http://www.mingw.org/
105[mhv]: https://infernoembedded.com/products/avr-tools
106[winavr]: http://winavr.sourceforge.net/
107[crosspack]: http://www.obdev.at/products/crosspack/index.html
108[flip]: http://www.atmel.com/tools/FLIP.aspx
109[dfu-prog]: http://dfu-programmer.sourceforge.net/
110[teensy-loader]:http://www.pjrc.com/teensy/loader.html
111
112
113
114Makefile Options
115----------------
116### 1. MCU and Frequency.
117
118 MCU = atmega32u4 # Teensy 2.0
119 #MCU = at90usb1286 # Teensy++ 2.0
120 F_CPU = 16000000
121
122Set your MCU and its clock in Hz.
123
124 # Boot Section Size in *bytes*
125 # Teensy halfKay 512
126 # Atmel DFU loader 4096
127 # LUFA bootloader 4096
128 OPT_DEFS += -DBOOTLOADER_SIZE=4096
129
130If you are using PJRC Teensy use `512` for `BOOTLOADER_SIZE`, otherwise use `4096` unless you are sure.
131
132### 2. Features
133Optional. Note that ***comment out*** with `#` to disable them.
134
135 BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
136 MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
137 EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
138 CONSOLE_ENABLE = yes # Console for debug(+400)
139 COMMAND_ENABLE = yes # Commands for debug and configuration
140 SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
141 #NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
142 #BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
143
144### 3. Programmer
145Optional. Set proper command for your controller, bootloader and programmer. This command can be used with `make program`. Not needed if you use `FLIP`, `dfu-programmer` or `Teensy Loader`.
146
147 # avrdude with AVRISPmkII
148 PROGRAM_CMD = avrdude -p $(MCU) -c avrispmkII -P USB -U flash:w:$(TARGET).hex
149
150 # avrdude with USBaspLoader
151 PROGRAM_CMD = avrdude -p $(MCU) -c usbasp -U flash:w:$(TARGET).hex
152
153 # avrdude with arduino
154 PROGRAM_CMD = avrdude -p $(MCU) -c arduino -P COM1 -b 57600 -U flash:w:$(TARGET).hex
155
156
157
158Config.h Options
159----------------
160### 1. Magic command key combination
161
162 #define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KB_LSHIFT) | MOD_BIT(KB_RSHIFT)))
163
164### 2. Mechanical Locking Support for CapsLock
165
166 /* Mechanical locking CapsLock support. Use KC_LCAP instead of KC_CAPS in keymap */
167 #define CAPSLOCK_LOCKING_ENABLE
168 /* Locking CapsLock re-synchronize hack */
169 #define CAPSLOCK_LOCKING_RESYNC_ENABLE
170
171### 3. Disable Debug and Print
172
173 /* disable debug print */
174 #define NO_DEBUG
175
176 /* disable print */
177 #define NO_PRINT
178
179### 4. Disable Action Features
180
181 #define NO_ACTION_LAYER
182 #define NO_ACTION_TAPPING
183 #define NO_ACTION_ONESHOT
184 #define NO_ACTION_MACRO
185 #define NO_ACTION_FUNCTION
186
187***TBD***
diff --git a/docs/config_options.md b/docs/config_options.md
new file mode 100644
index 000000000..13c8bdbbe
--- /dev/null
+++ b/docs/config_options.md
@@ -0,0 +1,133 @@
1# The `config.h` file
2
3This is a c header file that is one of the first things included, and will persist over the whole project (if included). Lots of variables can be set here and accessed elsewhere (namely keymaps). This file can exist at a couple different levels:
4
5## Keyboard
6
7```c
8#ifndef CONFIG_H
9#define CONFIG_H
10
11#include "config_common.h"
12
13// config options
14
15#ifdef SUBPROJECT_<subproject>
16 #include "<subproject>/config.h"
17#endif
18
19#endif
20```
21
22This file contains config options that should apply to the whole keyboard, and won't change in subprojects, or most keymaps. The suproject block here only applies to keyboards with subprojects.
23
24## Subproject
25
26```c
27#ifndef <subproject>_CONFIG_H
28#define <subproject>_CONFIG_H
29
30#include "../config.h"
31
32// config options
33
34#endif
35```
36
37For keyboards that have subprojects, this file contains config options that should apply to only that subproject, and won't change in most keymaps.
38
39## Keymap
40
41```c
42#ifndef CONFIG_USER_H
43#define CONFIG_USER_H
44
45#include "../../config.h"
46
47// config options
48
49#endif
50```
51
52This file contains all of the options for that particular keymap. If you wish to override a previous declaration, you can use `#undef <variable>` to undefine it, where you can then redefine it without an error.
53
54# Config Options
55
56```c
57#define VENDOR_ID 0x1234 // defines your VID, and for most DIY projects, can be whatever you want
58#define PRODUCT_ID 0x5678 // defines your PID, and for most DIY projects, can be whatever you want
59#define DEVICE_VER 0 // defines the device version (often used for revisions)
60
61#define MANUFACTURER Me // generally who/whatever brand produced the board
62#define PRODUCT Board // the name of the keyboard
63#define DESCRIPTION a keyboard // a short description of what the keyboard is
64
65#define MATRIX_ROWS 5 // the number of rows in your keyboard's matrix
66#define MATRIX_COLS 15 // the number of columns in your keyboard's matrix
67
68#define MATRIX_ROW_PINS { D0, D5, B5, B6 } // pins of the rows, from top to bottom
69#define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 } // pins of the columns, from left to right
70#define UNUSED_PINS { D1, D2, D3, B1, B2, B3 } // pins unused by the keyboard for reference
71#define MATRIX_HAS_GHOST // define is matrix has ghost (unlikely)
72#define DIODE_DIRECTION COL2ROW // COL2ROW or ROW2COL - how your matrix is configured
73// COL2ROW means the black mark on your diode is facing to the rows, and between the switch and the rows
74
75#define AUDIO_VOICES // turns on the alternate audio voices (to cycle through)
76#define C6_AUDIO // enables audio on pin C6
77#define B5_AUDIO // enables audio on pin B5 (duophony is enable if both are enabled)
78
79#define BACKLIGHT_PIN B7 // pin of the backlight - B5, B6, B7 use PWM, others use softPWM
80#define BACKLIGHT_LEVELS 3 // number of levels your backlight will have (not including off)
81
82#define DEBOUNCING_DELAY 5 // the delay when reading the value of the pin (5 is default)
83
84#define LOCKING_SUPPORT_ENABLE // mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap
85#define LOCKING_RESYNC_ENABLE // tries to keep switch state consistent with keyboard LED state
86
87#define IS_COMMAND() ( \ // key combination that allows the use of magic commands (useful for debugging)
88 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
89)
90
91// the following options can save on file size at the expense of that feature
92#define NO_DEBUG // disable debuging (saves on file size)
93#define NO_PRINT // disable printing (saves of file size)
94#define NO_ACTION_LAYER // no layers
95#define NO_ACTION_TAPPING // no tapping for layers/mods
96#define NO_ACTION_ONESHOT // no oneshot for layers/mods
97#define NO_ACTION_MACRO // no macros
98#define NO_ACTION_FUNCTION // no functions
99
100#define FORCE_NKRO // NKRO by default requires to be turned on, this forces it to be on always
101
102#define PREVENT_STUCK_MODIFIERS // when switching layers, this will release all mods
103
104#define TAPPING_TERM 200 // how long before a tap becomes a hold
105#define TAPPING_TOGGLE 2 // how many taps before triggering the toggle
106
107#define PERMISSIVE_HOLD // makes tap and hold keys work better for fast typers who don't want tapping term set above 500
108
109#define LEADER_TIMEOUT 300 // how long before the leader key times out
110
111#define ONESHOT_TIMEOUT 300 // how long before oneshot times out
112#define ONESHOT_TAP_TOGGLE 2 // how many taps before oneshot toggle is triggered
113
114#define IGNORE_MOD_TAP_INTERRUPT // makes it possible to do rolling combos (zx) with keys that convert to other keys on hold
115
116// ws2812 options
117#define RGB_DI_PIN D7 // pin the DI on the ws2812 is hooked-up to
118#define RGBLIGHT_ANIMATIONS // run RGB animations
119#define RGBLED_NUM 15 // number of LEDs
120#define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue
121#define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation
122#define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness)
123
124#define RGBW_BB_TWI // bit-bangs twi to EZ RGBW LEDs (only required for Ergodox EZ)
125
126// mousekey options (self-describing)
127#define MOUSEKEY_INTERVAL 20
128#define MOUSEKEY_DELAY 0
129#define MOUSEKEY_TIME_TO_MAX 60
130#define MOUSEKEY_MAX_SPEED 7
131#define MOUSEKEY_WHEEL_DELAY 0
132
133``` \ No newline at end of file
diff --git a/docs/custom_quantum_functions.md b/docs/custom_quantum_functions.md
index 0fb1c163b..c017c0cdb 100644
--- a/docs/custom_quantum_functions.md
+++ b/docs/custom_quantum_functions.md
@@ -1,6 +1,10 @@
1A custom keyboard is about more than sending button presses to your computer. QMK has designed hooks to allow you to inject code, override functionality, and otherwise customize how your keyboard responds in different situations. 1# How To Customize Your Keyboard's Behavior
2 2
3## A Word on Keyboards vs Keymap 3For a lot of people a custom keyboard is about more than sending button presses to your computer. You want to be able to do things that are more complex than simple button presses and macros. QMK has hooks that allow you to inject code, override functionality, and otherwise customize how your keyboard behaves in different situations.
4
5This page does not assume any special knowledge about QMK, but reading [Understanding QMK](understanding_qmk.html) will help you understand what is going on at a more fundamental level.
6
7## A Word on Core vs Keyboards vs Keymap
4 8
5We have structured QMK as a hierarchy: 9We have structured QMK as a hierarchy:
6 10
@@ -8,59 +12,66 @@ We have structured QMK as a hierarchy:
8 * Keyboard/Revision (`_kb`) 12 * Keyboard/Revision (`_kb`)
9 * Keymap (`_user`) 13 * Keymap (`_user`)
10 14
11Each of the functions described below can be defined with a `_kb()` suffix or an `_user()` suffix. We intend for you to use the `_kb()` suffix at the Keyboard/Revision level, while the `_user()` suffix should be used at the Keymap level. 15Each of the functions described below can be defined with a `_kb()` suffix or a `_user()` suffix. We intend for you to use the `_kb()` suffix at the Keyboard/Revision level, while the `_user()` suffix should be used at the Keymap level.
12 16
13When defining functions at the Keyboard/Revision level it is important that your `_kb()` implementation call `_user()` before executing anything else- otherwise the keymap level function will never be called. 17When defining functions at the Keyboard/Revision level it is important that your `_kb()` implementation call `_user()` before executing anything else- otherwise the keymap level function will never be called.
14 18
15## Matrix Initialization Code 19# Custom Keycodes
16 20
17* Keyboard/Revision: `void matrix_init_kb(void)` 21By far the most common task is to change the behavior of an existing keycode or to create a new keycode. From a code standpoint the mechanism for each is very similar.
18* Keymap: `void matrix_init_user(void)`
19 22
20This function gets called when the matrix is initiated. You should use this function to initialize any custom hardware you may have, such as speakers, LED drivers, or other features which need to be setup after the keyboard powers on. 23## Defining a New Keycode
21 24
22### Example 25The first step to creating your own custom keycode(s) is to enumerate them. This means both naming them and assigning a unique number to that keycode. Rather than limit custom keycodes to a fixed range of numbers QMK provides the `SAFE_RANGE` macro. You can use `SAFE_RANGE` when enumerating your custom keycodes to guarantee that you get a unique number.
26
27
28Here is an example of enumerating 2 keycodes. After adding this block to your `keymap.c` you will be able to use `FOO` and `BAR` inside your keymap.
23 29
24``` 30```
25void matrix_init_kb(void) { 31enum my_keycodes {
26 // put your keyboard start-up code here 32 FOO = SAFE_RANGE,
27 // runs once when the firmware starts up 33 BAR
28 matrix_init_user(); 34};
29
30 // JTAG disable for PORT F. write JTD bit twice within four cycles.
31 MCUCR |= (1<<JTD);
32 MCUCR |= (1<<JTD);
33
34 // * Set our LED pins as output
35 DDRB |= (1<<0);
36 DDRB |= (1<<1);
37 DDRB |= (1<<2);
38 DDRB |= (1<<3);
39 DDRB |= (1<<4);
40}
41``` 35```
42 36
43## Matrix Scanning Code 37## Programming The Behavior Of Any Keycode
44 38
45* Keyboard/Revision: `void matrix_scan_kb(void)` 39When you want to override the behavior of an existing key, or define the behavior for a new key, you should use the `process_record_kb()' and `process_record_user()` functions. These are called by QMK during key processing before the actual key event is handled. If these functions return `true` QMK will process the keycodes as usual. That can be handy for extending the functionality of a key rather than replacing it. If these functions return `false` QMK will skip the normal key handling, and it will be up you to send any key up or down events that are required.
46* Keymap: `void matrix_scan_user(void)`
47 40
48This function gets called at every matrix scan, which is basically as often as the MCU can handle. Be careful what you put here, as it will get run a lot. 41These function are called every time a key is pressed or released.
49 42
50You should use this function if you need custom matrix scanning code. It can also be used for custom status output (such as LED's or a display) or other functionality that you want to trigger regularly even when the user isn't typing. 43### Example `process_record_user()` implementation
51 44
52## Hook Into Key Presses 45This example does two things. It defines the behavior for a custom keycode called `FOO`, and it supplements our Enter key by playing a tone whenever it is pressed.
53 46
54* Keyboard/Revision: `bool process_record_kb(uint16_t keycode, keyrecord_t *record)` 47```
55* Keymap: `bool process_record_user(uint16_t keycode, keyrecord_t *record)` 48bool process_record_user(uint16_t keycode, keyrecord_t *record) {
49 switch (keycode) {
50 case FOO:
51 if (record->event.pressed) {
52 // Do something when pressed
53 } else {
54 // Do something else when release
55 }
56 return false; // Skip all further processing of this key
57 case KC_ENTER:
58 // Play a tone when enter is pressed
59 if (record->event.pressed) {
60 PLAY_NOTE_ARRAY(tone_qwerty);
61 }
62 return true; // Let QMK send the enter press/release events
63 }
64}
65```
56 66
57This function gets called every time a key is pressed or released. This is particularly useful when defining custom keys or overriding the behavior of existing keys. 67### `process_record_*` Function documentation
58 68
59The return value is whether or not QMK should continue processing the keycode - returning `false` stops the execution. 69* Keyboard/Revision: `bool process_record_kb(uint16_t keycode, keyrecord_t *record)`
70* Keymap: `bool process_record_user(uint16_t keycode, keyrecord_t *record)`
60 71
61The `keycode` variable is whatever is defined in your keymap, eg `MO(1)`, `KC_L`, etc. and can be switch-cased to execute code whenever a particular code is pressed. 72The `keycode` argument is whatever is defined in your keymap, eg `MO(1)`, `KC_L`, etc. You should use a `switch...case` block to handle these events.
62 73
63The `record` variable contains infomation about the actual press: 74The `record` argument contains infomation about the actual press:
64 75
65``` 76```
66keyrecord_t record { 77keyrecord_t record {
@@ -75,12 +86,7 @@ keyrecord_t record {
75} 86}
76``` 87```
77 88
78The conditional `if (record->event.pressed)` can tell if the key is being pressed or released, and you can execute code based on that. 89# LED Control
79
80## LED Control
81
82* Keyboard/Revision: `void led_set_kb(uint8_t usb_led)`
83* Keymap: `void led_set_user(uint8_t usb_led)`
84 90
85This allows you to control the 5 LED's defined as part of the USB Keyboard spec. It will be called when the state of one of those 5 LEDs changes. 91This allows you to control the 5 LED's defined as part of the USB Keyboard spec. It will be called when the state of one of those 5 LEDs changes.
86 92
@@ -90,7 +96,7 @@ This allows you to control the 5 LED's defined as part of the USB Keyboard spec.
90* `USB_LED_COMPOSE` 96* `USB_LED_COMPOSE`
91* `USB_LED_KANA` 97* `USB_LED_KANA`
92 98
93### Example: 99### Example `led_set_kb()` implementation
94 100
95``` 101```
96void led_set_kb(uint8_t usb_led) { 102void led_set_kb(uint8_t usb_led) {
@@ -121,3 +127,50 @@ void led_set_kb(uint8_t usb_led) {
121 } 127 }
122} 128}
123``` 129```
130
131### `led_set_*` Function documentation
132
133* Keyboard/Revision: `void led_set_kb(uint8_t usb_led)`
134* Keymap: `void led_set_user(uint8_t usb_led)`
135
136# Matrix Initialization Code
137
138Before a keyboard can be used the hardware must be initialized. QMK handles initialization of the keyboard matrix itself, but if you have other hardware like LED's or i&#xb2;c controllers you will need to set up that hardware before it can be used.
139
140### Example `matrix_init_kb()` implementation
141
142This example, at the keyboard level, sets up B1, B2, and B3 as LED pins.
143
144```
145void matrix_init_kb(void) {
146 // Call the keymap level matrix init.
147 matrix_init_user();
148
149 // Set our LED pins as output
150 DDRB |= (1<<1);
151 DDRB |= (1<<2);
152 DDRB |= (1<<3);
153}
154```
155
156### `matrix_init_*` Function documentation
157
158* Keyboard/Revision: `void matrix_init_kb(void)`
159* Keymap: `void matrix_init_user(void)`
160
161# Matrix Scanning Code
162
163Whenever possible you should customize your keyboard by using `process_record_*()` and hooking into events that way, to ensure that your code does not have a negative performance impact on your keyboard. However, in rare cases it is necessary to hook into the matrix scanning. Be extremely careful with the performance of code in these functions, as it will be called at least 10 times per second.
164
165### Example `matrix_scan_*` implementation
166
167This example has been deliberately omitted. You should understand enough about QMK internals to write this without an example before hooking into such a performance sensitive area. If you need help please [open an issue](https://github.com/qmk/qmk_firmware/issues/new) or [chat with us on gitter](https://gitter.im/qmk/qmk_firmware).
168
169### `matrix_scan_*` Function documentation
170
171* Keyboard/Revision: `void matrix_scan_kb(void)`
172* Keymap: `void matrix_scan_user(void)`
173
174This function gets called at every matrix scan, which is basically as often as the MCU can handle. Be careful what you put here, as it will get run a lot.
175
176You should use this function if you need custom matrix scanning code. It can also be used for custom status output (such as LED's or a display) or other functionality that you want to trigger regularly even when the user isn't typing.
diff --git a/docs/cygwin_guide.md b/docs/cygwin_guide.md
deleted file mode 100644
index 05d71961a..000000000
--- a/docs/cygwin_guide.md
+++ /dev/null
@@ -1,352 +0,0 @@
1#Planck Advanced (but not too advanced) `cygwin` Users Guide
2If you are a user of the [cygwin environment](https://cygwin.com) in Windows and want the freedom to use the latest tools available, then this is the guide for you. If compiling your own copy of the latest and greatest Gnu C Compiler makes you super happy, then this is the guide for you. If the command line make you smile, then this is the guide for you.
3
4This guide was written step by step as I went through the process on a `Windows 10` `x86_64` and a `Windows 7` `amd k10` based system. This should be generally applicable to to any `Windows` environment with `cygwin`.
5
6#####Do not skip steps. Do not move past a step until the previous step finishes successfully.
7
8Based on [avr-libc installation guide](http://www.nongnu.org/avr-libc/user-manual/install_tools.html)
9
10##Get the Required Packages
11Download the `cygwin` setup ([x86_64](https://cygwin.com/setup-x86_64.exe)) and install the default system plus the following if they are not already selected:
12- devel/git
13- devel/gcc-core
14- devel/gcc-g++
15- devel/flex
16- devel/bison
17- devel/make
18- devel/texinfo
19- devel/gettext-devel
20- devel/automake
21- devel/autoconfig
22- devel/libtool
23- text/gettext
24- libs/libgcc1
25- interpreters/m4
26- web/wget
27- archive/unzip
28
29The following sources will be required:
30- [gmp](https://gmplib.org/) (6.1.0)
31- [mpfr](http://www.mpfr.org/) (3.1.4)
32- [mpc](http://www.multiprecision.org/) (1.0.3)
33- [binutils](https://www.sourceware.org/binutils/) (2.26)
34- [gcc](https://gcc.gnu.org/) (5.3.0)
35- [avr-libc](http://www.nongnu.org/avr-libc/) (2.0.0)
36
37The `dfu-programmer` will be required to flash the new firmware
38- [dfu-programmer](https://dfu-programmer.github.io/) (0.7.2)
39
40The set of commands below will create a directory (`~/local/avr`) for the sources you compile to be installed on the machine and a directory (`~/src`) for these source files to be stored. The commands then download the sources of the needed packages and unpack them. Note: the expand commands are different depending on if the packages are offered as a `bz2` or `gz` archive
41```
42$ mkdir ~/local
43$ mkdir ~/local/avr
44$ mkdir ~/src
45$ cd ~/src
46$ wget https://gmplib.org/download/gmp/gmp-6.1.0.tar.bz2
47$ wget http://www.mpfr.org/mpfr-3.1.4/mpfr-3.1.4.tar.bz2
48$ wget ftp://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
49$ wget http://ftp.gnu.org/gnu/binutils/binutils-2.26.tar.gz
50$ wget http://mirror0.babylon.network/gcc/releases/gcc-5.3.0/gcc-5.3.0.tar.gz
51$ wget http://download.savannah.gnu.org/releases/avr-libc/avr-libc-2.0.0.tar.bz2
52$ tar -xjf gmp-6.1.0.tar.bz2
53$ tar -xjf mpfr-3.1.4.tar.bz2
54$ tar -zxf mpc-1.0.3.tar.gz
55$ tar -zxf binutils-2.26.tar.gz
56$ tar -zxf gcc-5.3.0.tar.gz
57$ tar -xjf avr-libc-2.0.0.tar.bz2
58```
59
60##Setup the Build Environment
61These commands will set up the install directory and the `PATH` variable, which will allow you to access your installed packages. Note: if you close the `cygwin` terminal window, you will need to rerun these commands, they are not permanent.
62```
63$ PREFIX=$HOME/local/avr
64$ export PREFIX
65$ PATH=/usr/local/bin:/usr/local/lib:/usr/local/include:/bin:/lib:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS
66$ PATH=$PATH:$PREFIX/bin:$PREFIX/lib
67$ export PATH
68```
69
70##The `gcc` Required Math Library Packages
71The following packages are required to be complied and installed in order to compile `gcc`. They are not sufficiently available through the `cygwin` package system, so we have to make them ourselves. They must be complied in this order because each one depends on the previous. Verfiy that for each package, `make check` returns all passing and no fails.
72
73###Build and Install `gmp`
74```
75$ cd ~/src/gmp-6.1.0
76$ ./configure --enable-static --disable-shared
77$ make
78$ make check
79$ make install
80```
81
82###Build and Install `mpfr`
83```
84$ cd ~/src/mpfr-3.1.4
85$ ./configure --with-gmp-build=../gmp-6.1.0 --enable-static --disable-shared
86$ make
87$ make check
88$ make install
89```
90
91###Build and Install `mpc`
92```
93$ cd ~/src/mpc-1.0.3
94$ ./configure --with-gmp=/usr/local --with-mpfr=/usr/local --enable-static --disable-shared
95$ make
96$ make check
97$ make install
98```
99
100##OPTIONAL Part
101You can build and install a brand new `gcc` or you can use the one supplied by `cygwin`. This will take about 4-5 hours to compile (It is a "native build", so it does the entire build **3 times**. This takes a long while).
102
103###Build and Install `gcc` for Your Machine
104```
105$ cd ~/src/gcc-5.3.0
106$ mkdir obj-local
107$ cd obj-local
108$ ../configure --enable-languages=c,c++ --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local --enable-static --disable-shared
109$ make
110$ make install
111```
112##End OPTIONAL Part
113
114###Build and Install `binutils` for Your Machine
115```
116$ cd ~/src/binutils-2.26
117$ mkdir obj-local
118$ cd obj-local
119$ ../configure
120$ make
121$ make install
122```
123
124##Buliding `binutils`, `gcc`, and `avr-libc` for the AVR system
125Now we can make the critical stuff for compiling our firmware: `binutils`, `gcc`, and `avr-libc` for the AVR architecture. These allow us to build and manipulate the firmware for the keyboard.
126
127###Build `binutils` for AVR
128If you plan to build and install `avr-gdb` also, use the `gdb` install at the end of this guide as it also builds the `binutils`
129```
130$ cd ~/src/binutils-2.26
131$ mkdir obj-avr
132$ cd obj-avr
133$ ../configure --prefix=$PREFIX --target=avr --disable-nls
134$ make
135$ make install
136```
137
138###Build `gcc` for AVR
139```
140$ cd ~/src/gcc-5.3.0
141$ mkdir obj-avr
142$ cd obj-avr
143$ ../configure --prefix=$PREFIX --target=avr --enable-languages=c,c++ --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local --enable-static --disable-shared --disable-nls --disable-libssp --with-dwarf2
144$ make
145$ make install
146```
147
148###Build `avr-libc` for AVR
149For building the `avr-libc`, we have to specify the host build system. In my case it is `x86_64-unknown-cygwin`. You can look for build system type in the `gcc` configure notes for the proper `--build` specification to pass when you configure `avr-libc`.
150```
151$ cd ~/src/avr-libc-2.0.0
152$ ./configure --prefix=$PREFIX --build=x86_64-unknown-cygwin --host=avr
153$ make
154$ make install
155```
156
157##Building 'dfu-programmer' for flashing the firmware via USB and installing the drivers
158We can either build our own, or use the precomplied binaries. The precompiled binaries don't play well with `cygwin` so it is better to build them ourselves. The procedure for the precompiled binaries is included at the end of this guide.
159
160### Build and Install the `libusb`
161The `dfu-programmer` requires `libusb` so that it can interact with the USB system. These repos must be bootstrapped in order to create an appropriate `./configure` and `Makefile` for your system.
162```
163$ cd ~/src
164$ git clone https://github.com/libusb/libusb.git
165$ cd libusb
166$ ./bootstrap.sh
167$ ./configure
168$ make
169$ make install
170```
171
172### Build and Install the `dfu-programmer`
173```
174$ cd ~/src
175$ git clone https://github.com/dfu-programmer/dfu-programmer.git
176$ cd dfu-programmer
177$ ./bootstrap.sh
178$ ./configure
179$ make
180$ make install
181```
182
183Verify the installation with:
184```
185$ which dfu-programmer
186/usr/local/bin/dfu-programmer
187
188$ dfu-programmer
189dfu-programmer 0.7.2
190https://github.com/dfu-programmer/dfu-programmer
191Type 'dfu-programmer --help' for a list of commands
192 'dfu-programmer --targets' to list supported target devices
193```
194If you are not getting the above result, you will not be able to flash the firmware!
195
196###Install the USB drivers
197The drivers are included in the windows binary version of [`dfu-programmer` 0.7.2](http://iweb.dl.sourceforge.net/project/dfu-programmer/dfu-programmer/0.7.2/dfu-programmer-win-0.7.2.zip).
198```
199$ cd ~/src
200$ wget http://iweb.dl.sourceforge.net/project/dfu-programmer/dfu-programmer/0.7.2/dfu-programmer-win-0.7.2.zip
201$ unzip dfu-programmer-win-0.7.2.zip -d dfu-programmer-win-0.7.2
202```
203
204or
205
206The official drivers are found in [Atmel's `FLIP` installer](http://www.atmel.com/images/Flip%20Installer%20-%203.4.7.112.exe). Download and then install `FLIP`. Upon installation, the drivers will be found in `C:\Program Files (x86)\Atmel\Flip 3.4.7\usb`.
207
208Then, from an **administrator-privileged** `Windows` terminal, run the following command (adjust the path for username, etc. as necessary) and accept the prompt that pops up:
209```
210C:\> pnputil -i -a C:\cygwin64\home\Kevin\src\dfu-programmer-win-0.7.2\dfu-prog-usb-1.2.2\atmel_usb_dfu.inf
211or
212C:\> pnputil -i -a "C:\Program Files (x86)\Atmel\Flip 3.4.7\usb\atmel_usb_dfu.inf"
213```
214
215This should be the result:
216```
217Microsoft PnP Utility
218
219Processing inf : atmel_usb_dfu.inf
220Successfully installed the driver on a device on the system.
221Driver package added successfully.
222Published name : oem104.inf
223
224
225Total attempted: 1
226Number successfully imported: 1
227```
228
229Alternatively, the `Windows` driver can be installed when prompted by `Windows` when the keyboard is attached. Do not let `Windows` search for a driver; specify the path to search for a driver and point it to the `atmel_usb_dfu.inf` file.
230
231##Building and Flashing the Planck firmware!
232If you did everything else right. This part should be a snap! Grab the latest sources from `github`, make the Plank firmware, then flash it.
233
234###Build Planck and Load the Firmware
235```
236$ cd ~/src
237$ git clone https://github.com/qmk/qmk_firmware.git
238$ cd qmk_firmware/keyboards/planck
239$ make
240```
241
242Make sure there are no errors. You should end up with this or something similar:
243```
244Creating load file for Flash: planck.hex
245avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature planck.elf planck.hex
246
247Creating load file for EEPROM: planck.eep
248avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \
249--change-section-lma .eeprom=0 --no-change-warnings -O ihex planck.elf planck.eep || exit 0
250
251Creating Extended Listing: planck.lss
252avr-objdump -h -S -z planck.elf > planck.lss
253
254Creating Symbol Table: planck.sym
255avr-nm -n planck.elf > planck.sym
256
257Size after:
258 text data bss dec hex filename
259 18602 82 155 18839 4997 planck.elf
260
261-------- end --------
262```
263
264If you do not get the above, you **did not** build the firmware, and you will have nothing to flash. If you have the fresh clone from `github`, it was probably something gone wrong in this install process, go check and see what didn't work and threw errors or what steps you might have missed.
265
266But if everything went OK, you are ready to flash! Press the reset button on the bottom of the Planck, wait two seconds, then:
267```
268$ make dfu
269```
270.
271.
272.
273profit!!!
274
275
276
277
278
279##extra bits...
280
281###Installing Precompiled `dfu-programmer` Binaries (not recommended for `cygwin`)
282To install the `dfu-programmer` from the binaries, we must get if from [the `dfu-programmer` website](https://dfu-programmer.github.io/) ([0.7.2](http://iweb.dl.sourceforge.net/project/dfu-programmer/dfu-programmer/0.7.2/dfu-programmer-win-0.7.2.zip)).
283
284Copy this file into your `cygwin` home\src directory. (For me, it is `C:\cygwin64\home\Kevin\src`), extract the files, move `dfu-programmer.exe` to `~/local/avr/bin`. Most obnoxiously, the `libusb0_x86.dll` and `libusb0.sys` need to be moved from `./dfu-prog-usb-1.2.2/x86/` to a directory in the `Windows` `PATH` and the `cygwin` `PATH`. This is because the `dfu-programmer` binary is `mingw` based, not `cygwin` based, so the `dlls` do not cooperate. I achieved acceptable pathing by moving the files to `C:\cygwin64\home\Kevin\local\avr\bin` Then, in a `WINDOWS` command prompt running (Adjusting your path for username, etc. as needed):
285```
286C:\> set PATH=%PATH%;C:\cygwin64\home\Kevin\local\avr\bin
287```
288
289Then, rename `libusb0_x86.dll` to `libusb0.dll`.
290
291You can tell that you were successful by trying to execute 'dfu-programmer' from the 'cygwin' prompt:
292```
293$ which dfu-programmer
294/home/Kevin/local/avr/bin/dfu-programmer
295
296$ dfu-programmer
297dfu-programmer 0.7.2
298https://github.com/dfu-programmer/dfu-programmer
299Type 'dfu-programmer --help' for a list of commands
300 'dfu-programmer --targets' to list supported target devices
301```
302
303If you are not getting the above result, you will not be able to flash the firmware!
304- Try making sure your `PATH` variables are set correctly for both `Windows` and `cygwin`.
305- Make sure the `dll` is named correctly.
306- Do not extract it with `cygwin`'s `unzip` as it does not set the executable permission. If you did it anyway, do `chmod +x dfu-programmer.exe`.
307- Still have problems? Try building it instead.
308
309
310##Debugging Tools
311
312These tools are for debugging your firmware, etc. before flashing. Theoretically, it can save your memory from wearing out. However, these tool do not work 100% for the Planck firmware.
313
314### `gdb` for AVR
315`gdb` has a simulator for AVR but it does not support all instructions (like WDT), so it immediately crashes when running the Planck firmware (because `lufa.c` disables the WDT in the first few lines of execution). But it can still be useful in debugging example code and test cases, if you know how to use it.
316
317```
318$ cd ~/src
319$ git clone git://sourceware.org/git/binutils-gdb.git
320$ cd binutils-gdb
321$ mkdir obj-avr
322$ cd obj-avr
323$ ../configure --prefix=$PREFIX --target=avr --build=x86_64-unknown-cygwin --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local --disable-nls --enable-static
324$ make
325$ make install
326```
327
328### `simulavr`
329`simulavr` is an AVR simulator. It runs the complied AVR elfs. `simulavr` does not support the `atmega32u4` device... it does `atmega32` but that is not good enough for the firmware (no PORTE and other things), so you cannot run the Planck firmware. I use it to simulate ideas I have for features in separate test projects.
330
331This one is a major pain in the butt because it has a lot of dependencies and it is buggy. I will do my best to explain it but... it was hard to figure out. A few things need to be changed in the 'Makefile' to make it work in `cygwin`.
332
333
334```
335$ cd ~/src
336$ git clone https://github.com/Traumflug/simulavr.git
337$ cd simulavr
338$ ./bootstrap
339$ ./configure --prefix=$PREFIX --enable-static --disable-tcl --disable-doxygen-doc
340```
341 Edit `src/Makefile.am` now so that `-no-undefined` is included (I did this by removing the SYS_MINGW conditional surrounding `libsim_la_LDFLAGS += -no-undefined` and `libsimulavr_la_LDFLAGS += -no-undefined \ libsimulavr_la_LIBADD += $(TCL_LIB)`. Also, `$(EXEEXT)` is added after `kbdgentables` in two places.
342
343```
344$ make
345$ make install
346```
347
348
349TODO:
350- git repos for all sources
351- command line magic for cygwin setup
352- better options for `dfu-drivers`
diff --git a/docs/differences_from_tmk.md b/docs/differences_from_tmk.md
deleted file mode 100644
index 10ca329dc..000000000
--- a/docs/differences_from_tmk.md
+++ /dev/null
@@ -1,7 +0,0 @@
1Understanding the essential changes made on the [tmk_keyboard firmware](http://github.com/tmk/tmk_keyboard) should help you understand the QMK Firmware.
2
3| Firmware |TMK |QMK |
4|------------------------------|-----------------------|-------------------------|
5| Maintainer |hasu (@tmk) |Jack Humbert et al. |
6| Build path customization | `TMK_DIR = ...` | `include .../Makefile` |
7| `keymaps` array data | 3D array of `uint8_t` holding **keycode** | 3D array of `uint16_t` holding **keycode** |
diff --git a/docs/documentation_best_practices.md b/docs/documentation_best_practices.md
new file mode 100644
index 000000000..8c5b4795a
--- /dev/null
+++ b/docs/documentation_best_practices.md
@@ -0,0 +1,39 @@
1# Documentation Best Practices
2
3This page exists to document best practices when writing documentation for QMK. Following these guidelines will help to keep a consistent tone and style, which will in turn help other people more easily understand QMK.
4
5# Page Opening
6
7Your documentation page should generally start with an H1 heading, followed by a 1 paragrah description of what the user will find on this page. Keep in mind that this heading and paragraph will sit next to the Table of Contents, so keep the heading short and avoid long strings with no whitespace.
8
9Example:
10
11```
12# My Page Title
13
14This page covers my super cool feature. You can use this feature to make coffee, squeeze fresh oj, and have an egg mcmuffin and hashbrowns delivered from your local macca's by drone.
15```
16
17# Headings
18
19Your page should generally have multiple "H1" headings. Only H1 and H2 headings will included in the Table of Contents, so plan them out appropriately. Excess width should be avoided in H1 and H2 headings to prevent the Table of Contents from getting too wide.
20
21# Styled Hint Blocks
22
23You can have styled hint blocks drawn around text to draw attention to it.
24
25{% hint style='info' %}
26This uses `hint style='info'`
27{% endhint %}
28
29{% hint style='tip' %}
30This uses `hint style='tip'`
31{% endhint %}
32
33{% hint style='danger' %}
34This uses `hint style='danger'`
35{% endhint %}
36
37{% hint style='working' %}
38This uses `hint style='working'`
39{% endhint %}
diff --git a/docs/eclipse.md b/docs/eclipse.md
index ec5f2dc0d..a63b84607 100644
--- a/docs/eclipse.md
+++ b/docs/eclipse.md
@@ -1,3 +1,5 @@
1# Setting Up Eclipse for QMK Development
2
1[Eclipse](https://en.wikipedia.org/wiki/Eclipse_(software)) is an open-source [Integrated Development Environment](https://en.wikipedia.org/wiki/Integrated_development_environment) (IDE) widely used for Java development, but with an extensible plugin system that allows to customize it for other languages and usages. 3[Eclipse](https://en.wikipedia.org/wiki/Eclipse_(software)) is an open-source [Integrated Development Environment](https://en.wikipedia.org/wiki/Integrated_development_environment) (IDE) widely used for Java development, but with an extensible plugin system that allows to customize it for other languages and usages.
2 4
3Using an IDE such as Eclipse provides many advantages over a plain text editor, such as: 5Using an IDE such as Eclipse provides many advantages over a plain text editor, such as:
@@ -81,4 +83,4 @@ We will now configure a make target that cleans the project and builds the keyma
816. Leave the other options checked and click <kbd>OK</kbd>. Your make target will now appear under the selected keyboard. 836. Leave the other options checked and click <kbd>OK</kbd>. Your make target will now appear under the selected keyboard.
827. (Optional) Toggle the <kbd>Hide Empty Folders</kbd> icon button above the targets tree to only show your build target. 847. (Optional) Toggle the <kbd>Hide Empty Folders</kbd> icon button above the targets tree to only show your build target.
838. Double-click the build target you created to trigger a build. 858. Double-click the build target you created to trigger a build.
849. Select the <kbd>Console</kbd> view at the bottom to view the running build. \ No newline at end of file 869. Select the <kbd>Console</kbd> view at the bottom to view the running build.
diff --git a/docs/embedding.md b/docs/embedding.md
deleted file mode 100644
index 5c2f3b31e..000000000
--- a/docs/embedding.md
+++ /dev/null
@@ -1,64 +0,0 @@
1# WARNING: Until issue [#173](https://github.com/tmk/tmk_keyboard/issues/173) goes through, the [core][1] repository will not be up-to-date with the latest changes and fixes, but can still be used.
2
3If you want to use TMK for your own keyboard project, you've got three options for embedding the [core][1].
4The recommended option is [subtrees](#1-git-subtree).
5
6After adding the embed you'll need to [modify the Makefile](#modifications-to-the-makefile) of your project to point to the core correctly.
7
8## 1. git subtree
9
10In order to set up the subtree in your project, first add the core repository as a remote:
11```
12git remote add -f core https://github.com/tmk/tmk_core
13```
14
15Then add the core as a subtree (directory) in your local repository:
16```
17git subtree add -P tmk_core core master --squash
18```
19
20And that's it!
21
22When you want to update the subtree in your repository to match the master on [tmk_core][1], do this:
23```
24git subtree pull -P tmk_core core master --squash
25```
26
27## 2. git submodule
28
29In order to set up the submodule in your project, first add a new submodule:
30```
31git submodule add https://github.com/tmk/tmk_core tmk_core
32```
33
34Then pull, sync and update the submodule:
35```
36git pull
37git submodule sync --recursive
38git submodule update --init --recursive
39```
40
41And that's it!
42
43When you want to update the subtree in your repository to match the master on [tmk_core][1], follow the same steps as above.
44
45If you want to clone a repository from GitHub that has submodule(s) in it, pass <kbd>--recursive</kbd> when cloning, like so:
46`git clone --recursive https://github.com/<username>/<repository>`
47
48## 3. Manually (without git)
49
50*Note: This is not recommended in any way, but it's still possible.*
51
52Download a zipped version of the [tmk_core][1] repository using this link:
53<https://github.com/tmk/tmk_core/archive/master.zip>
54
55Extract the zip in your project's directory, then rename the folder to <kbd>tmk_core</kbd>.
56
57## Modifications to the *Makefile*
58
59The one thing you have to make sure to change in the *Makefile* (compared to [tmk_keyboard](https://github.com/tmk/tmk_keyboard) drivers' *[Makefile](https://github.com/tmk/tmk_keyboard/blob/master/keyboard/gh60/Makefile#L45)*) is the "TMK_DIR" variable, which needs to point to the embed directory:
60```Makefile
61TMK_DIR = ./tmk_core
62```
63
64[1]: https://github.com/tmk/tmk_core \ No newline at end of file
diff --git a/docs/faq.md b/docs/faq.md
index 0636d8b54..d7f2a6f4f 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -1,31 +1,35 @@
1## READ FIRST 1# Frequently Asked Questions
2- **README** of top directory : https://github.com/tmk/tmk_keyboard/blob/master/README.md
3- **README** of target project(keyboard/converter) directory.
4 2
5Note that you'll need to read **both**. 3## What is QMK?
6 4
5[QMK](https://github.com/qmk), short for Quantum Mechanical Keyboard, is a group of people building tools for custom keyboards. We started with the [QMK firmware](https://github.com/qmk/qmk_firmware), a heavily modified fork of [TMK](https://github.com/tmk/tmk_keyboard).
7 6
8# Build 7## What Differences Are There Between QMK and TMK?
9- [[FAQ/Build]]
10 8
9TMK was originally designed and implemented by [Jun Wako](https://github.com/tmk). QMK started as [Jack Humbert's](https://github.com/jackhumbert) fork of TMK for the Planck. After a while Jack's fork had diverged quite a bit from TMK, and in 2015 Jack decided to rename his fork to QMK.
11 10
12# Keymap 11From a technical standpoint QMK builds upon TMK by adding several new features. Most notably QMK has expanded the number of available keycodes and uses these to implement advanced features like `S()`, `LCTL()`, and `MO()`. You can see a complete list of these keycodes in [Quantum Keycodes](quantum_keycodes.html).
13- [[FAQ/Keymap]]
14 12
13From a project and community management standpoint TMK maintains all the officially supported keyboards by himself, with a bit of community support. Separate community maintained forks exist or can be created for other keyboards. Only a few keymaps are provided by default, so users typically don't share keymaps with each other. QMK encourages sharing of both keyboards and keymaps through a centrally managed repository, accepting all pull requests that follows the quality standards. These are mostly community maintained, but the QMK team also helps when necessary.
14
15Both approaches have their merits and their drawbacks, and code flows freely between TMK and QMK when it makes sense.
15 16
16# Debug Console 17# Debug Console
17## hid_listen can't recognize device 18## hid_listen can't recognize device
18When debug console of your device is not ready you will see like this: 19When debug console of your device is not ready you will see like this:
19 20
20 Waiting for device:......... 21```
22Waiting for device:.........
23```
21 24
22once the device is pluged in then *hid_listen* finds it you will get this message: 25once the device is pluged in then *hid_listen* finds it you will get this message:
23 26
24 Waiting for new device:......................... 27```
25 Listening: 28Waiting for new device:.........................
29Listening:
30```
26 31
27Check if you can't get this 'Listening:' message: 32If you can't get this 'Listening:' message try building with `CONSOLE_ENABLE=yes` in [Makefile]
28- build with `CONSOLE_ENABLE=yes` in **Makefile**.
29 33
30You may need privilege to access the device on OS like Linux. 34You may need privilege to access the device on OS like Linux.
31- try `sudo hid_listen` 35- try `sudo hid_listen`
@@ -73,41 +77,13 @@ Without reset circuit you will have inconsistent reuslt due to improper initiali
73 77
74 78
75## Can't read column of matrix beyond 16 79## Can't read column of matrix beyond 16
76Use `1UL<<16` instead of `1<<16` in `read_cols()` in **matrix.h** when your columns goes beyond 16. 80Use `1UL<<16` instead of `1<<16` in `read_cols()` in [matrix.h] when your columns goes beyond 16.
77 81
78In C `1` means one of **int** type which is **16bit** in case of AVR so you can't shift left more than 15. You will get unexpected zero when you say `1<<16`. You have to use **unsigned long** type with `1UL`. 82In C `1` means one of [int] type which is [16bit] in case of AVR so you can't shift left more than 15. You will get unexpected zero when you say `1<<16`. You have to use [unsigned long] type with `1UL`.
79 83
80http://deskthority.net/workshop-f7/rebuilding-and-redesigning-a-classic-thinkpad-keyboard-t6181-60.html#p146279 84http://deskthority.net/workshop-f7/rebuilding-and-redesigning-a-classic-thinkpad-keyboard-t6181-60.html#p146279
81 85
82 86
83
84## Pull-up Resistor
85In some case converters needed to have pull-up resistors to work correctly. Place the resistor between VCC and signal line in parallel.
86
87For example:
88```
89Keyboard Conveter
90 ,------.
915V------+------|VCC |
92 | | |
93 R | |
94 | | |
95Signal--+------|PD0 |
96 | |
97GND------------|GND |
98 `------'
99R: 1K Ohm resistor
100```
101
102https://github.com/tmk/tmk_keyboard/issues/71
103
104
105## Arduino Micro's pin naming is confusing
106Note that Arduino Micro PCB marking is different from real AVR port name. D0 of Arduino Micro is not PD0, PD0 is D3. Check schematic yourself.
107http://arduino.cc/en/uploads/Main/arduino-micro-schematic.pdf
108
109
110
111## Bootloader jump doesn't work 87## Bootloader jump doesn't work
112Properly configure bootloader size in **Makefile**. With wrong section size bootloader won't probably start with **Magic command** and **Boot Magic**. 88Properly configure bootloader size in **Makefile**. With wrong section size bootloader won't probably start with **Magic command** and **Boot Magic**.
113``` 89```
@@ -157,20 +133,20 @@ https://github.com/tmk/tmk_keyboard/issues/179
157 133
158 134
159## Special Extra key doesn't work(System, Audio control keys) 135## Special Extra key doesn't work(System, Audio control keys)
160You need to define `EXTRAKEY_ENABLE` in **makefile** to use them in TMK. 136You need to define `EXTRAKEY_ENABLE` in `rules.mk` to use them in QMK.
137
161``` 138```
162EXTRAKEY_ENABLE = yes # Audio control and System control 139EXTRAKEY_ENABLE = yes # Audio control and System control
163``` 140```
164http://deskthority.net/workshop-f7/tmk-keyboard-firmware-collection-t4478-60.html#p157919
165
166 141
167## Wakeup from sleep doesn't work 142## Wakeup from sleep doesn't work
143
168In Windows check `Allow this device to wake the computer` setting in Power **Management property** tab of **Device Manager**. Also check BIOS setting. 144In Windows check `Allow this device to wake the computer` setting in Power **Management property** tab of **Device Manager**. Also check BIOS setting.
169 145
170Pressing any key during sleep should wake host. 146Pressing any key during sleep should wake host.
171 147
172
173## Using Arduino? 148## Using Arduino?
149
174**Note that Arduino pin naming is different from actual chip.** For example, Arduino pin `D0` is not `PD0`. Check circuit with its schematics yourself. 150**Note that Arduino pin naming is different from actual chip.** For example, Arduino pin `D0` is not `PD0`. Check circuit with its schematics yourself.
175 151
176- http://arduino.cc/en/uploads/Main/arduino-leonardo-schematic_3b.pdf 152- http://arduino.cc/en/uploads/Main/arduino-leonardo-schematic_3b.pdf
@@ -235,4 +211,4 @@ https://geekhack.org/index.php?topic=41989.msg1967778#msg1967778
235## FLIP doesn't work 211## FLIP doesn't work
236### AtLibUsbDfu.dll not found 212### AtLibUsbDfu.dll not found
237Remove current driver and reinstall one FLIP provides from DeviceManager. 213Remove current driver and reinstall one FLIP provides from DeviceManager.
238http://imgur.com/a/bnwzy \ No newline at end of file 214http://imgur.com/a/bnwzy
diff --git a/docs/faq_build.md b/docs/faq_build.md
index ba8b52af1..ebe8caccd 100644
--- a/docs/faq_build.md
+++ b/docs/faq_build.md
@@ -1,5 +1,6 @@
1## READ FIRST 1# Frequently Asked Build Questions
2- https://github.com/qmk/qmk_firmware/blob/master/docs/build_guide.md 2
3This page covers questions about building QMK. If you have not yet you should read the [Build Guide](https://github.com/qmk/qmk_firmware/blob/master/docs/build_guide.md).
3 4
4In short, 5In short,
5 6
@@ -8,12 +9,10 @@ In short,
8 $ make [-f Makefile.<variant>] [KEYMAP=...] dfu 9 $ make [-f Makefile.<variant>] [KEYMAP=...] dfu
9 10
10 11
11## Can't program on Linux and Mac 12## Can't program on Linux
12You will need proper permission to operate a device. For Linux users see udev rules below. 13You will need proper permission to operate a device. For Linux users see udev rules below.
13Easy way is to use `sudo` command, if you are not familiar with this command check its manual with `man sudo` or this page on line. 14Easy way is to use `sudo` command, if you are not familiar with this command check its manual with `man sudo` or this page on line.
14 15
15https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/sudo.8.html
16
17In short when your controller is ATMega32u4, 16In short when your controller is ATMega32u4,
18 17
19 $ sudo dfu-programmer atmega32u4 erase --force 18 $ sudo dfu-programmer atmega32u4 erase --force
@@ -26,63 +25,14 @@ or just
26 25
27But to run `make` with root privilege is not good idea. Use former method as possible. 26But to run `make` with root privilege is not good idea. Use former method as possible.
28 27
29## Do 'make clean' before 'make'
30You'll need `make clean` after you edit **config.h** or change options like `KEYMAP`.
31
32Frist remove all files made in previous build,
33
34 $ make clean
35
36then build new firmware.
37
38 $ make [KEYMAP=...]
39
40Also you can always try `make clean` when you get other strange result during build.
41
42
43## WINAVR is obsolete 28## WINAVR is obsolete
44It is no longer recommended and may cause some problem. 29It is no longer recommended and may cause some problem.
45See [Issue #99](https://github.com/tmk/tmk_keyboard/issues/99). 30See [Issue #99](https://github.com/tmk/tmk_keyboard/issues/99).
46 31
47## USB stack: LUFA or PJRC?
48Use **LUFA**.
49
50**PJRC** stack won't be supported actively anymore. There is no reason to hesitate to use LUFA except for binary size(about 1KB lager?). But **PJRC** is still very useful for debug and development purpose.
51See also [Issue #50](https://github.com/tmk/tmk_keyboard/issues/50) and [Issue #58](https://github.com/tmk/tmk_keyboard/issues/58).
52
53## Edit configuration but not change
54You will need followings after editing `CONSOLE_ENABLE`, `NKRO_ENABLE`, `EXTRAKEY_ENABLE` or `MOUSEKEY_ENABLE` option in **Makefile**.
55
56### 1. make clean
57This will be needed when you edit **config.h**.
58
59### 2. Remove Drivers from Device Manager(Windows)
60**Windows only.** Linux, OSX and other OS's doesn't require this. It looks like Windows keeps using driver installed when device was connected first time even after the device changes its configuration. To load proper drivers for new configuration you need to remove existent drivers from **Drvice Manager**.
61
62### 3. Build with different VID:PID
63**Windows only.** If method 2. does't work fou you try this. Change Vendor ID or Product ID in **config.h** and build firmware. Windows should recognize it as whole new device and start drivers install process.
64
65### 4. Just try other ports
66This will be useful and the easiest workaround for **Windows**.
67
68
69
70## USB VID and PID 32## USB VID and PID
71You can use any ID you want with editing `config.h`. Using any presumably unused ID will be no problem in fact except for very least chance of collision with other product. 33You can use any ID you want with editing `config.h`. Using any presumably unused ID will be no problem in fact except for very least chance of collision with other product.
72 34
73For example TMK uses following numbers by default. 35Most boards in QMK use `0xFEED` as the vendor ID. You should look through other keyboards to make sure you pick a unique Product ID.
74```
75keyboard:
76hhkb: FEED:CAFE
77gh60: FEED:6060
78
79converter:
80x68k: FEED:6800
81ps2: FEED:6512
82adb: FEED:0ADB
83ibm4704: FEED:4704
84pc98: FEED:9898
85```
86 36
87Also see this. 37Also see this.
88https://github.com/tmk/tmk_keyboard/issues/150 38https://github.com/tmk/tmk_keyboard/issues/150
@@ -112,7 +62,6 @@ SUBSYSTEMS=="usb", ATTRS{idVendor}=="feed", MODE:="0666"
112``` 62```
113 63
114 64
115
116## Cortex: cstddef: No such file or directory 65## Cortex: cstddef: No such file or directory
117GCC 4.8 of Ubuntu 14.04 had this problem and had to update to 4.9 with this PPA. 66GCC 4.8 of Ubuntu 14.04 had this problem and had to update to 4.9 with this PPA.
118https://launchpad.net/~terry.guo/+archive/ubuntu/gcc-arm-embedded 67https://launchpad.net/~terry.guo/+archive/ubuntu/gcc-arm-embedded
@@ -148,4 +97,4 @@ Note that Teensy2.0++ bootloader size is 2048byte. Some Makefiles may have wrong
148# LUFA bootloader 4096 97# LUFA bootloader 4096
149# USBaspLoader 2048 98# USBaspLoader 2048
150OPT_DEFS += -DBOOTLOADER_SIZE=2048 99OPT_DEFS += -DBOOTLOADER_SIZE=2048
151``` \ No newline at end of file 100```
diff --git a/docs/faq_keymap.md b/docs/faq_keymap.md
index 623726ab2..d6442ac53 100644
--- a/docs/faq_keymap.md
+++ b/docs/faq_keymap.md
@@ -1,10 +1,13 @@
1## READ FIRST 1# Frequently Asked Keymap Questions
2https://github.com/tmk/tmk_core/blob/master/doc/keymap.md
3 2
4## How to get keycode 3This page covers questions people often have about keymaps. If you haven't you should read [Keymap Overview](keymap.html) first.
5See [Keycodes](Keycodes). Keycodes are actually defined in [common/keycode.h](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/common/keycode.h).
6 4
7## Sysrq key 5## What Keycodes Can I Use?
6See [Basic Keycodes](keycodes.html) and [Quantum Keycodes](quantum_keycodes.html) for most of the keys you can define.
7
8Keycodes are actually defined in [common/keycode.h](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/common/keycode.h).
9
10## `KC_SYSREQ` isn't working
8Use keycode for Print Screen(`KC_PSCREEN` or `KC_PSCR`) instead of `KC_SYSREQ`. Key combination of 'Alt + Print Screen' is recognized as 'System request'. 11Use keycode for Print Screen(`KC_PSCREEN` or `KC_PSCR`) instead of `KC_SYSREQ`. Key combination of 'Alt + Print Screen' is recognized as 'System request'.
9 12
10See [issue #168](https://github.com/tmk/tmk_keyboard/issues/168) and 13See [issue #168](https://github.com/tmk/tmk_keyboard/issues/168) and
@@ -16,7 +19,7 @@ Use `KC_PWR` instead of `KC_POWER` or vice versa.
16- `KC_PWR` works with Windows and Linux, not with OSX. 19- `KC_PWR` works with Windows and Linux, not with OSX.
17- `KC_POWER` works with OSX and Linux, not with Windows. 20- `KC_POWER` works with OSX and Linux, not with Windows.
18 21
19http://geekhack.org/index.php?topic=14290.msg1327264#msg1327264 22More info: http://geekhack.org/index.php?topic=14290.msg1327264#msg1327264
20 23
21## Oneshot modifier 24## Oneshot modifier
22Solves my personal 'the' problem. I often got 'the' or 'THe' wrongly instead of 'The'. Oneshot Shift mitgates this for me. 25Solves my personal 'the' problem. I often got 'the' or 'THe' wrongly instead of 'The'. Oneshot Shift mitgates this for me.
@@ -32,15 +35,17 @@ For Modifier keys and layer actions you have to place `KC_TRANS` on same positio
32 35
33 36
34## Mechanical Lock Switch Support 37## Mechanical Lock Switch Support
35https://github.com/tmk/tmk_keyboard#mechanical-locking-support
36
37This feature is for *mechanical lock switch* like this Alps one.
38http://deskthority.net/wiki/Alps_SKCL_Lock
39 38
40Using enabling this feature and using keycodes `LCAP`, `LNUM` or `LSCR` in keymap you can use physical locking CapsLock, NumLock or ScrollLock keys as you expected. 39This feature is for *mechanical lock switch* like [this Alps one](http://deskthority.net/wiki/Alps_SKCL_Lock). You can enable it by adding this to your `config.h`:
40
41```
42#define LOCKING_SUPPORT_ENABLE
43#define LOCKING_RESYNC_ENABLE
44```
41 45
42Old vintage mechanical keyboards occasionally have lock switches but modern ones don't have. ***You don't need this feature in most case and just use keycodes `CAPS`, `NLCK` and `SLCK`.*** 46After enabling this feature use keycodes `KC_LCAP`, `KC_LNUM` and `KC_LSCR` in your keymap instead.
43 47
48Old vintage mechanical keyboards occasionally have lock switches but modern ones don't have. ***You don't need this feature in most case and just use keycodes `KC_CAPS`, `KC_NLCK` and `KC_SLCK`.***
44 49
45## Input special charactors other than ASCII like Cédille 'Ç' 50## Input special charactors other than ASCII like Cédille 'Ç'
46NO UNIVERSAL METHOD TO INPUT THOSE WORKS OVER ALL SYSTEMS. You have to define **MACRO** in way specific to your OS or layout. 51NO UNIVERSAL METHOD TO INPUT THOSE WORKS OVER ALL SYSTEMS. You have to define **MACRO** in way specific to your OS or layout.
@@ -111,68 +116,12 @@ https://github.com/tekezo/Karabiner/issues/403
111 116
112## Esc and `~ on a key 117## Esc and `~ on a key
113 118
114You can define FC660 and Poker style ESC with `ACTION_LAYER_MODS`. 119Use `GRAVE_ESC` or `KC_GESC` in your keymap.
115https://github.com/tmk/tmk_core/blob/master/doc/keymap.md#35-momentary-switching-with-modifiers
116
117```
118#include "keymap_common.h"
119
120
121/* Leopold FC660
122 * https://elitekeyboards.com/products.php?sub=leopold,compact&pid=fc660c
123 * Shift + Esc = ~
124 * Fn + Esc = `
125 *
126 * Votex Poker II
127 * https://adprice.fedorapeople.org/poker2_manual.pdf
128 * Fn + Esc = `
129 * Fn + Shift + Esc = ~
130 */
131const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
132 /* 0: qwerty */
133 [0] = KEYMAP( \
134 ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, NUHS,BSPC, \
135 TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, \
136 LCTL,A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
137 FN0, NUBS,Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT,ESC, \
138 LCTL,LGUI,LALT, SPC, RALT,FN1, RGUI,RCTL),
139 [1] = KEYMAP( \
140 GRV, TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
141 TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,\
142 TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
143 TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
144 TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS,TRNS),
145 [2] = KEYMAP( \
146 GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS,TRNS, \
147 TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,\
148 TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
149 TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
150 TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS,TRNS),
151};
152
153const uint16_t PROGMEM fn_actions[] = {
154 // https://github.com/tmk/tmk_core/blob/master/doc/keymap.md#35-momentary-switching-with-modifiers
155 [0] = ACTION_LAYER_MODS(1, MOD_LSFT),
156 [1] = ACTION_LAYER_MOMENTARY(2),
157};
158```
159
160Otherwise, you can write code, see this.
161https://github.com/p3lim/keyboard_firmware/commit/fd799c12b69a5ab5addd1d4c03380a1b8ef8e9dc
162
163
164## 32 Fn keys are not enough?
165### actionmap
166It uses 16 bit codes and has no limitation of 32 Fn at the expense of memory space. TMK keymap is actually is 8 bit codes as subset of the actionmap.
167https://github.com/tmk/tmk_keyboard/issues?utf8=%E2%9C%93&q=is%3Aissue+actionmap
168
169### extension for modified keys
170https://geekhack.org/index.php?topic=41989.msg1885526#msg1885526
171
172 120
173## Arrow on Right Modifier keys with Dual-Role 121## Arrow on Right Modifier keys with Dual-Role
174This turns right modifer keys into arrow keys when the keys are tapped while still modifiers when the keys are hold. In TMK the dual-role function is dubbed **TAP**. 122This turns right modifer keys into arrow keys when the keys are tapped while still modifiers when the keys are hold. In TMK the dual-role function is dubbed **TAP**.
175``` 123```
124
176#include "keymap_common.h" 125#include "keymap_common.h"
177 126
178 127
@@ -211,18 +160,16 @@ const uint16_t PROGMEM fn_actions[] = {
211 160
212``` 161```
213 162
214
215Dual-role key: https://en.wikipedia.org/wiki/Modifier_key#Dual-role_keys 163Dual-role key: https://en.wikipedia.org/wiki/Modifier_key#Dual-role_keys
216 164
217 165
218## Eject on Mac OSX 166## Eject on Mac OSX
219`EJCT` keycode works on OSX. https://github.com/tmk/tmk_keyboard/issues/250 167`KC_EJCT` keycode works on OSX. https://github.com/tmk/tmk_keyboard/issues/250
220It seems Windows 10 ignores the code and Linux/Xorg recognizes but has no mapping by default. 168It seems Windows 10 ignores the code and Linux/Xorg recognizes but has no mapping by default.
221 169
222Not sure what keycode Eject is on genuine Apple keyboard actually. HHKB uses `F20` for Eject key(`Fn+f`) on Mac mode but this is not same as Apple Eject keycode probably. 170Not sure what keycode Eject is on genuine Apple keyboard actually. HHKB uses `F20` for Eject key(`Fn+f`) on Mac mode but this is not same as Apple Eject keycode probably.
223 171
224 172
225
226## What's weak_mods and real_mods in action_util.c 173## What's weak_mods and real_mods in action_util.c
227___TO BE IMPROVED___ 174___TO BE IMPROVED___
228 175
@@ -262,4 +209,3 @@ if (timer_elapsed(key_timer) < 100) {
262``` 209```
263 210
264It's best to declare the `static uint16_t key_timer;` at the top of the file, outside of any code blocks you're using it in. 211It's best to declare the `static uint16_t key_timer;` at the top of the file, outside of any code blocks you're using it in.
265
diff --git a/docs/home.md b/docs/features/README.md
index df27ebdc5..72187d2d4 100644
--- a/docs/home.md
+++ b/docs/features/README.md
@@ -1,19 +1,5 @@
1# Quantum Mechanical Keyboard Firmware 1# QMK Features
2 2
3You have found the QMK Firmware documentation site. This is a keyboard firmware based on the [tmk\_keyboard firmware](http://github.com/tmk/tmk_keyboard) \([view differences](differences_from_tmk.md)\) with some useful features for Atmel AVR controllers, and more specifically, the [OLKB product line](http://olkb.com), the [ErgoDox EZ](http://www.ergodox-ez.com) keyboard, and the [Clueboard product line](http://clueboard.co/). It has also been ported to ARM chips using ChibiOS. You can use it to power your own hand-wired or custom keyboard PCB.
4
5# Getting started
6
7Before you are able to compile, you'll need to install an environment for AVR or ARM development. You'll find the instructions for any OS below. If you find another/better way to set things up from scratch, please consider [making a pull request](https://github.com/qmk/qmk_firmware/pulls) with your changes!
8
9* [Build Environment Setup](build_environment_setup.md)
10* [QMK Overview](qmk_overview.md)
11
12# Configuring QMK Firmware
13
14The QMK Firmware can be configured via the `keymaps` array data. For simply generating a [basic keycode](keycodes.md), you add it as an element of your `keymaps` array data. For more complicated actions, there are more advanced keycodes that are organized carefully to represent common operations, some of which can be found on the [Key Functions](key_functions.md) page.
15
16For more details of the `keymaps` array, see [Keymap Overview](keymap.md) page.
17 3
18## Space Cadet Shift: The future, built in 4## Space Cadet Shift: The future, built in
19 5
@@ -116,19 +102,4 @@ case MACRO_RAISED:
116 update_tri_layer(LAYER_LOWER, LAYER_RAISED, LAYER_ADJUST); 102 update_tri_layer(LAYER_LOWER, LAYER_RAISED, LAYER_ADJUST);
117 } 103 }
118 break; 104 break;
119``` 105``` \ No newline at end of file
120
121## Other firmware shortcut keycodes
122
123* `RESET` - puts the MCU in DFU mode for flashing new firmware \(with `make dfu`\)
124* `DEBUG` - the firmware into debug mode - you'll need hid\_listen to see things
125* `BL_ON` - turns the backlight on
126* `BL_OFF` - turns the backlight off
127* `BL_<n>` - sets the backlight to level _n_
128* `BL_INC` - increments the backlight level by one
129* `BL_DEC` - decrements the backlight level by one
130* `BL_TOGG` - toggles the backlight
131* `BL_STEP` - steps through the backlight levels
132
133Enable the backlight from the Makefile.
134
diff --git a/docs/git_subtree.md b/docs/git_subtree.md
deleted file mode 100644
index 4fd7f8bea..000000000
--- a/docs/git_subtree.md
+++ /dev/null
@@ -1,7 +0,0 @@
1## Update core branch procedure
2 git co master
3 git subtree split -P tmk_core -b <tmp_branch>
4 git co core
5 git merge <tmp_branch>
6 git co master
7 git subtree merge -P tmk_core --squash
diff --git a/docs/glossary.md b/docs/glossary.md
new file mode 100644
index 000000000..fac1952a6
--- /dev/null
+++ b/docs/glossary.md
@@ -0,0 +1,29 @@
1# Glossary of QMK terms
2
3## Dynamic Macro
4A macro which has been recorded on the keyboard and which will be lost when the keyboard is unplugged or the computer rebooted.
5
6## git
7Versioning software used at the commandline
8
9## Keycode
10A 2-byte number that represents a particular key. `0x00`-`0xFF` are used for [Basic Keycodes](keycodes.html) while `0x100`-`0xFFFF` are used for [Quantum Keycodes](quantum_keycodes.html).
11
12## Keymap
13An array of keycodes mapped to a physical keyboard layout, which are processed on key presses and releases
14
15## Matrix
16A wiring pattern of columns and rows (and usually diodes) that enables the MCU to detect keypresses with a fewer number of pins
17
18## Macro
19A feature that lets you send muiltple keypress events (hid reports) after having pressed only a single key.
20
21## Mousekeys
22A feature that lets you control your mouse cursor and click from your keyboard.
23
24* [Mousekeys Documentation](mouse_keys.html)
25
26## Tap Dance
27A feature that lets you assign muiltple keycodes to the same key based on how many times you press it.
28
29* [Tap Dance Documentation](tap_dance.html)
diff --git a/docs/hand_wire.md b/docs/hand_wire.md
index 0d3372815..9f6309542 100644
--- a/docs/hand_wire.md
+++ b/docs/hand_wire.md
@@ -100,9 +100,9 @@ Things act as they should! Which will get us the following data:
100 100
101The firmware can then use this correct data to detect what it should do, and eventually, what signals it needs to send to the OS. 101The firmware can then use this correct data to detect what it should do, and eventually, what signals it needs to send to the OS.
102 102
103## The actual hand-wiring 103# The actual hand-wiring
104 104
105### Getting things in place 105## Getting things in place
106 106
107When starting this, you should have all of your stabilisers and keyswitches already installed (and optionally keycaps). If you're using a Cherry-type stabiliser (plate-mounted only, obviously), you'll need to install that before your keyswitches. If you're using Costar ones, you can installed them afterwards. 107When starting this, you should have all of your stabilisers and keyswitches already installed (and optionally keycaps). If you're using a Cherry-type stabiliser (plate-mounted only, obviously), you'll need to install that before your keyswitches. If you're using Costar ones, you can installed them afterwards.
108 108
@@ -112,27 +112,31 @@ Get your soldering iron heated-up and collect the rest of the materials from the
112 112
113Before continuing, plan out where you're going to place your Teensy. If you're working with a board that has a large (6.25u) spacebar, it may be a good idea to place it in-between switches against the plate. Otherwise, you may want to trim some of the leads on the keyswitches where you plan on putting it - this will make it a little harder to solder the wire/diodes, but give you more room to place the Teensy. 113Before continuing, plan out where you're going to place your Teensy. If you're working with a board that has a large (6.25u) spacebar, it may be a good idea to place it in-between switches against the plate. Otherwise, you may want to trim some of the leads on the keyswitches where you plan on putting it - this will make it a little harder to solder the wire/diodes, but give you more room to place the Teensy.
114 114
115### Preparing the diodes 115## Preparing the diodes
116 116
117It's a little easier to solder the diodes in place if you bend them at a 90º angle immediately after the black line - this will help to make sure you put them on the right way (direction matters), and in the correct position. The diodes will look like this when bent (with longer leads): 117It's a little easier to solder the diodes in place if you bend them at a 90º angle immediately after the black line - this will help to make sure you put them on the right way (direction matters), and in the correct position. The diodes will look like this when bent (with longer leads):
118 118
119```
119 ┌─────┬─┐ 120 ┌─────┬─┐
120 ───┤ │ ├─┐ 121 ───┤ │ ├─┐
121 └─────┴─┘ │ 122 └─────┴─┘ │
122 123
124```
123 125
124We'll be using the long lead at the bent end to connect it to the elbow (bent part) of the next diode, creating the row. 126We'll be using the long lead at the bent end to connect it to the elbow (bent part) of the next diode, creating the row.
125 127
126### Soldering the diodes 128## Soldering the diodes
127 129
128Starting at the top-left switch, place the diode (with tweezers if you have them) on the switch so that the diode itself is vertically aligned, and the black line is facing toward you. The straight end of the diode should be touching the left contact on the switch, and the bent end should be facing to the right and resting on the switch there, like this: 130Starting at the top-left switch, place the diode (with tweezers if you have them) on the switch so that the diode itself is vertically aligned, and the black line is facing toward you. The straight end of the diode should be touching the left contact on the switch, and the bent end should be facing to the right and resting on the switch there, like this:
129 131
132```
130 │o 133 │o
131 ┌┴┐ o 134 ┌┴┐ o
132 │ │ O 135 │ │ O
133 ├─┤ 136 ├─┤
134 └┬┘ 137 └┬┘
135 └───────────── 138 └─────────────
139```
136 140
137Letting the diode rest, grab your solder, and touch both it and the soldering iron to the left contact at the same time - the rosin in the solder should make it easy for the solder to flow over both the diode and the keyswitch contact. The diode may move a little, and if it does, carefully position it back it place by grabbing the bent end of the diode - the other end will become hot very quickly. If you find that it's moving too much, using needle-nose pliers of some sort may help to keep the diode still when soldering. 141Letting the diode rest, grab your solder, and touch both it and the soldering iron to the left contact at the same time - the rosin in the solder should make it easy for the solder to flow over both the diode and the keyswitch contact. The diode may move a little, and if it does, carefully position it back it place by grabbing the bent end of the diode - the other end will become hot very quickly. If you find that it's moving too much, using needle-nose pliers of some sort may help to keep the diode still when soldering.
138 142
@@ -142,18 +146,20 @@ After soldering things in place, it may be helpful to blow on the joint to push
142 146
143When the first diode is complete, the next one will need to be soldered to both the keyswitch, and the previous diode at the new elbow. That will look something like this: 147When the first diode is complete, the next one will need to be soldered to both the keyswitch, and the previous diode at the new elbow. That will look something like this:
144 148
149```
145 │o │o 150 │o │o
146 ┌┴┐ o ┌┴┐ o 151 ┌┴┐ o ┌┴┐ o
147 │ │ O │ │ O 152 │ │ O │ │ O
148 ├─┤ ├─┤ 153 ├─┤ ├─┤
149 └┬┘ └┬┘ 154 └┬┘ └┬┘
150 └────────────────┴───────────── 155 └────────────────┴─────────────
156```
151 157
152After completing a row, use the wire cutters to trim the excess wire from the tops of the diodes, and from the right side on the final switch. This process will need to completed for each row you have. 158After completing a row, use the wire cutters to trim the excess wire from the tops of the diodes, and from the right side on the final switch. This process will need to completed for each row you have.
153 159
154When all of the diodes are completely soldered, it's a good idea to quickly inspect each one to ensure that your solder joints are solid and sturdy - repairing things after this is possible, but more difficult. 160When all of the diodes are completely soldered, it's a good idea to quickly inspect each one to ensure that your solder joints are solid and sturdy - repairing things after this is possible, but more difficult.
155 161
156### Soldering the columns 162## Soldering the columns
157 163
158You'll have some options in the next process - it's a good idea to insulate the column wires (since the diodes aren't), but if you're careful enough, you can use exposed wires for the columns - it's not recommended, though. If you're using single-cored wire, stripping the plastic off of the whole wire and feeding it back on is probably the best option, but can be difficult depending on the size and materials. You'll want to leave parts of the wire exposed where you're going to be solder it onto the keyswitch. 164You'll have some options in the next process - it's a good idea to insulate the column wires (since the diodes aren't), but if you're careful enough, you can use exposed wires for the columns - it's not recommended, though. If you're using single-cored wire, stripping the plastic off of the whole wire and feeding it back on is probably the best option, but can be difficult depending on the size and materials. You'll want to leave parts of the wire exposed where you're going to be solder it onto the keyswitch.
159 165
@@ -163,7 +169,7 @@ Before beginning to solder, it helps to have your wire pre-bent (if using single
163 169
164If you're not using any insulation, you can try to keep the column wires elevated, and solder them near the tips of the keyswitch contacts - if the wires are sturdy enough, they won't short out to the row wiring an diodes. 170If you're not using any insulation, you can try to keep the column wires elevated, and solder them near the tips of the keyswitch contacts - if the wires are sturdy enough, they won't short out to the row wiring an diodes.
165 171
166### Wiring things to the Teensy 172## Wiring things to the Teensy
167 173
168Now that the matrix itself is complete, it's time to connect what you've done to the Teensy. You'll be needing the number of pins equal to your number of columns + your number of rows. There are some pins on the Teensy that are special, like D6 (the LED on the chip), or some of the UART, SPI, I2C, or PWM channels, but only avoid those if you're planning something in addition to a keyboard. If you're unsure about wanting to add something later, you should have enough pins in total to avoid a couple. 174Now that the matrix itself is complete, it's time to connect what you've done to the Teensy. You'll be needing the number of pins equal to your number of columns + your number of rows. There are some pins on the Teensy that are special, like D6 (the LED on the chip), or some of the UART, SPI, I2C, or PWM channels, but only avoid those if you're planning something in addition to a keyboard. If you're unsure about wanting to add something later, you should have enough pins in total to avoid a couple.
169 175
@@ -179,48 +185,55 @@ When you're done with the columns, start with the rows in the same process, from
179 185
180As you move along, be sure that the Teensy is staying in place - recutting and soldering the wires is a pain! 186As you move along, be sure that the Teensy is staying in place - recutting and soldering the wires is a pain!
181 187
182### Getting some basic firmware set-up 188# Getting some basic firmware set-up
183 189
184From here, you should have a working keyboard with the correct firmware. Before we attach the Teensy permanently to the keyboard, let's quickly get some firmware loaded onto the Teensy so we can test each keyswitch. 190From here, you should have a working keyboard once you program a firmware. Before we attach the Teensy permanently to the keyboard, let's quickly get some firmware loaded onto the Teensy so we can test each keyswitch.
185 191
186To start out, download [the firmware](https://github.com/qmk/qmk_firmware/) - we'll be using my (Jack's) fork of TMK called QMK/Quantum. We'll be doing a lot from the Terminal/command prompt, so get that open, along with a decent text editor like [Sublime Text](http://www.sublimetext.com/). 192To start out, download [the firmware](https://github.com/qmk/qmk_firmware/) - we'll be using my (Jack's) fork of TMK called QMK/Quantum. We'll be doing a lot from the Terminal/command prompt, so get that open, along with a decent text editor like [Sublime Text](http://www.sublimetext.com/).
187 193
188The first thing we're going to do is create a new project using the script in the root directory of the firmware. In your terminal, run this command with `<project_name>` replaced by the name of your project - it'll need to be different from any other project in the `keyboards/` folder: 194The first thing we're going to do is create a new project using the script in the root directory of the firmware. In your terminal, run this command with `<project_name>` replaced by the name of your project - it'll need to be different from any other project in the `keyboards/` folder:
189 195
196```
190 util/new_project.sh <project_name> 197 util/new_project.sh <project_name>
198```
191 199
192You'll want to navigate to the `keyboards/<project_name>/` folder by typing, like the print-out from the script specifies: 200You'll want to navigate to the `keyboards/<project_name>/` folder by typing, like the print-out from the script specifies:
193 201
194 cd keyboards/<project_name> 202 cd keyboards/<project_name>
195 203
196#### config.h 204### config.h
197 205
198The first thing you're going to want to modify is the `config.h` file. Find `MATRIX_ROWS` and `MATRIX_COLS` and change their definitions to match the dimensions of your keyboard's matrix. 206The first thing you're going to want to modify is the `config.h` file. Find `MATRIX_ROWS` and `MATRIX_COLS` and change their definitions to match the dimensions of your keyboard's matrix.
199 207
200Farther down are `MATRIX_ROW_PINS` and `MATRIX_COL_PINS`. Change their definitions to match how you wired up your matrix (looking from the top of the keyboard, the rows run top-to-bottom and the columns run left-to-right). Likewise, change the definition of `UNUSED_PINS` to match the pins you did not use (this will save power). 208Farther down are `MATRIX_ROW_PINS` and `MATRIX_COL_PINS`. Change their definitions to match how you wired up your matrix (looking from the top of the keyboard, the rows run top-to-bottom and the columns run left-to-right). Likewise, change the definition of `UNUSED_PINS` to match the pins you did not use (this will save power).
201 209
202#### \<project_name\>.h 210### \<project_name\>.h
203 211
204The next file you'll want to look at is `<project_name>.h`. You're going to want to rewrite the `KEYMAP` definition - the format and syntax here is extremely important, so pay attention to how things are setup. The first half of the definition are considered the arguments - this is the format that you'll be following in your keymap later on, so you'll want to have as many k*xy* variables here as you do keys. The second half is the part that the firmware actually looks at, and will contain gaps depending on how you wired your matrix. 212The next file you'll want to look at is `<project_name>.h`. You're going to want to rewrite the `KEYMAP` definition - the format and syntax here is extremely important, so pay attention to how things are setup. The first half of the definition are considered the arguments - this is the format that you'll be following in your keymap later on, so you'll want to have as many k*xy* variables here as you do keys. The second half is the part that the firmware actually looks at, and will contain gaps depending on how you wired your matrix.
205 213
206We'll dive into how this will work with the following example. Say we have a keyboard like this: 214We'll dive into how this will work with the following example. Say we have a keyboard like this:
207 215
216```
208 ┌───┬───┬───┐ 217 ┌───┬───┬───┐
209 │ │ │ │ 218 │ │ │ │
210 ├───┴─┬─┴───┤ 219 ├───┴─┬─┴───┤
211 │ │ │ 220 │ │ │
212 └─────┴─────┘ 221 └─────┴─────┘
222```
213 223
214This can be described by saying the top row is 3 1u keys, and the bottom row is 2 1.5u keys. The difference between the two rows is important, because the bottom row has an unused column spot (3 v 2). Let's say that this is how we wired the columns: 224This can be described by saying the top row is 3 1u keys, and the bottom row is 2 1.5u keys. The difference between the two rows is important, because the bottom row has an unused column spot (3 v 2). Let's say that this is how we wired the columns:
215 225
226```
216 ┌───┬───┬───┐ 227 ┌───┬───┬───┐
217 │ ┋ │ ┋ │ ┋ │ 228 │ ┋ │ ┋ │ ┋ │
218 ├─┋─┴─┬─┴─┋─┤ 229 ├─┋─┴─┬─┴─┋─┤
219 │ ┋ │ ┋ │ 230 │ ┋ │ ┋ │
220 └─────┴─────┘ 231 └─────┴─────┘
232```
221 233
222The middle column is unused on the bottom row in this example. Our `KEYMAP` definition would look like this: 234The middle column is unused on the bottom row in this example. Our `KEYMAP` definition would look like this:
223 235
236```
224 #define KEYMAP( \ 237 #define KEYMAP( \
225 k00, k01, k02, \ 238 k00, k01, k02, \
226 k10, k11, \ 239 k10, k11, \
@@ -229,19 +242,23 @@ The middle column is unused on the bottom row in this example. Our `KEYMAP` defi
229 { k00, k01, k02 }, \ 242 { k00, k01, k02 }, \
230 { k10, KC_NO, k11 }, \ 243 { k10, KC_NO, k11 }, \
231 } 244 }
245```
232 246
233Notice how the top half is spaced to resemble our physical layout - this helps us understand which keys are associated with which columns. The bottom half uses the keycode `KC_NO` where there is no keyswitch wired in. It's easiest to keep the bottom half aligned in a grid to help us make sense of how the firmware actually sees the wiring. 247Notice how the top half is spaced to resemble our physical layout - this helps us understand which keys are associated with which columns. The bottom half uses the keycode `KC_NO` where there is no keyswitch wired in. It's easiest to keep the bottom half aligned in a grid to help us make sense of how the firmware actually sees the wiring.
234 248
235Let's say that instead, we wired our keyboard like this (a fair thing to do): 249Let's say that instead, we wired our keyboard like this (a fair thing to do):
236 250
251```
237 ┌───┬───┬───┐ 252 ┌───┬───┬───┐
238 │ ┋ │ ┋│ ┋ │ 253 │ ┋ │ ┋│ ┋ │
239 ├─┋─┴─┬┋┴───┤ 254 ├─┋─┴─┬┋┴───┤
240 │ ┋ │┋ │ 255 │ ┋ │┋ │
241 └─────┴─────┘ 256 └─────┴─────┘
257```
242 258
243This would require our `KEYMAP` definition to look like this: 259This would require our `KEYMAP` definition to look like this:
244 260
261```
245 #define KEYMAP( \ 262 #define KEYMAP( \
246 k00, k01, k02, \ 263 k00, k01, k02, \
247 k10, k11, \ 264 k10, k11, \
@@ -250,10 +267,11 @@ This would require our `KEYMAP` definition to look like this:
250 { k00, k01, k02 }, \ 267 { k00, k01, k02 }, \
251 { k10, k11, KC_NO }, \ 268 { k10, k11, KC_NO }, \
252 } 269 }
270```
253 271
254Notice how the `k11` and `KC_NO` switched places to represent the wiring, and the unused final column on the bottom row. Sometimes it'll make more sense to put a keyswitch on a particular column, but in the end, it won't matter, as long as all of them are accounted for. You can use this process to write out the `KEYMAP` for your entire keyboard - be sure to remember that your keyboard is actually backwards when looking at the underside of it. 272Notice how the `k11` and `KC_NO` switched places to represent the wiring, and the unused final column on the bottom row. Sometimes it'll make more sense to put a keyswitch on a particular column, but in the end, it won't matter, as long as all of them are accounted for. You can use this process to write out the `KEYMAP` for your entire keyboard - be sure to remember that your keyboard is actually backwards when looking at the underside of it.
255 273
256#### keymaps/default.c 274### keymaps/default.c
257 275
258This is the actual keymap for your keyboard, and the main place you'll make changes as you perfect your layout. `default.c` is the file that gets pull by default when typing `make`, but you can make other files as well, and specify them by typing `make KEYMAP=<variant>`, which will pull `keymaps/<variant>.c`. 276This is the actual keymap for your keyboard, and the main place you'll make changes as you perfect your layout. `default.c` is the file that gets pull by default when typing `make`, but you can make other files as well, and specify them by typing `make KEYMAP=<variant>`, which will pull `keymaps/<variant>.c`.
259 277
@@ -261,26 +279,30 @@ The basis of a keymap is its layers - by default, layer 0 is active. You can act
261 279
262Using our previous example, let's say we want to create the following layout: 280Using our previous example, let's say we want to create the following layout:
263 281
282```
264 ┌───┬───┬───┐ 283 ┌───┬───┬───┐
265 │ A │ 1 │ H │ 284 │ A │ 1 │ H │
266 ├───┴─┬─┴───┤ 285 ├───┴─┬─┴───┤
267 │ TAB │ SPC │ 286 │ TAB │ SPC │
268 └─────┴─────┘ 287 └─────┴─────┘
288```
269 289
270This can be accomplished by using the following `keymaps` definition: 290This can be accomplished by using the following `keymaps` definition:
271 291
272 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 292```
293const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
273 [0] = KEYMAP( /* Base */ 294 [0] = KEYMAP( /* Base */
274 KC_A, KC_1, KC_H, \ 295 KC_A, KC_1, KC_H, \
275 KC_TAB, KC_SPC \ 296 KC_TAB, KC_SPC \
276 ), 297 ),
277 }; 298};
299```
278 300
279Note that the layout of the keycodes is similar to the physical layout of our keyboard - this make it much easier to see what's going on. A lot of the keycodes should be fairly obvious, but for a full list of them, check out [tmk_code/doc/keycode.txt](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/doc/keycode.txt) - there are also a lot of aliases to condense your keymap file. 301Note that the layout of the keycodes is similar to the physical layout of our keyboard - this make it much easier to see what's going on. A lot of the keycodes should be fairly obvious, but for a full list of them, check out [tmk_code/doc/keycode.txt](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/doc/keycode.txt) - there are also a lot of aliases to condense your keymap file.
280 302
281It's also important to use the `KEYMAP` function we defined earlier - this is what allows the firmware to associate our intended readable keymap with the actual wiring. 303It's also important to use the `KEYMAP` function we defined earlier - this is what allows the firmware to associate our intended readable keymap with the actual wiring.
282 304
283#### Compiling your firmware 305## Compiling your firmware
284 306
285After you've written out your entire keymap, you're ready to get the firmware compiled and onto your Teensy. Before compiling, you'll need to get your [development environment set-up](build_guide.md) - you can skip the dfu-programmer instructions, but you'll need to download and install the [Teensy Loader](https://www.pjrc.com/teensy/loader.html) to get the firmware on your Teensy. 307After you've written out your entire keymap, you're ready to get the firmware compiled and onto your Teensy. Before compiling, you'll need to get your [development environment set-up](build_guide.md) - you can skip the dfu-programmer instructions, but you'll need to download and install the [Teensy Loader](https://www.pjrc.com/teensy/loader.html) to get the firmware on your Teensy.
286 308
@@ -288,7 +310,7 @@ Once everything is installed, running `make` in the terminal should get you some
288 310
289Once you have your `<project_name>.hex` file, open up the Teensy loader application, and click the file icon. From here, navigate to your `QMK/keyboards/<project_name>/` folder, and select the `<project_name>.hex` file. Plug in your keyboard and press the button on the Teensy - you should see the LED on the device turn off once you do. The Teensy Loader app will change a little, and the buttons should be clickable - click the download button (down arrow), and then the reset button (right arrow), and your keyboard should be ready to go! 311Once you have your `<project_name>.hex` file, open up the Teensy loader application, and click the file icon. From here, navigate to your `QMK/keyboards/<project_name>/` folder, and select the `<project_name>.hex` file. Plug in your keyboard and press the button on the Teensy - you should see the LED on the device turn off once you do. The Teensy Loader app will change a little, and the buttons should be clickable - click the download button (down arrow), and then the reset button (right arrow), and your keyboard should be ready to go!
290 312
291#### Testing your firmware 313## Testing your firmware
292 314
293Carefully flip your keyboard over, open up a new text document, and try typing - you should get the characters that you put into your keymap. Test each key, and note the ones that aren't working. Here's a quick trouble-shooting guide for non-working keys: 315Carefully flip your keyboard over, open up a new text document, and try typing - you should get the characters that you put into your keymap. Test each key, and note the ones that aren't working. Here's a quick trouble-shooting guide for non-working keys:
294 316
@@ -302,20 +324,8 @@ Carefully flip your keyboard over, open up a new text document, and try typing -
302 324
303If you've done all of these things, keep in mind that sometimes you might have had multiple things affecting the keyswitch, so it doesn't hurt to test the keyswitch by shorting it out at the end. 325If you've done all of these things, keep in mind that sometimes you might have had multiple things affecting the keyswitch, so it doesn't hurt to test the keyswitch by shorting it out at the end.
304 326
305#### Securing the Teensy, finishing your hardware, getting fancier firmware 327# Securing the Teensy, finishing your hardware, getting fancier firmware
306 328
307Now that you have a working board, it's time to get things in their permanent positions. I've often used liberal amounts of hot glue to secure and insulate things, so if that's your style, start spreading that stuff like butter. Otherwise, double-sided tape is always an elegant solution, and electrical tape is a distant second. Due to the nature of these builds, a lot of this part is up to you and how you planned (or didn't plan) things out. 329Now that you have a working board, it's time to get things in their permanent positions. I've often used liberal amounts of hot glue to secure and insulate things, so if that's your style, start spreading that stuff like butter. Otherwise, double-sided tape is always an elegant solution, and electrical tape is a distant second. Due to the nature of these builds, a lot of this part is up to you and how you planned (or didn't plan) things out.
308 330
309There are a lot of possibilities inside the firmware - check out the [readme](https://github.com/qmk/qmk_firmware/blob/master/readme.md) for a full feature list, and dive into the different project (Planck, Ergodox EZ, etc) to see how people use all of them. You can always stop by [the OLKB subreddit for help!](http://reddit.com/r/olkb) 331There are a lot of possibilities inside the firmware - check out the [readme](https://github.com/qmk/qmk_firmware/blob/master/readme.md) for a full feature list, and dive into the different project (Planck, Ergodox EZ, etc) to see how people use all of them. You can always stop by [the OLKB subreddit for help!](http://reddit.com/r/olkb)
310
311## Trouble-shooting compiling
312
313### Windows
314
315#### fork: Resource temporarily unavailable
316
317http://www.avrfreaks.net/forum/windows-81-compilation-error
318
319### Mac
320
321### Linux
diff --git a/docs/hhkb_alt_controller.md b/docs/hhkb_alt_controller.md
deleted file mode 100644
index c12d8d7ff..000000000
--- a/docs/hhkb_alt_controller.md
+++ /dev/null
@@ -1,5 +0,0 @@
1# Alternative Controller for HHKB
2
3* [Geekhack.org thread](https://geekhack.org/index.php?topic=12047.0)
4
5* [Connector unmate](https://geekhack.org/index.php?topic=12047.msg1543860#msg1543860) \ No newline at end of file
diff --git a/docs/how_to_github.md b/docs/how_to_github.md
new file mode 100644
index 000000000..387ddd91e
--- /dev/null
+++ b/docs/how_to_github.md
@@ -0,0 +1,63 @@
1# How to use Github with QMK
2
3Github can be a little tricky to those that aren't familiar with it - this guide will walk through each step of forking, cloning, and submitting a pull request with QMK.
4
5{% hint style='info' %}
6This guide assumes you're somewhat comfortable with running things at the command line, and have git installed on your system.
7{% endhint %}
8
9Start on the [QMK Github page](https://github.com/qmk/qmk_firmware), and you'll see a button in the upper right that says "Fork":
10
11![Fork on Github](http://i.imgur.com/8Toomz4.jpg)
12
13If you're apart of an organization, you'll need to choose which account to fork it to. In most circumstances, you'll want to fork it to your personal account. Once your fork is completed (sometimes this takes a little while), click the "Clone or Download" button:
14
15![Download from Github](http://i.imgur.com/N1NYcSz.jpg)
16
17And be sure to select "HTTPS", and select the link and copy it:
18
19![HTTPS link](http://i.imgur.com/eGO0ohO.jpg)
20
21From here, enter `git clone ` into the command line, and then paste your link:
22
23```
24**[terminal]
25**[prompt you@computer]**[path ~]**[delimiter $ ]**[command git clone https://github.com/whoeveryouare/qmk_firmware.git]
26Cloning into 'qmk_firmware'...
27remote: Counting objects: 46625, done.
28remote: Compressing objects: 100% (2/2), done.
29remote: Total 46625 (delta 0), reused 0 (delta 0), pack-reused 46623
30Receiving objects: 100% (46625/46625), 84.47 MiB | 3.14 MiB/s, done.
31Resolving deltas: 100% (29362/29362), done.
32Checking out files: 100% (2799/2799), done.
33```
34
35You now have your QMK fork on your local machine, and you can add your keymap, compile it and flash it to your board. Once you're happy with your changes, you can add, commit, and push them to your fork like this:
36
37```
38**[terminal]
39**[prompt you@computer]**[path ~/qmk_firmware]**[delimiter $ ]**[command git add .]
40**[prompt you@computer]**[path ~/qmk_firmware]**[delimiter $ ]**[command git commit -m "adding my keymap"]
41[master cccb1608] adding my keymap
42 1 file changed, 1 insertion(+)
43 create mode 100644 keyboards/planck/keymaps/mine/keymap.c
44**[prompt you@computer]**[path ~/qmk_firmware]**[delimiter $ ]**[command git push]
45Counting objects: 1, done.
46Delta compression using up to 4 threads.
47Compressing objects: 100% (1/1), done.
48Writing objects: 100% (1/1), 1.64 KiB | 0 bytes/s, done.
49Total 1 (delta 1), reused 0 (delta 0)
50remote: Resolving deltas: 100% (1/1), completed with 1 local objects.
51To https://github.com/whoeveryouare/qmk_firmware.git
52 + 20043e64...7da94ac5 master -> master
53```
54
55Your changes now exist on your fork on Github - if you go back there (https://github.com/<whoeveryouare>/qmk_firmware), you can create a "New Pull Request" by clicking this button:
56
57![New Pull Request](http://i.imgur.com/DxMHpJ8.jpg)
58
59Here you'll be able to see exactly what you've committed - if it all looks good, you can finalize it by clicking "Create Pull Request":
60
61![Create Pull Request](http://i.imgur.com/Ojydlaj.jpg)
62
63After submitting, we may talk to you about your changes, ask that you make changes, and eventually accept it! Thanks for contributing to QMK :) \ No newline at end of file
diff --git a/docs/key_functions.md b/docs/key_functions.md
index 74b80b42f..8a579f305 100644
--- a/docs/key_functions.md
+++ b/docs/key_functions.md
@@ -2,20 +2,18 @@
2 2
3Your keymap can include shortcuts to common operations (called "function actions" in tmk). 3Your keymap can include shortcuts to common operations (called "function actions" in tmk).
4 4
5These functions work the same way that their `ACTION_*` functions do - they're just quick aliases. To dig into all of the tmk `ACTION_*` functions, please see the [TMK documentation](keymap.md#2-action). 5These functions work the same way that their `ACTION_*` functions do - they're just quick aliases. To dig into all of the qmk `ACTION_*` functions, please see the [Keymap documentation](keymap.md#2-action).
6 6
7Instead of using `FNx` when defining `ACTION_*` functions, you can use `F(x)` - the benefit here is being able to use more than 32 function actions (up to 4096), if you happen to need them. 7Instead of using `FNx` when defining `ACTION_*` functions, you can use `F(x)` - the benefit here is being able to use more than 32 function actions (up to 4096), if you happen to need them.
8 8
9### Limits of these aliases 9## Limits of these aliases
10 10
11Currently, the keycodes able to used with these functions are limited to the TMK ones, meaning you can't use keycodes like `KC_TILD`, or anything greater than 0xFF. For a full list of the keycodes able to be used, [see this list](keycode.txt). 11Currently, the keycodes able to used with these functions are limited to the [Basic Keycodes](keycodes.html), meaning you can't use keycodes like `KC_TILD`, or anything greater than 0xFF. For a full list of the keycodes able to be used, [see this list](keycodes.html).
12 12
13### Switching and toggling layers 13# Switching and toggling layers
14 14
15`MO(layer)` - momentary switch to *layer*. As soon as you let go of the key, the layer is deactivated and you pop back out to the previous layer. When you apply this to a key, that same key must be set as `KC_TRNS` on the destination layer. Otherwise, you won't make it back to the original layer when you release the key (and you'll get a keycode sent). You can only switch to layers *above* your current layer. If you're on layer 0 and you use `MO(1)`, that will switch to layer 1 just fine. But if you include `MO(3)` on layer 5, that won't do anything for you -- because layer 3 is lower than layer 5 on the stack. 15`MO(layer)` - momentary switch to *layer*. As soon as you let go of the key, the layer is deactivated and you pop back out to the previous layer. When you apply this to a key, that same key must be set as `KC_TRNS` on the destination layer. Otherwise, you won't make it back to the original layer when you release the key (and you'll get a keycode sent). You can only switch to layers *above* your current layer. If you're on layer 0 and you use `MO(1)`, that will switch to layer 1 just fine. But if you include `MO(3)` on layer 5, that won't do anything for you -- because layer 3 is lower than layer 5 on the stack.
16 16
17`OSL(layer)` - momentary switch to *layer*, as a one-shot operation. So if you have a key that's defined as `OSL(1)`, and you tap that key, then only the very next keystroke would come from layer 1. You would drop back to layer zero immediately after that one keystroke. That's handy if you have a layer full of custom shortcuts -- for example, a dedicated key for closing a window. So you tap your one-shot layer mod, then tap that magic 'close window' key, and keep typing like a boss. Layer 1 would remain active as long as you hold that key down, too (so you can use it like a momentary toggle-layer key with extra powers).
18
19`LT(layer, kc)` - momentary switch to *layer* when held, and *kc* when tapped. Like `MO()`, this only works upwards in the layer stack (`layer` must be higher than the current layer). 17`LT(layer, kc)` - momentary switch to *layer* when held, and *kc* when tapped. Like `MO()`, this only works upwards in the layer stack (`layer` must be higher than the current layer).
20 18
21`TG(layer)` - toggles a layer on or off. As with `MO()`, you should set this key as `KC_TRNS` in the destination layer so that tapping it again actually toggles back to the original layer. Only works upwards in the layer stack. 19`TG(layer)` - toggles a layer on or off. As with `MO()`, you should set this key as `KC_TRNS` in the destination layer so that tapping it again actually toggles back to the original layer. Only works upwards in the layer stack.
@@ -25,7 +23,7 @@ Currently, the keycodes able to used with these functions are limited to the TMK
25`TT(layer)` - Layer Tap-Toggle. If you hold the key down, the layer becomes active, and then deactivates when you let go. And if you tap it, the layer simply becomes active (toggles on). It needs 5 taps by default, but you can set it by defining `TAPPING_TOGGLE`, for example, `#define TAPPING_TOGGLE 1` for just one tap. 23`TT(layer)` - Layer Tap-Toggle. If you hold the key down, the layer becomes active, and then deactivates when you let go. And if you tap it, the layer simply becomes active (toggles on). It needs 5 taps by default, but you can set it by defining `TAPPING_TOGGLE`, for example, `#define TAPPING_TOGGLE 1` for just one tap.
26 24
27 25
28### Fun with modifier keys 26# Modifier keys
29 27
30* `LSFT(kc)` - applies left Shift to *kc* (keycode) - `S(kc)` is an alias 28* `LSFT(kc)` - applies left Shift to *kc* (keycode) - `S(kc)` is an alias
31* `RSFT(kc)` - applies right Shift to *kc* 29* `RSFT(kc)` - applies right Shift to *kc*
@@ -43,6 +41,8 @@ You can also chain these, like this:
43 41
44 LALT(LCTL(KC_DEL)) -- this makes a key that sends Alt, Control, and Delete in a single keypress. 42 LALT(LCTL(KC_DEL)) -- this makes a key that sends Alt, Control, and Delete in a single keypress.
45 43
44# Shifted Keycodes
45
46The following shortcuts automatically add `LSFT()` to keycodes to get commonly used symbols. Their long names are also available and documented in `quantum/quantum_keycodes.h`. 46The following shortcuts automatically add `LSFT()` to keycodes to get commonly used symbols. Their long names are also available and documented in `quantum/quantum_keycodes.h`.
47 47
48 KC_TILD ~ 48 KC_TILD ~
@@ -67,8 +67,15 @@ The following shortcuts automatically add `LSFT()` to keycodes to get commonly u
67 KC_PIPE | 67 KC_PIPE |
68 KC_COLN : 68 KC_COLN :
69 69
70# One Shot
71
70`OSM(mod)` - this is a "one shot" modifier. So let's say you have your left Shift key defined as `OSM(MOD_LSFT)`. Tap it, let go, and Shift is "on" -- but only for the next character you'll type. So to write "The", you don't need to hold down Shift -- you tap it, tap t, and move on with life. And if you hold down the left Shift key, it just works as a left Shift key, as you would expect (so you could type THE). There's also a magical, secret way to "lock" a modifier by tapping it multiple times. If you want to learn more about that, open an issue. :) 72`OSM(mod)` - this is a "one shot" modifier. So let's say you have your left Shift key defined as `OSM(MOD_LSFT)`. Tap it, let go, and Shift is "on" -- but only for the next character you'll type. So to write "The", you don't need to hold down Shift -- you tap it, tap t, and move on with life. And if you hold down the left Shift key, it just works as a left Shift key, as you would expect (so you could type THE). There's also a magical, secret way to "lock" a modifier by tapping it multiple times. If you want to learn more about that, open an issue. :)
71 73
74`OSL(layer)` - momentary switch to *layer*, as a one-shot operation. So if you have a key that's defined as `OSL(1)`, and you tap that key, then only the very next keystroke would come from layer 1. You would drop back to layer zero immediately after that one keystroke. That's handy if you have a layer full of custom shortcuts -- for example, a dedicated key for closing a window. So you tap your one-shot layer mod, then tap that magic 'close window' key, and keep typing like a boss. Layer 1 would remain active as long as you hold that key down, too (so you can use it like a momentary toggle-layer key with extra powers).
75
76
77# Mod Tap
78
72`MT(mod, kc)` - is *mod* (modifier key - MOD_LCTL, MOD_LSFT) when held, and *kc* when tapped. In other words, you can have a key that sends Esc (or the letter O or whatever) when you tap it, but works as a Control key or a Shift key when you hold it down. 79`MT(mod, kc)` - is *mod* (modifier key - MOD_LCTL, MOD_LSFT) when held, and *kc* when tapped. In other words, you can have a key that sends Esc (or the letter O or whatever) when you tap it, but works as a Control key or a Shift key when you hold it down.
73 80
74These are the values you can use for the `mod` in `MT()` and `OSM()`: 81These are the values you can use for the `mod` in `MT()` and `OSM()`:
@@ -97,7 +104,7 @@ We've added shortcuts to make common modifier/tap (mod-tap) mappings more compac
97 * `LCAG_T(kc)` - is CtrlAltGui when held and *kc* when tapped 104 * `LCAG_T(kc)` - is CtrlAltGui when held and *kc* when tapped
98 * `MEH_T(kc)` - is like Hyper, but not as cool -- does not include the Cmd/Win key, so just sends Alt+Ctrl+Shift. 105 * `MEH_T(kc)` - is like Hyper, but not as cool -- does not include the Cmd/Win key, so just sends Alt+Ctrl+Shift.
99 106
100##### Permissive Hold 107# Permissive Hold
101 108
102As of [PR#1359](https://github.com/qmk/qmk_firmware/pull/1359/), there is a new `config.h` option: 109As of [PR#1359](https://github.com/qmk/qmk_firmware/pull/1359/), there is a new `config.h` option:
103 110
diff --git a/docs/keycodes.md b/docs/keycodes.md
index 5cf5c019d..7c5cae8b3 100644
--- a/docs/keycodes.md
+++ b/docs/keycodes.md
@@ -4,225 +4,14 @@ When defining a [keymap](keymap.md) each key needs a valid key definition.
4 4
5This page documents the symbols that correspond to keycodes that are available to you in QMK. 5This page documents the symbols that correspond to keycodes that are available to you in QMK.
6 6
7To customize your board, they can be used by themselves or as **action codes** in combination with one of the [many C macros](https://github.com/qmk/qmk_firmware/wiki#c-macros-for-action-code). 7## Basic keycodes (`0x00` - `0xFF`)
8 8
9The source of truth for these codes is [tmk_core/common/keycode.h](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/common/keycode.h) file in the qmk source code. 9[Basic keycodes](basic_keycodes.md) in QMK are based on [HID Usage Keyboard/Keypad Page(0x07)](http://www.usb.org/developers/hidpage/Hut1_12v2.pdf) with following exceptions:
10
11# The Keycodes
12
13Keycodes in QMK are based on [HID Usage Keyboard/Keypad Page(0x07)](http://www.usb.org/developers/hidpage/Hut1_12v2.pdf) with following exceptions:
14 10
15* `KC_NO` = 0 for no action 11* `KC_NO` = 0 for no action
16* `KC_TRNS` = 1 for layer transparency 12* `KC_TRNS` = 1 for layer transparency
17* internal special keycodes in the `0xA5-DF` range (tmk heritage). 13* internal special keycodes in the `0xA5-DF` range (tmk heritage).
18 14
19## Letters and Numbers 15## Quantum keycodes (`0x0100` - `0xFFFF`)
20
21|KC_1|KC_2|KC_3|KC_4|KC_5|KC_6|KC_7|KC_8|
22|----|----|----|----|----|----|----|----|
23|KC_9|KC_0|KC_F1|KC_F2|KC_F3|KC_F4|KC_F5|KC_F6|
24|KC_F7|KC_F8|KC_F9|KC_F10|KC_F11|KC_F12|KC_F13|KC_F14|
25|KC_F15|KC_F16|KC_F17|KC_F18|KC_F19|KC_F20|KC_F21|KC_F22|
26|KC_F23|KC_F24|KC_A|KC_B|KC_C|KC_D|KC_E|KC_F|
27|KC_G|KC_H|KC_I|KC_J|KC_K|KC_L|KC_M|KC_N|
28|KC_O|KC_P|KC_Q|KC_R|KC_S|KC_T|KC_U|KC_V|
29|KC_W|KC_X|KC_Y|KC_Z|||||
30
31## Punctuation
32
33|Long Name|Short Name|Description|
34|---------|----------|-----------|
35|KC_ENTER|KC_ENT|`Return (ENTER)`|
36|KC_ESCAPE|KC_ESC|`ESCAPE`|
37|KC_BSPACE|KC_BSPC|`DELETE (Backspace)`|
38|KC_TAB||`Tab`|
39|KC_SPACE|KC_SPC|Spacebar|
40|KC_MINUS|KC_MINS|`-` and `_`|
41|KC_EQUAL|KC_EQL|`=` and `+`|
42|KC_LBRACKET|KC_LBRC|`[` and `{`|
43|KC_RBRACKET|KC_RBRC|`]` and `}`|
44|KC_BSLASH|KC_BSLS|`\` and <code>&#124;</code> |
45|KC_NONUS_HASH|KC_NUHS|Non-US `#` and `~`|
46|KC_NONUS_BSLASH|KC_NUBS|Non-US `\` and <code>&#124;</code> |
47|KC_INT1|KC_RO|JIS `\` and <code>&#124;</code> |
48|KC_INT2|KC_KANA|International216|
49|KC_INT3|KC_JYEN|Yen Symbol (`¥`)|
50|KC_SCOLON|KC_SCLN|`;` and `:`|
51|KC_QUOTE|KC_QUOT|`‘` and `“`|
52|KC_GRAVE|KC_GRV|Grave Accent and Tilde|
53|KC_COMMA|KC_COMM|`,` and `<`|
54|KC_DOT||`.` and `>`|
55|KC_SLASH|KC_SLSH|`/` and `?`|
56|KC_CAPSLOCK|KC_CAPS|Caps Lock|
57
58## Modifiers
59
60|Long Name|Short Name|Description|
61|---------|----------|-----------|
62|KC_LCTRL|KC_LCTL|LeftControl|
63|KC_LSHIFT|KC_LSFT|LeftShift|
64|KC_LALT||LeftAlt|
65|KC_LGUI||Left GUI(Windows/Apple/Meta key)|
66|KC_RCTRL|KC_RCTL|RightControl|
67|KC_RSHIFT|KC_RSFT|RightShift|
68|KC_RALT||RightAlt|
69|KC_RGUI||Right GUI(Windows/Apple/Meta key)|
70|KC_LOCKING_CAPS||Locking Caps Lock|
71|KC_LOCKING_NUM||Locking Num Lock|
72|KC_LOCKING_SCROLL||Locking Scroll Lock|
73|KC_INT4|KC_HENK|JIS Henken|
74|KC_INT5|KC_MHEN|JIS Muhenken|
75
76## Commands
77
78|Long Name|Short Name|Description|
79|---------|----------|-----------|
80|KC_PSCREEN|KC_PSCR|PrintScreen|
81|KC_SCROLLLOCK|KC_SLCK|Scroll Lock|
82|KC_PAUSE|KC_PAUS|Pause|
83|KC_INSERT|KC_INS|Insert|
84|KC_HOME||Home|
85|KC_PGUP||PageUp|
86|KC_DELETE|KC_DEL|Delete Forward|
87|KC_END||End|
88|KC_PGDOWN|KC_PGDN|PageDown|
89|KC_RIGHT|KC_RGHT|RightArrow|
90|KC_LEFT||LeftArrow|
91|KC_DOWN||DownArrow|
92|KC_UP||UpArrow|
93|KC_APPLICATION|KC_APP|Application|
94|KC_POWER||Power|
95|KC_EXECUTE||Execute|
96|KC_HELP||Help|
97|KC_MENU||Menu|
98|KC_SELECT||Select|
99|KC_AGAIN||Again|
100|KC_UNDO||Undo|
101|KC_CUT||Cut|
102|KC_COPY||Copy|
103|KC_PASTE||Paste|
104|KC_FIND||Find|
105|KC_ALT_ERASE||Alternate Erase|
106|KC_SYSREQ||SysReq/Attention|
107|KC_CANCEL||Cancel|
108|KC_CLEAR||Clear|
109|KC_PRIOR||Prior|
110|KC_RETURN||Return|
111|KC_SEPARATOR||Separator|
112|KC_OUT||Out|
113|KC_OPER||Oper|
114|KC_CLEAR_AGAIN||Clear/Again|
115|KC_CRSEL||CrSel/Props|
116|KC_EXSEL||ExSel|
117|KC_SYSTEM_POWER|KC_PWR|System Power Down|
118|KC_SYSTEM_SLEEP|KC_SLEP|System Sleep|
119|KC_SYSTEM_WAKE|KC_WAKE|System Wake|
120|KC_MAIL|KC_MAIL||
121|KC_CALCULATOR|KC_CALC||
122|KC_MY_COMPUTER|KC_MYCM||
123|KC_WWW_SEARCH|KC_WSCH||
124|KC_WWW_HOME|KC_WHOM||
125|KC_WWW_BACK|KC_WBAK||
126|KC_WWW_FORWARD|KC_WFWD||
127|KC_WWW_STOP|KC_WSTP||
128|KC_WWW_REFRESH|KC_WREF||
129|KC_WWW_FAVORITES|KC_WFAV||
130
131## Media Keys
132
133Windows and Mac use different key codes for next track and previous track. Make sure you choose the keycode that corresponds to your OS.
134
135|Long Name|Short Name|Description|
136|---------|----------|-----------|
137|KC_STOP||Stop|
138|KC__MUTE||Mute|
139|KC__VOLUP||Volume Up|
140|KC__VOLDOWN||Volume Down|
141|KC_AUDIO_MUTE|KC_MUTE||
142|KC_AUDIO_VOL_UP|KC_VOLU||
143|KC_AUDIO_VOL_DOWN|KC_VOLD||
144|KC_MEDIA_NEXT_TRACK|KC_MNXT|Next Track (Windows)|
145|KC_MEDIA_PREV_TRACK|KC_MPRV|Previous Track (Windows)|
146|KC_MEDIA_FAST_FORWARD|KC_MFFD|Next Track (macOS)|
147|KC_MEDIA_REWIND|KC_MRWD|Previous Track (macOS)|
148|KC_MEDIA_STOP|KC_MSTP||
149|KC_MEDIA_PLAY_PAUSE|KC_MPLY||
150|KC_MEDIA_SELECT|KC_MSEL||
151
152## Numpad
153
154|Long Name|Short Name|Description|
155|---------|----------|-----------|
156|KC_NUMLOCK|KC_NLCK|Keypad Num Lock and Clear|
157|KC_KP_SLASH|KC_PSLS|Keypad /|
158|KC_KP_ASTERISK|KC_PAST|Keypad *|
159|KC_KP_MINUS|KC_PMNS|Keypad -|
160|KC_KP_PLUS|KC_PPLS|Keypad +|
161|KC_KP_ENTER|KC_PENT|Keypad ENTER|
162|KC_KP_1|KC_P1|Keypad 1 and End|
163|KC_KP_2|KC_P2|Keypad 2 and Down Arrow|
164|KC_KP_3|KC_P3|Keypad 3 and PageDn|
165|KC_KP_4|KC_P4|Keypad 4 and Left Arrow|
166|KC_KP_5|KC_P5|Keypad 5|
167|KC_KP_6|KC_P6|Keypad 6 and Right Arrow|
168|KC_KP_7|KC_P7|Keypad 7 and Home|
169|KC_KP_8|KC_P8|Keypad 8 and Up Arrow|
170|KC_KP_9|KC_P9|Keypad 9 and PageUp|
171|KC_KP_0|KC_P0|Keypad 0 and Insert|
172|KC_KP_DOT|KC_PDOT|Keypad . and Delete|
173|KC_KP_EQUAL|KC_PEQL|Keypad =|
174|KC_KP_COMMA|KC_PCMM|Keypad Comma|
175|KC_KP_EQUAL_AS400||Keypad Equal Sign|
176
177## Special Keys
178
179|Long Name|Short Name|Description|
180|---------|----------|-----------|
181|KC_NO||Ignore this key. (NOOP) |
182
183## Mousekey
184
185|Long Name|Short Name|Description|
186|---------|----------|-----------|
187|KC_MS_UP|KC_MS_U|Mouse Cursor Up|
188|KC_MS_DOWN|KC_MS_D|Mouse Cursor Down|
189|KC_MS_LEFT|KC_MS_L|Mouse Cursor Left|
190|KC_MS_RIGHT|KC_MS_R|Mouse Cursor Right|
191|KC_MS_BTN1|KC_BTN1|Mouse Button 1|
192|KC_MS_BTN2|KC_BTN2|Mouse Button 2|
193|KC_MS_BTN3|KC_BTN3|Mouse Button 3|
194|KC_MS_BTN4|KC_BTN4|Mouse Button 4|
195|KC_MS_BTN5|KC_BTN5|Mouse Button 5|
196|KC_MS_WH_UP|KC_WH_U|Mouse Wheel Up|
197|KC_MS_WH_DOWN|KC_WH_D|Mouse Wheel Down|
198|KC_MS_WH_LEFT|KC_WH_L|Mouse Wheel Left|
199|KC_MS_WH_RIGHT|KC_WH_R|Mouse Wheel Right|
200|KC_MS_ACCEL0|KC_ACL0|Mouse Acceleration 0|
201|KC_MS_ACCEL1|KC_ACL1|Mouse Acceleration 1|
202|KC_MS_ACCEL2|KC_ACL2|Mouse Acceleration 2|
203
204## Magic Keys
205
206The following keys can be used to turn on and off various "Magic" features. These include Boot Magic (holding certain keys down while plugging the keyboard in) and the Magic Key.
207 16
208|Long Name|Short Name|Description| 17[Quantum keycodes](quantum_keycodes.md) allow for easier customisation of your keymap than the basic ones provide, without having to define custom actions.
209|---------|----------|-----------|
210|MAGIC_SWAP_CONTROL_CAPSLOCK||Swap Capslock and Control|
211|MAGIC_CAPSLOCK_TO_CONTROL||Change Capslock to Control|
212|MAGIC_SWAP_ALT_GUI||Swap ALT and GUI|
213|MAGIC_SWAP_LALT_LGUI||Swap LALT and LGUI|
214|MAGIC_SWAP_RALT_RGUI||Swap RALT and RGUI|
215|MAGIC_NO_GUI||Disable off the GUI key|
216|MAGIC_SWAP_GRAVE_ESC||Swap the GRAVE (~ `) and Esc keys|
217|MAGIC_SWAP_BACKSLASH_BACKSPACE||Swap Backslash and Backspace|
218|MAGIC_UNSWAP_CONTROL_CAPSLOCK||Disable the Control/Caps Swap|
219|MAGIC_UNCAPSLOCK_TO_CONTROL||Turn Capslock back into Capslock|
220|MAGIC_UNSWAP_ALT_GUI||Turn the ALT/GUI swap off|
221|MAGIC_UNSWAP_LALT_LGUI||Turn the LALT/LGUI swap off|
222|MAGIC_UNSWAP_RALT_RGUI||Turn the RALT/RGUI swap off|
223|MAGIC_UNNO_GUI||Enable the GUI key|
224|MAGIC_UNSWAP_GRAVE_ESC||Turn the GRAVE/ESC swap off|
225|MAGIC_UNSWAP_BACKSLASH_BACKSPACE||Turn the Backslash/Backspace swap off|
226|MAGIC_HOST_NKRO||Turn NKRO on|
227|MAGIC_UNHOST_NKRO||Turn NKRO off|
228|MAGIC_TOGGLE_NKRO||Toggle NKRO on or off|
diff --git a/docs/keymap_config_h_example.h b/docs/keymap_config_h_example.h
deleted file mode 100644
index 8893d122e..000000000
--- a/docs/keymap_config_h_example.h
+++ /dev/null
@@ -1,8 +0,0 @@
1#ifndef CONFIG_USER_H
2#define CONFIG_USER_H
3
4#include "../../config.h"
5
6// place overrides here
7
8#endif
diff --git a/docs/keymap_examples.md b/docs/keymap_examples.md
deleted file mode 100644
index 094011931..000000000
--- a/docs/keymap_examples.md
+++ /dev/null
@@ -1,37 +0,0 @@
1# Share your keymap idea here!
2https://github.com/tmk/tmk_keyboard/issues/265
3
4---
5
6## Reverse-shifted for numbers
7With pressing Shift and '1' key you get **1** while with just '1' key you get **!**.
8- https://geekhack.org/index.php?topic=41989.msg1959718#msg1959718
9
10
11## KBT Pure layout
12Keymap code on Alps64
13https://github.com/thisisshi/tmk_keyboard/blob/15fe63e8d181a8a95988dcc71929f0024df55caa/keyboard/alps64/keymap_pure.c
14
15and guide.
16https://github.com/thisisshi/tmk_keyboard/blob/77ac0805ade565fb23657e3644c920ada71edccf/keyboard/alps64/Guide.md
17
18## Prevent stuck modifiers
19
20Consider the following scenario:
21
221. Layer 0 has a key defined as Shift.
232. The same key is defined on layer 1 as the letter A.
243. User presses Shift.
254. User switches to layer 1 for whatever reason.
265. User releases Shift, or rather the letter A.
276. User switches back to layer 0.
28
29Shift was actually never released and is still considered pressed.
30
31If such situation bothers you add this to your `config.h`:
32
33 #define PREVENT_STUCK_MODIFIERS
34
35This option uses 5 bytes of memory per every 8 keys on the keyboard
36rounded up (5 bits per key). For example on Planck (48 keys) it uses
37(48/8)\*5 = 30 bytes.
diff --git a/docs/keymap_makefile_example.mk b/docs/keymap_makefile_example.mk
deleted file mode 100644
index f4671a9d1..000000000
--- a/docs/keymap_makefile_example.mk
+++ /dev/null
@@ -1,21 +0,0 @@
1# Build Options
2# change to "no" to disable the options, or define them in the Makefile in
3# the appropriate keymap folder that will get included automatically
4#
5BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
6MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
7EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
8CONSOLE_ENABLE = no # Console for debug(+400)
9COMMAND_ENABLE = yes # Commands for debug and configuration
10NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
11BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
12MIDI_ENABLE = no # MIDI controls
13AUDIO_ENABLE = no # Audio output on port C6
14UNICODE_ENABLE = no # Unicode
15BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
16RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
17SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
18
19ifndef QUANTUM_DIR
20 include ../../../../Makefile
21endif \ No newline at end of file
diff --git a/docs/keymap_old.md b/docs/keymap_old.md
deleted file mode 100644
index 3ea138ea8..000000000
--- a/docs/keymap_old.md
+++ /dev/null
@@ -1,685 +0,0 @@
1Keymap framework - how to define your keymap
2============================================
3***NOTE: This is updated for QMK but this is still work in progress. This may still be inconsistent with the source code.***
4
5QMK is based on TMK. Understanding the essential changes made should help you understand variable names etc.
6
7## TMK vs. QMK
8
9| Firmware |TMK |QMK |
10|---------------------------|-----------------------|-------------------------|
11| Maintainer |hasu |Jack Humbert et al. |
12| Build path customization | `TMK_DIR = ...` | `include .../Makefile` |
13| `keymaps` data | 3D array of `uint8_t` holding **keycode** | 3D array of `uint16_t` holding **action code** |
14| `fn_actions` data | 1D array of `uint16_t` holding **action code** | 1D array of `uint16_t` holding **action code** |
15
16Since QMK is based on TMK and uses major portion of TMK code as is, understanding the essential changes made should help you understand the code.
17
18## 0. Keymap and layers
19In QMK, **`const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS]`** holds multiple **layers** of keymap information in **16 bit** data holding the **action code**. You can define **32 layers** at most.
20
21For trivial key definitions, the higher 8 bits of the **action code** are all 0 and the lower 8 bits holds the USB HID usage code generated by the key as **keycode**.
22
23Respective layers can be validated simultaneously. Layers are indexed with 0 to 31 and higher layer has precedence.
24
25 Keymap: 32 Layers Layer: action code matrix
26 ----------------- ---------------------
27 stack of layers array_of_action_code[row][column]
28 ____________ precedence _______________________
29 / / | high / ESC / F1 / F2 / F3 ....
30 31 /___________// | /-----/-----/-----/-----
31 30 /___________// | / TAB / Q / W / E ....
32 29 /___________/ | /-----/-----/-----/-----
33 : _:_:_:_:_:__ | : /LCtrl/ A / S / D ....
34 : / : : : : : / | : / : : : :
35 2 /___________// | 2 `--------------------------
36 1 /___________// | 1 `--------------------------
37 0 /___________/ V low 0 `--------------------------
38
39
40Sometimes, the action code stored in keymap may be referred as keycode in some documents due to the TMK history.
41
42### 0.1 Keymap layer status
43Keymap layer has its state in two 32 bit parameters:
44
45* **`default_layer_state`** indicates a base keymap layer(0-31) which is always valid and to be referred.
46* **`layer_state`** () has current on/off status of the layer on its each bit.
47
48Keymap has its state in two parameter **`default_layer`** indicates a base keymap layer(0-31) which is always valid and to be referred, **`keymap_stat`** is 16bit variable which has current on/off status of layers on its each bit.
49Keymap layer '0' is usually `default_layer` and which is the only valid layer and other layers is initially off after boot up firmware, though, you can configured them in `config.h`.
50To change `default_layer` will be useful when you switch key layout completely, say you want Colmak instead of Qwerty.
51
52 Initial state of Keymap Change base layout
53 ----------------------- ------------------
54
55 31 31
56 30 30
57 29 29
58 : :
59 : : ____________
60 2 ____________ 2 / /
61 1 / / ,->1 /___________/
62 ,->0 /___________/ | 0
63 | |
64 `--- default_layer = 0 `--- default_layer = 1
65 layer_state = 0x00000001 layer_state = 0x00000002
66
67On the other hand, you shall change `layer_state` to overlay base layer with some layers for feature such as navigation keys, function key(F1-F12), media keys or special actions.
68
69 Overlay feature layer
70 --------------------- bit|status
71 ____________ ---+------
72 31 / / 31 | 0
73 30 /___________// -----> 30 | 1
74 29 /___________/ -----> 29 | 1
75 : : | :
76 : ____________ : | :
77 2 / / 2 | 0
78 ,->1 /___________/ -----> 1 | 1
79 | 0 0 | 0
80 | +
81 `--- default_layer = 1 |
82 layer_state = 0x60000002 <-'
83
84
85
86### 0.2 Layer Precedence and Transparency
87Note that ***higher layer has higher priority on stack of layers***, namely firmware falls down from top layer to bottom to look up keycode. Once it spots keycode other than **`KC_TRNS`**(transparent) on a layer it stops searching and lower layers aren't referred.
88
89You can place `KC_TRANS` on overlay layer changes just part of layout to fall back on lower or base layer.
90Key with `KC_TRANS` (`KC_TRNS` and `_______` are the alias) doesn't has its own keycode and refers to lower valid layers for keycode, instead.
91See example below.
92
93
94### 0.3 Keymap Example
95Keymap in this QMK is **`static const uint16_t PROGMEM keymaps[]`** C array in fact and you can define layers in it with **`KEYMAP()`** C macro and keycodes. To use complex actions you need to define `Fn` keycode in **`fn_actions[]`** array. It holds the 16 bit quantum keycode (action code).
96
97> Please note that keymap in the TMK, which QMK was forked from, is **`static const uint8_t PROGMEM keymaps[]`** C array which holds the 8 bit keycode (~USB HID usage code).
98
99This is a keymap example for [HHKB](http://en.wikipedia.org/wiki/Happy_Hacking_Keyboard) keyboard.
100This example has three layers, 'QWERTY' as base layer, 'FN' and 'MOUSE'.
101
102In this example,
103
104 `MO(layer)` is a **momentary layer switching** key.
105
106You can find other keymap definitions in file `keymap.c` located on project directories.
107```
108/*
109 * dbroqua HHKB Layout
110 */
111#include "hhkb.h"
112
113#define BASE 0
114#define FN 1
115#define MOUSE 2
116
117const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
118 /* BASE Level: Default Layer
119 * ,-----------------------------------------------------------------------------------------.
120 * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ | ` |
121 * |-----------------------------------------------------------------------------------------+
122 * | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | Bksp |
123 * |-----------------------------------------------------------------------------------------+
124 * | Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | Enter |
125 * |-----------------------------------------------------------------------------------------+
126 * | Shift | Z | X | C | V | B | N | M | , | . | / | Shift | fn |
127 * +-----------------------------------------------------------------------------------------+
128 * | Gui | Alt | Space | AltGr |Mouse|
129 * `----------------------------------------------------------------´
130 */
131 [BASE] = KEYMAP(
132 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, \
133 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, \
134 KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \
135 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(FN), \
136 KC_LGUI, KC_LALT, /* */ KC_SPC, KC_RALT, MO(MOUSE)
137 ),
138
139 /* FN Layer
140 * ,-----------------------------------------------------------------------------------------.
141 * | Pwr | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F0 | F11 | F12 | Ins | Del|
142 * |-----------------------------------------------------------------------------------------+
143 * | Caps | | | | | | | |PrtSc| Slck| Paus| Up | | |
144 * |-----------------------------------------------------------------------------------------+
145 * | | Vol-| Vol+| Mute| | | * | / | Home| PgUp| Left |Right| |
146 * |-----------------------------------------------------------------------------------------+
147 * | | Prev| Play| Next| | | + | - | End |PgDwn| Down| | |
148 * +-----------------------------------------------------------------------------------------+
149 * | | | | Stop | |
150 * `----------------------------------------------------------------´
151 */
152 [FN] = KEYMAP(
153 KC_PWR, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, \
154 KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, KC_TRNS, KC_TRNS, \
155 KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_TRNS, \
156 KC_TRNS, KC_MPRV, KC_MPLY, KC_MNXT, KC_TRNS, KC_TRNS, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS, \
157 KC_TRNS, KC_TRNS, KC_TRNS, KC_MSTP, KC_TRNS
158 ),
159
160 /* MOUSE Layer
161 * ,-----------------------------------------------------------------------------------------.
162 * | | | | | | | | | | | | | | | |
163 * |-----------------------------------------------------------------------------------------+
164 * | | | WUp | | | | | | | | Btn1| Up | Btn2| |
165 * |-----------------------------------------------------------------------------------------+
166 * | | WLt | WDn | WRt | | | | | | | Left |Right| |
167 * |-----------------------------------------------------------------------------------------+
168 * | | | | | | | | | | Btn3| Down| | |
169 * +-----------------------------------------------------------------------------------------+
170 * | | | | | |
171 * `----------------------------------------------------------------´
172 */
173 [MOUSE] = KEYMAP(
174 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, \
175 KC_TRNS, KC_TRNS, KC_WH_U, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BTN1, KC_MS_U, KC_BTN2, KC_TRNS, \
176 KC_TRNS, KC_WH_L, KC_WH_D, KC_WH_R, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MS_L, KC_MS_R, KC_TRNS, \
177 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BTN3, KC_MS_D, KC_TRNS, KC_TRNS, \
178 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
179 )
180};
181
182const uint16_t PROGMEM fn_actions[] = {
183
184};
185
186const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
187{
188 // MACRODOWN only works in this function
189 switch(id) {
190 case 0:
191 if (record->event.pressed) {
192 register_code(KC_RSFT);
193 } else {
194 unregister_code(KC_RSFT);
195 }
196 break;
197 }
198 return MACRO_NONE;
199};
200```
201
202
203## 1. Keycode
204See [`tmk_core/common/keycode.h`](../tmk_core/common/keycode.h) or keycode table below for the detail. Keycode is internal **8bit code** to indicate action performed on key in keymap. Keycodes are based on [HID Usage Keyboard/Keypad Page(0x07)](http://www.usb.org/developers/hidpage/Hut1_12v2.pdf) plus special codes in the `0xA5-DF` range.
205
206Keycode has `KC_` prefixed symbol respectively. Most of keycodes like `KC_A` have simple action registers key to host on press and unregister on release, while some of other keycodes has some special actions like `Fn` keys, Media control keys, System control keys and Mousekeys.
207
208keymaps[]
209
210In `KEYMAP()` macro, TMK recommends you to keep prefix part `KC_` of keycode to keep keymap compact. For example, just use `A` instead you place `KC_A` in `KEYMAP()`. But this doesn't apply for QMK.
211
212The `KEYMAP()` macro defines correspondence between the physical key location to the electrical key connection.
213
214Some keycodes has 7-letter **short name** such as `KC_COMM` in addition to descriptive name `KC_COMMA`, you'll prefer short one in `KEYMAP()`.
215
216### 1.0 Other key
217- `KC_NO` for no action
218- `KC_TRNS` for layer transparency (See above)
219
220### 1.1 Normal key
221- `KC_A` to `KC_Z`, `KC_1` to `KC_0` for alpha numeric key
222- `KC_MINS`, `KC_EQL`, `KC_GRV`, `KC_RBRC`, `KC_LBRC`, `KC_COMM`, `KC_DOT`, `KC_BSLS`, `KC_SLSH`, `KC_SCLN`, `KC_QUOT`
223- `KC_ESC`, `KC_TAB`, `KC_SPC`, `KC_BSPC`, `KC_ENT`, `KC_DEL`, `KC_INS`
224- `KC_UP`, `KC_DOWN`, `KC_RGHT`, `KC_LEFT`, `KC_PGUP`, `KC_PGDN`, `KC_HOME`, `KC_END`
225- `KC_CAPS`, `KC_NLCK`, `KC_SLCK`, `KC_PSCR`, `KC_PAUS`, `KC_APP`, `KC_F1` to `KC_F24`
226- `KC_P1` to `KC_P0`, `KC_PDOT`, `KC_PCMM`, `KC_PSLS`, `KC_PAST`, `KC_PMNS`, `KC_PPLS`, `KC_PEQL`, `KC_PENT` for keypad.
227
228### 1.2 Modifier
229There are 8 modifiers which has discrimination between left and right.
230
231- `KC_LCTL` and `KC_RCTL` for Control
232- `KC_LSFT` and `KC_RSFT` for Shift
233- `KC_LALT` and `KC_RALT` for Alt
234- `KC_LGUI` and `KC_RGUI` for Windows key or Command key in Mac
235
236### 1.3 Mousekey
237- `KC_MS_U`, `KC_MS_D`, `KC_MS_L`, `KC_MS_R` for mouse cursor
238- `KC_WH_U`, `KC_WH_D`, `KC_WH_L`, `KC_WH_R` for mouse wheel
239- `KC_BTN1`, `KC_BTN2`, `KC_BTN3`, `KC_BTN4`, `KC_BTN5` for mouse buttons
240
241### 1.4 System & Media key
242- `KC_PWR`, `KC_SLEP`, `KC_WAKE` for Power, Sleep, Wake
243- `KC_MUTE`, `KC_VOLU`, `KC_VOLD` for audio volume control
244- `KC_MNXT`, `KC_MPRV`, `KC_MSTP`, `KC_MPLY`, `KC_MSEL` for media control
245- `KC_MAIL`, `KC_CALC`, `KC_MYCM` for application launch
246- `KC_WSCH`, `KC_WHOM`, `KC_WBAK`, `KC_WFWD`, `KC_WSTP`, `KC_WREF`, `KC_WFAV` for web browser operation
247
248### 1.5 Fn key
249You don't need to use this functionality under QMK since this is a backward compatibility functionality. Unlike TMK, you can write action code itself directly in **`static const uint16_t PROGMEM keymaps[]`** C array using `MO(layer)`, etc.
250
251`KC_FNnn` are keycodes for `Fn` key which not given any actions at the beginning unlike most of keycodes has its own inborn action. To use these keycodes in `KEYMAP()` you need to assign action you want at first. Action of `Fn` key is defined in `fn_actions[]` and its index of the array is identical with number part of `KC_FNnn`. Thus `KC_FN0` keycode indicates the action defined in first element of the array. ***Only 32 `Fn` keys can be defined at most.***
252
253
254### 1.6 Keycode Table
255 See keycode table in [`doc/keycode.txt`](./keycode.txt) for description of keycodes.
256
257 In regard to implementation side most of keycodes are identical with [HID usage][HID_usage](pdf) sent to host for real and some virtual keycodes are defined to support special actions.
258[HID_usage]: http://www.usb.org/developers/hidpage/Hut1_12v2.pdf
259
260
261
262## 2. Action
263See [`common/action_code.h`](../common/action_code.h). Action is a **16bit code** and defines function to perform on events of a key like press, release, holding and tapping.
264
265Most of keys just register 8bit scancode to host, but to support other complex features needs 16bit extended action codes internally. However, using 16bit action codes in keymap results in double size in memory compared to using just keycodes. To avoid this waste 8bit keycodes are used in `KEYMAP()` instead of action codes.
266
267***You can just use keycodes of `Normal key`, `Modifier`, `Mousekey` and `System & Media key` in keymap*** to indicate corresponding actions instead of using action codes. While ***to use other special actions you should use keycode of `Fn` key defined in `fn_actions[]`.***
268
269
270### 2.1 Key Action
271This is a simple action that registers scancodes(HID usage in fact) to host on press event of key and unregister on release.
272
273#### Parameters
274+ **mods**: { ` MOD_LCTL`, ` MOD_LSFT`, ` MOD_LALT`, ` MOD_LGUI`,
275 ` MOD_RCTL`, ` MOD_RSFT`, ` MOD_RALT`, ` MOD_RGUI` }
276+ **key**: keycode
277
278
279#### 2.1.1 Normal key and Modifier
280***This action usually won't be used expressly in keymap*** because you can just use keycodes in `KEYMAP()` instead.
281
282You can define these actions on *'A'* key and *'left shift'* modifier with:
283
284 ACTION_KEY(KC_A)
285 ACTION_KEY(KC_LSFT)
286
287#### 2.1.2 Modified key
288This action is comprised of strokes of modifiers and a key. `Macro` action is needed if you want more complex key strokes.
289
290Say you want to assign a key to `Shift + 1` to get character *'!'* or `Alt + Tab` to switch application windows.
291
292 ACTION_MODS_KEY(MOD_LSFT, KC_1)
293 ACTION_MODS_KEY(MOD_LALT, KC_TAB)
294
295Or `Alt,Shift + Tab` can be defined. `ACTION_MODS_KEY(mods, key)` requires **4-bit modifier state** and a **keycode** as arguments. See `keycode.h` for `MOD_BIT()` macro.
296
297 ACTION_MODS_KEY(MOD_LALT | MOD_LSFT, KC_TAB)
298
299#### 2.1.3 Multiple Modifiers
300Registers multiple modifiers with pressing a key. To specify multiple modifiers use `|`.
301
302 ACTION_MODS(MOD_ALT | MOD_LSFT)
303
304#### 2.1.3 Modifier with Tap key([Dual role][dual_role])
305Works as a modifier key while holding, but registers a key on tap(press and release quickly).
306
307
308 ACTION_MODS_TAP_KEY(MOD_RCTL, KC_ENT)
309
310
311
312### 2.2 Layer Action
313These actions operate layers of keymap.
314
315#### Parameters
316You can specify a **target layer** of action and **when the action is executed**. Some actions take a **bit value** for bitwise operation.
317
318
319+ **layer**: `0`-`31`
320+ **on**: { `ON_PRESS` | `ON_RELEASE` | `ON_BOTH` }
321+ **bits**: 4-bit value and 1-bit mask bit
322
323
324#### 2.2.1 Default Layer
325Default Layer is a layer which always is valid and referred to when actions is not defined on other overlay layers.
326
327This sets Default Layer to given parameter `layer` and activate it.
328
329 ACTION_DEFAULT_LAYER_SET(layer)
330
331
332#### 2.2.2 Momentary
333Turns on `layer` momentarily while holding, in other words it activates when key is pressed and deactivate when released.
334
335 ACTION_LAYER_MOMENTARY(layer)
336
337
338#### 2.2.3 Toggle Switch
339Turns on `layer` with first type(press and release) and turns off with next.
340
341 ACTION_LAYER_TOGGLE(layer)
342
343
344#### 2.2.4 Momentary Switch with tap key
345Turns on `layer` momentary while holding, but registers key on tap(press and release quickly).
346
347 ACTION_LAYER_TAP_KEY(layer, key)
348
349
350#### 2.2.5 Momentary Switch with tap toggle
351Turns on `layer` momentary while holding and toggles it with serial taps.
352
353 ACTION_LAYER_TAP_TOGGLE(layer)
354
355
356#### 2.2.6 Invert state of layer
357Inverts current state of `layer`. If the layer is on it becomes off with this action.
358
359 ACTION_LAYER_INVERT(layer, on)
360
361
362#### 2.2.7 Turn On layer
363Turns on layer state.
364
365 ACTION_LAYER_ON(layer, on)
366
367Turns on layer state on press and turns off on release.
368
369 ACTION_LAYER_ON_OFF(layer)
370
371
372#### 2.2.8 Turn Off layer
373Turns off layer state.
374
375 ACTION_LAYER_OFF(layer, on)
376
377Turns off layer state on press and activates on release.
378
379 ACTION_LAYER_OFF_ON(layer)
380
381
382#### 2.2.9 Set layer
383Turn on layer only.
384`layer_state = (1<<layer) [layer: 0-31]`
385
386 ACTION_LAYER_SET(layer, on)
387
388Turns on layer only and clear all layer on release..
389
390 ACTION_LAYER_SET_CLEAR(layer)
391
392
393#### 2.2.10 Bitwise operation
394
395**part** indicates which part of 32bit layer state(0-7). **bits** is 5-bit value. **on** indicates when the action is executed.
396
397 ACTION_LAYER_BIT_AND(part, bits, on)
398 ACTION_LAYER_BIT_OR(part, bits, on)
399 ACTION_LAYER_BIT_XOR(part, bits, on)
400 ACTION_LAYER_BIT_SET(part, bits, on)
401
402These actions works with parameters as following code.
403
404 uint8_t shift = part*4;
405 uint32_t mask = (bits&0x10) ? ~(0xf<<shift) : 0;
406 uint32_t layer_state = layer_state <bitop> ((bits<<shift)|mask);
407
408
409Default Layer also has bitwise operations, they are executed when key is released.
410
411 ACTION_DEFAULT_LAYER_BIT_AND(part, bits)
412 ACTION_DEFAULT_LAYER_BIT_OR(part, bits)
413 ACTION_DEFAULT_LAYER_BIT_XOR(part, bits)
414 ACTION_DEFAULT_LAYER_BIT_SET(part, bits)
415
416
417
418### 2.3 Macro action
419***TBD***
420
421`Macro` action indicates complex key strokes.
422
423 MACRO( D(LSHIFT), D(D), END )
424 MACRO( U(D), U(LSHIFT), END )
425 MACRO( I(255), T(H), T(E), T(L), T(L), W(255), T(O), END )
426
427#### 2.3.1 Macro Commands
428- **I()** change interval of stroke.
429- **D()** press key
430- **U()** release key
431- **T()** type key(press and release)
432- **W()** wait
433- **END** end mark
434
435#### 2.3.2 Examples
436
437***TODO: sample implementation***
438See `keyboards/hhkb/keymap.c` for sample.
439
440
441
442### 2.4 Function action
443***TBD***
444
445There are two type of action, normal `Function` and tappable `Function`.
446These actions call user defined function with `id`, `opt`, and key event information as arguments.
447
448#### 2.4.1 Function
449To define normal `Function` action in keymap use this.
450
451 ACTION_FUNCTION(id, opt)
452
453#### 2.4.2 Function with tap
454To define tappable `Function` action in keymap use this.
455
456 ACTION_FUNCTION_TAP(id, opt)
457
458#### 2.4.3 Implement user function
459`Function` actions can be defined freely with C by user in callback function:
460
461 void keymap_call_function(keyrecord_t *event, uint8_t id, uint8_t opt)
462
463This C function is called every time key is operated, argument `id` selects action to be performed and `opt` can be used for option. Function `id` can be 0-255 and `opt` can be 0-15.
464
465 `keyrecord_t` is comprised of key event and tap count. `keyevent_t` indicates which and when key is pressed or released. From `tap_count` you can know tap state, 0 means no tap. These information will be used in user function to decide how action of key is performed.
466
467 typedef struct {
468 keyevent_t event;
469 uint8_t tap_count;
470 } keyrecord_t;
471
472 typedef struct {
473 key_t key;
474 bool pressed;
475 uint16_t time;
476 } keyevent_t;
477
478 typedef struct {
479 uint8_t col;
480 uint8_t row;
481 } key_t;
482
483***TODO: sample implementation***
484See `keyboards/hhkb/keymap.c` for sample.
485
486
487
488### 2.5 Backlight Action
489These actions control the backlight.
490
491#### 2.5.1 Change backlight level
492Increase backlight level.
493
494 ACTION_BACKLIGHT_INCREASE()
495
496Decrease backlight level.
497
498 ACTION_BACKLIGHT_DECREASE()
499
500Step through backlight levels.
501
502 ACTION_BACKLIGHT_STEP()
503
504Turn a specific backlight level on or off.
505
506 ACTION_BACKLIGHT_LEVEL(1)
507
508#### 2.5.2 Turn on / off backlight
509Turn the backlight on and off without changing level.
510
511 ACTION_BACKLIGHT_TOGGLE()
512
513
514
515### 2.6 Swap-Hands Action
516The swap-hands action allows support for one-handed keyboards without requiring a separate layer. Set `ONEHAND_ENABLE` in the Makefile and define a `hand_swap_config` entry in your keymap. Now whenever the `ACTION_SWAP_HANDS` command key is pressed the keyboard is mirrored. For instance, to type "Hello, World" on QWERTY you would type `^Ge^s^s^w^c W^wr^sd`
517
518### 2.6.1 Configuration
519The configuration table is a simple 2-dimensional array to map from column/row to new column/row. Example `hand_swap_config` for Planck:
520
521```
522const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
523 {{11, 0}, {10, 0}, {9, 0}, {8, 0}, {7, 0}, {6, 0}, {5, 0}, {4, 0}, {3, 0}, {2, 0}, {1, 0}, {0, 0}},
524 {{11, 1}, {10, 1}, {9, 1}, {8, 1}, {7, 1}, {6, 1}, {5, 1}, {4, 1}, {3, 1}, {2, 1}, {1, 1}, {0, 1}},
525 {{11, 2}, {10, 2}, {9, 2}, {8, 2}, {7, 2}, {6, 2}, {5, 2}, {4, 2}, {3, 2}, {2, 2}, {1, 2}, {0, 2}},
526 {{11, 3}, {10, 3}, {9, 3}, {8, 3}, {7, 3}, {6, 3}, {5, 3}, {4, 3}, {3, 3}, {2, 3}, {1, 3}, {0, 3}},
527};
528```
529
530Note that the array indices are reversed same as the matrix and the values are of type `keypos_t` which is `{col, row}` and all values are zero-based. In the example above, `hand_swap_config[2][4]` (third row, fifth column) would return {7, 2} (third row, eighth column).
531
532### 2.6.2 Advanced Swap Commands
533- **`ACTION_SWAP_HANDS()`** Swaps hands when pressed, returns to normal when released (momentary).
534- **`ACTION_SWAP_HANDS_TOGGLE()`** Toggles swap on and off with every keypress.
535- **`ACTION_SWAP_HANDS_TAP_TOGGLE()`** Toggles with a tap; momentary when held.
536- **`ACTION_SWAP_HANDS_TAP_KEY(key)`** Sends `key` with a tap; momentary swap when held.
537- **`ACTION_SWAP_HANDS_ON_OFF()`** Alias for `ACTION_SWAP_HANDS()`
538- **`ACTION_SWAP_HANDS_OFF_ON()`** Momentarily turns off swap.
539- **`ACTION_SWAP_HANDS_ON()`** Turns on swapping and leaves it on.
540- **`ACTION_SWAP_HANDS_OFF()`** Turn off swapping and leaves it off. Good for returning to a known state.
541
542
543
544## 3. Layer switching Example
545There are some ways to switch layer with 'Layer' actions.
546
547### 3.1 Momentary switching
548Momentary switching changes layer only while holding Fn key.
549
550This action makes 'Layer 1' active(valid) on key press event and inactive on release event. Namely you can overlay a layer on lower layers or default layer temporarily with this action.
551
552 ACTION_LAYER_MOMENTARY(1)
553
554
555Note that after switching on press the actions on destination layer(Layer 1) are performed.
556***Thus you shall need to place an action to go back on destination layer***, or you will be stuck in destination layer without way to get back. Usually you need to place same action or 'KC_TRNS` on destination layer to get back.
557
558
559### 3.2 Toggle switching
560Toggle switching performed after releasing a key. With this action you can keep staying on the destination layer until you type the key again to return.
561
562This performs toggle switching action of 'Layer 2'.
563
564 ACTION_LAYER_TOGGLE(2)
565
566
567
568### 3.3 Momentary switching with Tap key
569These actions switch a layer only while holding a key but register the key on tap. **Tap** means to press and release a key quickly.
570
571 ACTION_LAYER_TAP_KEY(2, KC_SCLN)
572
573With this you can place a layer switching action on normal key like ';' without losing its original key register function. This action allows you to have layer switching action without necessity of a dedicated key. It means you can have it even on home row of keyboard.
574
575
576
577### 3.4 Momentary switching with Tap Toggle
578This switches layer only while holding a key but toggle layer with several taps. **Tap** means to press and release key quickly.
579
580 ACTION_LAYER_TAP_TOGGLE(1)
581
582Number of taps can be configured with `TAPPING_TOGGLE` in `config.h`, `5` by default.
583
584
585
586### 3.5 Momentary switching with Modifiers
587This registers modifier key(s) simultaneously with layer switching.
588
589 ACTION_LAYER_MODS(2, MOD_LSFT | MOD_LALT)
590
591
592
593## 4. Tapping
594Tapping is to press and release a key quickly. Tapping speed is determined with setting of `TAPPING_TERM`, which can be defined in `config.h`, 200ms by default.
595
596### 4.1 Tap Key
597This is a feature to assign normal key action and modifier including layer switching to just same one physical key. This is a kind of [Dual role key][dual_role]. It works as modifier when holding the key but registers normal key when tapping.
598
599Modifier with tap key:
600
601 ACTION_MODS_TAP_KEY(MOD_RSFT, KC_GRV)
602
603Layer switching with tap key:
604
605 ACTION_LAYER_TAP_KEY(2, KC_SCLN)
606
607[dual_role]: http://en.wikipedia.org/wiki/Modifier_key#Dual-role_keys
608
609When user hold a key after tap, it repeat the tapped key rather to hold a modifier key.
610If you prefer to hold a modifier instead, define `TAPPING_FORCE_HOLD` in `config.h`.
611See https://github.com/qmk/qmk_firmware/issues/889 for the detail.
612
613### 4.2 Tap Toggle
614This is a feature to assign both toggle layer and momentary switch layer action to just same one physical key. It works as momentary layer switch when holding a key but toggle switch with several taps.
615
616 ACTION_LAYER_TAP_TOGGLE(1)
617
618
619### 4.3 Oneshot Modifier
620This runs onetime effects which modify only on just one following key. It works as normal modifier key when holding down while oneshot modifier when tapping. The behavior of oneshot modifiers is similar to the [sticky keys](https://en.wikipedia.org/wiki/StickyKeys) functionality found in most operating systems.
621
622 ACTION_MODS_ONESHOT(MOD_LSFT)
623
624Oneshot layer key:
625
626 ACTION_LAYER_ONESHOT(MY_LAYER)
627
628Say you want to type 'The', you have to push and hold Shift key before type 't' then release it before type 'h' and 'e', otherwise you'll get 'THe' or 'the' unintentionally. With Oneshot Modifier you can tap Shift then type 't', 'h' and 'e' normally, you don't need to holding Shift key properly here. This mean you can release Shift before 't' is pressed down.
629
630Oneshot effect is cancel unless following key is pressed down within `ONESHOT_TIMEOUT` of `config.h`. No timeout when it is `0` or not defined.
631
632Most implementations of sticky keys allow you to lock a modifier by double tapping the modifier. The layer then remains locked untill the modifier is tapped again. To enable this behaviour for oneshot modifiers set `ONESHOT_TAP_TOGGLE` to the number taps required. The feature is disabled if `ONESHOT_TAP_TOGGLE<2` or not defined.
633
634
635### 4.4 Tap Toggle Mods
636Similar to layer tap toggle, this works as a momentary modifier when holding, but toggles on with several taps. A single tap will 'unstick' the modifier again.
637
638 ACTION_MODS_TAP_TOGGLE(MOD_LSFT)
639
640
641
642
643## 5. Legacy Keymap
644In QMK, `tmk_core/common/keymap.c` is missing and its replacement `quantum/keymap_common.c` lacks Legacy Keymap support.
645
646Legacy Keymap uses two arrays `fn_layer[]` and `fn_keycode[]` to define Fn key. The index of arrays corresponds with postfix number of `Fn` key. Array `fn_layer[]` indicates destination layer to switch and `fn_keycode[]` has keycodes to send when tapping `Fn` key.
647
648In the following legacy keymap setting example, `Fn0`, `Fn1` and `Fn2` switch layer to 1, 2 and 2 respectively. `Fn2` registers `Space` key when tapping while `Fn0` and `Fn1` doesn't send any key.
649
650 static const uint8_t PROGMEM fn_layer[] = {
651 1, // Fn0
652 2, // Fn1
653 2, // Fn2
654 };
655
656 static const uint8_t PROGMEM fn_keycode[] = {
657 KC_NO, // Fn0
658 KC_NO, // Fn1
659 KC_SPC, // Fn2
660 };
661
662Under QMK, these can be realized using action code ACTION_LAYER_TAP_KEY(1, KC_NO), ACTION_LAYER_TAP_KEY(2, KC_NO), and ACTION_LAYER_TAP_KEY(2, KC_SPC) in the `keymaps` directly.
663
664## 6. Terminology
665***TBD***
666### keymap
667is comprised of multiple layers.
668### layer
669is matrix of keycodes.
670### key
671is physical button on keyboard or logical switch on software.
672### keycode
673is codes used on firmware.
674### action
675is a function assigned on a key.
676### layer transparency
677Using transparent keycode one layer can refer key definition on other lower layer.
678### layer precedence
679Top layer has higher precedence than lower layers.
680### tapping
681is to press and release a key quickly.
682### Fn key
683is key which executes a special action like layer switching, mouse key, macro or etc.
684### dual role key
685<http://en.wikipedia.org/wiki/Modifier_key#Dual-role_keys>
diff --git a/docs/kiibohd.asciidoc b/docs/kiibohd.asciidoc
deleted file mode 100644
index 4a7ee64d8..000000000
--- a/docs/kiibohd.asciidoc
+++ /dev/null
@@ -1,29 +0,0 @@
1== KLL vs TMK
21. **Shift** = Memontary
31. Latch = One shot
41. Lock = Toggle
5
6## KLL terminology
7### Fall-through
8When a key is undefined on a particular layer, the key
9definition on the previously stacked layer will be used. Eventually
10the key definition will be set to using the default layer. If the None
11keyword is used, then the fall-through will stop and no action will
12take place.
13###Latch
14When referring to keyboards, a key function that is only enabled
15until the release of the next keypress.
16###Lock
17When referring to keyboards, a key function that is enabled until
18that key is pressed again (e.g. Caps Lock).
19### NKRO
20N-Key Rollover is the capability to press N number of keys at the
21same time on a keyboard and have them all register on the OS simultaneously.
22### Scan Code
23Row x Column code or native protocol code used by the keyboard.
24### Shift
25When referring to keyboards, a key function that is enabled while
26that key is held.
27### USB Code
28Keyboard Press/Release codes as defined by the USB HID
29Spec. \ No newline at end of file
diff --git a/docs/license_clarification.md b/docs/license_clarification.md
deleted file mode 100644
index cf30619b9..000000000
--- a/docs/license_clarification.md
+++ /dev/null
@@ -1,38 +0,0 @@
1# Overview
2
3As raised in #1038 and other issues, the licensing status of QMK is not clear. In an effort to remove ambiguity and to clarify the licensing status of the quantum code we are identifying the providence of our source code files and clarifying what license applies to each one.
4
5# Signoff
6
7This section documents the people who need to sign off on applying the GPL to one or more of their contributions. If your name appears below and you consent to applying the GPL to your contributions, please put today's date in the last field of your row. Please stick to the following date format: 2017 Jan 28
8
9Username | Files | Sign Off Date |
10---------|-------|---------------|
11@0xdec | quantum/rgblight.c | 2017 Jan 29 |
12@algernon | quantum/quantum.c<br>quantum/quantum.h<br>quantum/process_keycode/process_tap_dance.c<br>quantum/process_keycode/process_tap_dance.h<br>quantum/process_keycode/process_unicode.c<br>quantum/process_keycode/process_unicode.h | 2017 Jan 29 |
13@cdlm | quantum/template/template.c<br>quantum/template/template.h | 2017 Feb 03 |
14@DidierLoiseau | quantum/keymap_extras/keymap_canadian_multilingual.h<br>quantum/keymap_extras/keymap_bepo.h |2017 Jan 29 |
15@eltang | quantum/config_common.h<br>quantum/matrix.c<br>quantum/quantum.c<br>quantum/quantum.h<br>quantum/rgblight.c<br>quantum/rgblight.h<br>quantum/template/config.h | 2017 Feb 28 |
16@ezuk | quantum/matrix.c<br>quantum/quantum.c<br>quantum/quantum.h<br>quantum/quantum_keycodes.h<br>quantum/rgblight.c<br>quantum/rgblight.h<br>quantum/keymap_extras/keymap_colemak.h<br>quantum/keymap_extras/keymap_nordic.h | 2017 Jan 31 |
17@fredizzimo | quantum/config_common.h<br>quantum/keycode_config.h<br>quantum/keymap.h<br>quantum/keymap_common.c<br>quantum/keymap_common.c<br>quantum/matrix.c<br>quantum/quantum.h<br>quantum/rgblight.c<br>quantum/rgblight.h<br>quantum/api/api_sysex.c | 2017 Jan 29 |
18@h-youhei | quantum/keymap_extras/keymap_jp.h | 2017 Jan 28 |
19@heartsekai | quantum/keymap_extras/keymap_german_ch.h | 2017 Jan 29 |
20@IBnobody | quantum/keycode_config.h<br>quantum/matrix.c<br>quantum/quantum.c<br>quantum/audio/audio.c<br>quantum/audio/audio.h<br>quantum/audio/audio_pwm.c<br>quantum/audio/audio_pwm.c<br>quantum/audio/voices.c<br>quantum/audio/voices.h<br>quantum/template/config.h<br>quantum/template/template.c | 2017 Jan 30 |
21@jackhumbert | quantum/config_common.h<br>quantum/keycode_config.h<br>quantum/keymap.h<br>quantum/keymap_common.c<br>quantum/light_ws2812.c<br>quantum/light_ws2812.h<br>quantum/matrix.c<br>quantum/quantum.c<br>quantum/quantum.h<br>quantum/quantum_keycodes.h<br>quantum/rgblight.c<br>quantum/rgblight.h<br>quantum/api/api_sysex.c<br>quantum/audio/audio.c<br>quantum/audio/audio.h<br>quantum/audio/audio_pwm.c<br>quantum/audio/audio_pwm.c<br>quantum/audio/voices.c<br>quantum/audio/voices.h<br>quantum/keymap_extras/keymap_colemak.h<br>quantum/keymap_extras/keymap_dvorak.h<br>quantum/keymap_extras/keymap_fr_ch.h<br>quantum/keymap_extras/keymap_french.h<br>quantum/keymap_extras/keymap_french_osx.h<br>quantum/keymap_extras/keymap_german.h<br>quantum/keymap_extras/keymap_german_ch.h<br>quantum/keymap_extras/keymap_german_osx.h<br>quantum/keymap_extras/keymap_neo2.h<br>quantum/keymap_extras/keymap_nordic.h<br>quantum/keymap_extras/keymap_plover.h<br>quantum/keymap_extras/keymap_spanish.h<br>quantum/keymap_extras/keymap_uk.h<br>quantum/process_keycode/process_midi.c<br>quantum/process_keycode/process_music.c<br>quantum/process_keycode/process_tap_dance.c<br>quantum/process_keycode/process_tap_dance.h<br>quantum/process_keycode/process_unicode.c<br>quantum/process_keycode/process_unicode.h<br>quantum/template/config.h<br>quantum/template/template.c<br>quantum/template/template.h | 2017-01-29 |
22@jakllsch | quantum/keymap_extras/keymap_dvorak.h<br>quantum/keymap_extras/keymap_fr_ch.h<br>quantum/keymap_extras/keymap_french.h<br>quantum/keymap_extras/keymap_german.h<br>quantum/keymap_extras/keymap_german_ch.h<br>quantum/keymap_extras/keymap_nordic.h<br>quantum/keymap_extras/keymap_spanish.h<br>quantum/keymap_extras/keymap_uk.h | 2017 Jan 29 |
23kuel | quantum/keymap_extras/keymap_unicode_cyrillic.h<br>quantum/keymap_extras/keymap_russian.h | |
24@lindhe | quantum/keymap_extras/keymap_nordic.h<br>quantum/keymap_extras/keymap_norwegian.h | 2017 Jan 30 |
25@matzebond | quantum/keymap_extras/keymap_german.h<br>quantum/keymap_extras/keymap_neo2.h | 2017 Jan 30 |
26@plgruener | quantum/keymap_extras/keymap_german.h<br>quantum/keymap_extras/keymap_neo2.h | 2017 Jan 30 |
27@priyadi | quantum/quantum.c<br>quantum/process_keycode/process_unicode.c<br>quantum/process_keycode/process_unicode.h | 2017 Jan 31 |
28@pvinis | quantum/quantum.c<br>quantum/quantum.h<br>quantum/process_keycode/process_tap_dance.c<br>quantum/process_keycode/process_tap_dance.h | 2017 Jan 29 |
29@Smilliam | quantum/quantum.c | 2017 Feb 25 |
30@sperochon | quantum/keymap_extras/keymap_french_osx.h | 2017 Jan 30 |
31stephan . bosebeck at holidayinsider.com | quantum/keymap_extras/keymap_german_osx.h | 2017 Feb 15 |
32@TerryMathews | quantum/quantum.c | 2017 Jan 29 |
33@Twey | quantum/keymap_extras/keymap_plover.h | |
34@Vifon | quantum/dynamic_macro.h<br>quantum/quantum.c | 2017 Feb 09 |
35@vincent-pochet | quantum/keymap_extras/keymap_fr_ch.h | 2017 Feb 09 |
36@wez | quantum/dynamic_macro.h | 2017 Jan 29 |
37@Wilba6582 | quantum/keymap.h<br>quantum/keymap_common.c<br>quantum/quantum_keycodes.h | 2017 Feb 15 |
38@yangliu | quantum/light_ws2812.c<br>quantum/light_ws2812.h<br>quantum/rgblight.c<br>quantum/rgblight.h | 2017 Jan 30 | \ No newline at end of file
diff --git a/docs/license_clarification_details.md b/docs/license_clarification_details.md
deleted file mode 100644
index 77ee688bb..000000000
--- a/docs/license_clarification_details.md
+++ /dev/null
@@ -1,1272 +0,0 @@
1# Details
2
3This page contains details that are no longer relevant to the License Clarification effort.
4
5## Small Contributions
6
7Smaller contributions that don't need to sign off on the license change.
8
9Username | # Lines | Files |
10---------|---------|-------|
11@AGausmann | 3 | quantum/process_keycode/process_midi.c |
12@Chipairon | 2 | quantum/keymap_extras/keymap_spanish.h |
13@coderkun | 5 | quantum/process_keycode/process_unicode.c |
14@fernandodeperto | 3 | quantum/keymap_extras/keymap_nordic.h |
15@jeebak | 8 | quantum/audio/audio_pwm.c |
16@Keller-Laminar | 1 | quantum/keymap_extras/keymap_dvorak.h |
17kevin at letord.fr | 1 | quantum/keymap_extras/keymap_french.h |
18@ofpies | 3 | quantum/config_common.h<br>quantum/quantum.c |
19@MagicianVivi | 2 | quantum/keymap_extras/keymap_bepo.h |
20@NoahAndrews | 1 | quantum/template/template.h |
21@robertdale | 6 | quantum/process_keycode/process_music.c |
22@scott-t-wilson | 3 | quantum/rgblight.c<br>quantum/rgblight.h |
23@skullydazed | 2 | quantum/rgblight.c |
24@yoyoerx | 6 | quantum/matrix.c<br>quantum/template/template.c |
25
26# Single Author Files
27
28These are the single author files that still need to have their license clarified.
29
30* quantum/dynamic_macro.h: @Vifon
31* quantum/pincontrol.h: @wez
32* quantum/keymap_extras/keymap_canadian_multilingual.h: @DidierLoiseau
33* quantum/keymap_extras/keymap_jp.h: @h-youhei
34* quantum/keymap_extras/keymap_unicode_cyrillic.h: @kuel
35* quantum/keymap_extras/keymap_russian.h: @kuel
36
37# Multi Author Files
38
39Each file listed below has more than one author and needs to have copyright resolved. The number of lines contributed by each author is shown as determined by:
40
41```git blame <file> | cut -f 2 -d '(' | cut -f 1 -d '2' | sort | uniq -c | sed 's/^ */* /'```
42
43## quantum/config_common.h
44
45* 24 Eric Tang
46* 2 Fred Sundvik
47* 58 Jack Humbert
48* 1 ofples
49
50## quantum/keycode_config.h
51
52* 5 IBNobody
53* 20 Jack Humbert
54* 1 fredizzimo
55
56## quantum/keymap.h
57
58* 39 Jack Humbert
59* 6 Wilba6582
60* 8 fredizzimo
61
62## quantum/keymap_common.c
63
64* 1 Fred Sundvik
65* 162 Jack Humbert
66* 11 Wilba6582
67* 3 fredizzimo
68
69## quantum/light_ws2812.c
70
71* 163 Jack Humbert
72* 168 Yang Liu
73
74## quantum/light_ws2812.h
75
76* 11 Jack Humbert
77* 70 Yang Liu
78
79## quantum/matrix.c
80
81* 3 Erez Zukerman
82* 15 Eric Tang
83* 239 IBNobody
84* 152 Jack Humbert
85* 2 fredizzimo
86* 2 yoyoerx
87
88## quantum/quantum.c
89
90* 38 Erez Zukerman
91* 96 Eric Tang
92* 49 Gergely Nagy
93* 68 IBNobody
94* 4 Jack & Erez
95* 561 Jack Humbert
96* 2 Ofer Plesser
97* 14 Pavlos Vinieratos
98* 2 Priyadi Iman Nurcahyo
99* 12 Smilliam
100* 52 TerryMathews
101* 12 Wojciech Siewierski
102
103## quantum/quantum.h
104
105* 23 Erez Zukerman
106* 4 Eric Tang
107* 1 Fred Sundvik
108* 3 Gergely Nagy
109* 86 Jack Humbert
110* 2 Pavlos Vinieratos
111* 5 fredizzimo
112
113## quantum/quantum_keycodes.h
114
115* 2 Erez Zukerman
116* 2 Jack Humbert
117* 313 Wilba6582
118
119## quantum/rgblight.c
120
121* 13 Erez Zukerman
122* 5 Eric Tang
123* 39 Fred Sundvik
124* 101 Jack Humbert
125* 311 Jordi Orlando
126* 1 Scott Wilson
127* 147 Yang Liu
128* 2 skullY
129
130## quantum/rgblight.h
131
132* 3 Erez Zukerman
133* 2 Eric Tang
134* 6 Fred Sundvik
135* 12 Jack Humbert
136* 2 Scott Wilson
137* 80 Yang Liu
138
139## quantum/api/api_sysex.c
140
141* 44 Fred Sundvik
142* 13 Jack Humbert
143
144## quantum/audio/audio.c
145
146* 318 IBNobody
147* 164 Jack Humbert
148
149## quantum/audio/audio.h
150
151* 15 IBNobody
152* 76 Jack Humbert
153
154## quantum/audio/audio_pwm.c
155
156* 642 IBNobody
157* 1 Jack Humbert
158
159## quantum/audio/song_list.h
160
161* 101 IBNobody
162* 16 Jack Humbert
163* 8 JeeBak Kim
164
165## quantum/audio/voices.c
166
167* 24 IBNobody
168* 256 Jack Humbert
169
170## quantum/audio/voices.h
171
172* 3 IBNobody
173* 32 Jack Humbert
174
175## quantum/keymap_extras/keymap_bepo.h
176
177* 308 Didier Loiseau
178* 1 Jack Humbert
179* 2 Vivien Alger
180
181## quantum/keymap_extras/keymap_colemak.h
182
183* 31 Erez Zukerman
184* 44 Jack Humbert
185
186## quantum/keymap_extras/keymap_dvorak.h
187
188* 69 Jack Humbert
189* 15 Jonathan A. Kollasch
190* 1 Keller-Laminar
191
192## quantum/keymap_extras/keymap_fr_ch.h
193
194* 1 Jack Humbert
195* 1 Jonathan A. Kollasch
196* 96 Vincent Pochet
197
198## quantum/keymap_extras/keymap_french.h
199
200* 80 Jack Humbert
201* 2 Jonathan A. Kollasch
202* 1 Kévin Letord
203
204## quantum/keymap_extras/keymap_french_osx.h
205
206* 1 Jack Humbert
207* 76 Sébastien Pérochon
208
209## quantum/keymap_extras/keymap_german.h
210
211* 1 Jack Humbert
212* 1 Jonathan A. Kollasch
213* 58 Matthias Schmitt
214* 39 plgruener
215
216## quantum/keymap_extras/keymap_german_ch.h
217
218* 1 Jack Humbert
219* 1 Jonathan A. Kollasch
220* 100 heartsekai
221
222## quantum/keymap_extras/keymap_german_osx.h
223
224* 1 Jack Humbert
225* 96 Stephan Bösebeck
226
227## quantum/keymap_extras/keymap_neo2.h
228
229* 2 Jack Humbert
230* 42 Matthias Schmitt
231* 19 plgruener
232
233## quantum/keymap_extras/keymap_nordic.h
234
235* 1 Andreas Lindhé
236* 1 Erez Zukerman
237* 3 Fernando Mendonca
238* 53 Jack Humbert
239* 1 Jonathan A. Kollasch
240
241## quantum/keymap_extras/keymap_norwegian.h
242
243* 1 Andreas Lindhé
244* 40 joar
245
246## quantum/keymap_extras/keymap_plover.h
247
248* 1 Jack Humbert
249* 31 James ‘Twey’ Kay
250
251## quantum/keymap_extras/keymap_spanish.h
252
253* 59 Jack Humbert
254* 1 Jonathan A. Kollasch
255* 2 Rubén Díaz-Jorge
256
257## quantum/keymap_extras/keymap_uk.h
258
259* 34 Jack Humbert
260* 2 Jonathan A. Kollasch
261
262## quantum/process_keycode/process_midi.c
263
264* 3 Adam Gausmann
265* 65 Jack Humbert
266
267## quantum/process_keycode/process_music.c
268
269* 180 Jack Humbert
270* 6 Robert Dale
271
272## quantum/process_keycode/process_tap_dance.c
273
274* 90 Gergely Nagy
275* 38 Jack Humbert
276* 8 Pavlos Vinieratos
277
278## quantum/process_keycode/process_tap_dance.h
279
280* 22 Gergely Nagy
281* 41 Jack Humbert
282* 9 Pavlos Vinieratos
283
284## quantum/process_keycode/process_unicode.c
285
286* 176 Gergely Nagy
287* 24 Jack Humbert
288* 84 Priyadi Iman Nurcahyo
289* 5 coderkun
290
291## quantum/process_keycode/process_unicode.h
292
293* 40 Gergely Nagy
294* 117 Jack Humbert
295* 10 Priyadi Iman Nurcahyo
296
297## quantum/template/config.h
298
299* 9 Eric Tang
300* 78 IBNobody
301* 75 Jack Humbert
302
303## quantum/template/template.c
304
305* 9 Damien Pollet
306* 7 IBNobody
307* 8 Jack Humbert
308* 4 yoyoerx
309
310## quantum/template/template.h
311
312* 2 Damien Pollet
313* 16 Jack Humbert
314* 1 Noah Andrews
315
316# All Single Author Files
317
318These files have only a single author and so clarifying licensing should be pretty straightforward.
319
320* quantum/analog.c: Jack Humbert
321* quantum/analog.h: Jack Humbert
322* quantum/api.h: Jack Humbert
323* quantum/keycode_config.c: Jack Humbert
324* quantum/pincontrol.h: Wez Furlong
325* quantum/api/api_sysex.h: Jack Humbert
326* quantum/audio/luts.c: IBNobody
327* quantum/audio/luts.h: IBNobody
328* quantum/audio/musical_notes.h: Jack Humbert
329* quantum/audio/wave.h: Jack Humbert
330* quantum/keymap_extras/keymap_br_abnt2.h: Potiguar Faga
331* quantum/keymap_extras/keymap_dvp.h: Artyom Mironov
332* quantum/keymap_extras/keymap_jp.h: h-youhei
333* quantum/keymap_extras/keymap_unicode_cyrillic.h: kuel
334* quantum/process_keycode/process_chording.c: Jack Humbert
335* quantum/process_keycode/process_chording.h: Jack Humbert
336* quantum/process_keycode/process_leader.c: Jack Humbert
337* quantum/process_keycode/process_leader.h: Jack Humbert
338* quantum/process_keycode/process_midi.h: Jack Humbert
339* quantum/process_keycode/process_music.h: Jack Humbert
340* quantum/process_keycode/process_printer.c: Jack Humbert
341* quantum/process_keycode/process_printer.h: Jack Humbert
342* quantum/process_keycode/process_printer_bb.c: Jack Humbert
343* quantum/serial_link/LICENSE: Fred Sundvik
344* quantum/serial_link/protocol/frame_router.c: Fred Sundvik
345* quantum/serial_link/protocol/frame_router.h: Fred Sundvik
346* quantum/serial_link/protocol/frame_validator.c: Fred Sundvik
347* quantum/serial_link/protocol/frame_validator.h: Fred Sundvik
348* quantum/serial_link/protocol/physical.h: Fred Sundvik
349* quantum/serial_link/protocol/triple_buffered_object.c: Fred Sundvik
350* quantum/serial_link/protocol/triple_buffered_object.h: Fred Sundvik
351* quantum/serial_link/system/serial_link.c: Fred Sundvik
352* quantum/serial_link/system/serial_link.h: Fred Sundvik
353* quantum/serial_link/tests/byte_stuffer_tests.cpp: Fred Sundvik
354* quantum/serial_link/tests/frame_router_tests.cpp: Fred Sundvik
355* quantum/serial_link/tests/frame_validator_tests.cpp: Fred Sundvik
356* quantum/serial_link/tests/Makefile: Fred Sundvik
357* quantum/serial_link/tests/transport_tests.cpp: Fred Sundvik
358* quantum/serial_link/tests/triple_buffered_object_tests.cpp: Fred Sundvik
359* quantum/template/rules.mk: Fred Sundvik
360* quantum/template/keymaps/default/config.h: Jack Humbert
361* quantum/template/keymaps/default/Makefile: Jack Humbert
362* quantum/template/keymaps/default/readme.md: Jack Humbert
363* quantum/tools/eeprom_reset.hex: Jack Humbert
364* quantum/tools/readme.md: Jack Humbert
365* quantum/visualizer/lcd_backlight.c: Fred Sundvik
366* quantum/visualizer/lcd_backlight.h: Fred Sundvik
367* quantum/visualizer/led_test.h: Fred Sundvik
368* quantum/visualizer/LICENSE.md: Fred Sundvik
369* quantum/visualizer/readme.md: Fred Sundvik
370* quantum/visualizer/example_integration/callbacks.c: Fred Sundvik
371* quantum/visualizer/example_integration/gfxconf.h: Fred Sundvik
372* quantum/visualizer/example_integration/lcd_backlight_hal.c: Fred Sundvik
373* quantum/visualizer/example_integration/visualizer_user.c: Fred Sundvik
374
375# All Files
376
377## quantum/analog.c
378
379* 46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141 Mon Oct 26 14:49:46 2015 -0400 Jack Humbert
380
381## quantum/analog.h
382
383* 46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141 Mon Oct 26 14:49:46 2015 -0400 Jack Humbert
384
385## quantum/api.c
386
387* 7edac212c8ed8442bf4207e70dc8194631b2bf27 Sat Nov 26 15:37:46 2016 -0500 Jack Humbert
388* 06c64bbff3e228df542149acde64eadaf59b9b0f Mon Dec 19 11:18:18 2016 -0500 Jack Humbert
389
390## quantum/api.h
391
392* 7edac212c8ed8442bf4207e70dc8194631b2bf27 Sat Nov 26 15:37:46 2016 -0500 Jack Humbert
393
394## quantum/config_common.h
395
396* 35a81f5b8b081e1607a7c04489b01f551c3213cc Mon Oct 26 16:32:37 2015 -0400 Jack Humbert
397* aaa758f1d3f97dda39879f2b055ad2da9680adfe Mon May 23 20:42:21 2016 -0700 Eric Tang
398* 13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b Thu Jun 23 22:18:20 2016 -0400 Jack Humbert
399* 705c775a4a433249081321cea0c2def2627817dc Sun Aug 21 22:05:55 2016 -0500 IBNobody
400* 936a26d04ffa12801031c058f27e221174e3fabd Thu Aug 25 00:15:41 2016 -0500 IBNobody
401* 6390033e8688550826a4bd3004a2e76568600657 Mon Nov 21 20:14:16 2016 -0500 Jack Humbert
402* 03d6e165bb0baf9d0093250d3c3c0771290df4d6 Fri Nov 25 09:17:40 2016 +0200 ofples
403* 0c9d66eb59add717397ba83d508577073412ce86 Fri Nov 25 09:20:41 2016 +0200 ofples
404* de1df639535817e17f1c01f07e7a629cec478526 Sat Nov 26 13:55:41 2016 +0700 Priyadi Iman Nurcahyo
405* 17acde94ee2695ab69ea336742c904d649dce17c Sat Nov 26 14:02:38 2016 +0700 Priyadi Iman Nurcahyo
406* d9d67e7b7686fdcbc7269a76d2a54c42325bdd03 Sat Nov 26 15:26:02 2016 +0700 Priyadi Iman Nurcahyo
407* f2214ce1cb6cfe7a0efabe870a2c00fb8451ee80 Sat Nov 26 15:57:48 2016 +0700 Priyadi Iman Nurcahyo
408* 6e0f994950435aa5867e7b7ce780186d881d74ac Mon Nov 28 23:51:07 2016 -0500 Jack Humbert
409* dd685eceb2045371d38f24d454f1ab08ca7416f4 Thu Dec 29 12:13:30 2016 +0200 Fred Sundvik
410
411## quantum/dynamic_macro.h
412
413* 39e8e61258b51a2c33a94dd877e983f0b1dae0c1 Thu Aug 18 01:37:13 2016 +0200 Wojciech Siewierski
414* 70f32842e5d94f14d05c1f9adcb1b1144a25a132 Sun Oct 9 12:52:39 2016 +0200 Wojciech Siewierski
415
416## quantum/keycode_config.c
417
418* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
419
420## quantum/keycode_config.h
421
422* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
423* 4d4f7684e684bec319f166121463a88cd4a62703 Fri Jul 1 17:04:53 2016 +0300 fredizzimo
424* 558f3ec1eb325caf706efc15e2fab26121aba442 Tue Sep 6 23:19:01 2016 -0500 IBNobody
425
426## quantum/keymap.h
427
428* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
429* 76076db72545bbb649f11394a12721f61579527f Mon Jun 20 22:36:36 2016 -0400 Jack & Erez
430* 1a0bac8bccf0e156d2f3c5f14a7214f9677b6370 Tue Jun 21 17:42:29 2016 -0400 Jack Humbert
431* 13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b Thu Jun 23 22:18:20 2016 -0400 Jack Humbert
432* 65faab3b89245f81c50b029ca178aed175d5f330 Wed Jun 29 17:49:41 2016 -0400 Jack Humbert
433* 4d4f7684e684bec319f166121463a88cd4a62703 Fri Jul 1 17:04:53 2016 +0300 fredizzimo
434* 50c686587ed49d8079ba1b11d45ceb6a55d6cd4b Thu Jul 7 23:34:33 2016 -0400 TerryMathews
435* e692ebf86a962e90c51302e7b17a953ea2858f79 Fri Aug 12 20:38:26 2016 +0900 shela
436* 558f3ec1eb325caf706efc15e2fab26121aba442 Tue Sep 6 23:19:01 2016 -0500 IBNobody
437* 1048a588c750e27ff0f900cd6aaf670e034086d0 Fri Oct 7 17:15:11 2016 +0200 npoirey
438* 5b2e455d3b71bfb90754930d1f22d3e8ce98b927 Mon Oct 10 00:46:20 2016 +0700 Priyadi Iman Nurcahyo
439* e27a754b70434de88a37c4a572e4ca5f7730ff58 Wed Oct 12 22:18:27 2016 -0400 Jack & Erez
440* 52d7f7d2770a35adf0b0b0c803e05ae8719f539f Sun Oct 16 15:49:45 2016 -0400 Jack Humbert
441* 5f91fb413624781ac79db641549b9e08753c04b5 Sun Oct 16 16:03:33 2016 -0400 Jack Humbert
442* 33e62c080c9161a0fc921c90ed299a67fc2e1799 Sat Nov 12 20:54:37 2016 -0500 Jack Humbert
443* 01038ab54ca6c2858ea9e856c717a1129ffe4156 Fri Dec 23 21:51:11 2016 +0200 Ofer Plesser
444* d8a608f3ff4cb4d73cd57be500fd9881e230099d Thu Dec 29 18:28:48 2016 +1100 Wilba6582
445
446## quantum/keymap_common.c
447
448* 46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141 Mon Oct 26 14:49:46 2015 -0400 Jack Humbert
449* 35a81f5b8b081e1607a7c04489b01f551c3213cc Mon Oct 26 16:32:37 2015 -0400 Jack Humbert
450* cc1c32671eb1eb43a87e55ac4ffa60b15115e48d Mon Oct 26 20:02:25 2015 -0400 Jack Humbert
451* d9f08e6177271594fa573993d9f4dbc2d98c7416 Tue Oct 27 22:00:52 2015 -0400 Jack Humbert
452* 18da1e6801335b0d9515ab72e9236a01d629915f Tue Oct 27 23:06:18 2015 -0400 Jack Humbert
453* d3db8d62f6fc6a7dee43978ddc8356579b502b37 Wed Oct 28 04:07:15 2015 +0200 Erez Zukerman
454* 7d6716beded4a60cd9de24e95d8ec60694692b6f Fri Jan 29 23:27:36 2016 -0500 Jack Humbert
455* 65b41e2e59e274354e57ed36cad097823f111f1a Sun Feb 7 11:48:28 2016 +0100 Wojciech Siewierski
456* 47dcec29456106828b83fe5b85fa7a7427ddc710 Sun Jan 3 17:49:28 2016 -0500 Chris Gerber
457* 1d13aa933bbb57bf0c1fe0196981b81233c3df97 Mon Mar 28 19:45:20 2016 -0500 IBNobody
458* 3755ef5ddbdad9f25a53fee951c3eb78035b52c3 Wed Apr 13 20:57:51 2016 -0500 IBNobody
459* ee2ee7f4f049dda385a9db7dddd8e7e91681315b Fri Apr 15 13:44:07 2016 -0400 Jack Humbert
460* 9cfc74c35b940884618b0fe1e6fd25c570e1c974 Thu Apr 7 15:21:06 2016 +0300 Erez Zukerman
461* ab19ebd08a8b955775e6fa94cdf6b8d128d8b43c Sat Apr 16 18:51:58 2016 -0400 Jack Humbert
462* c83aa16f1d614c1c10f7597a67ffb9f2ae871951 Sat Apr 16 20:26:02 2016 -0400 Jack Humbert
463* 41cc35425ab32c9a9492006da8b667d01d32dfa6 Sat Apr 16 21:31:40 2016 -0400 Jack Humbert
464* 8bbd064cf52a76508589579f19595607a1f3af21 Sat Apr 16 23:07:50 2016 -0400 Jack Humbert
465* 45f10b4c4b308226fa1568277654a13853a03ab4 Sat Apr 16 22:10:18 2016 -0500 IBNobody
466* e7b9959819e709d7df2e96a94bdaf36e4e9e23e3 Sat Apr 16 23:15:40 2016 -0400 Jack Humbert
467* a67d425f4d5278595e7ab785a0f246b83fb1a09f Sun Apr 17 01:00:39 2016 -0400 Jack Humbert
468* d5b72e7bde5ede25f7d5699b50b7d9eb6f31ba92 Sun Apr 17 12:54:32 2016 -0500 IBNobody
469* 3103ea542f0039637a1a266df79a97a7a13fa6b4 Sun Apr 17 12:55:19 2016 -0500 IBNobody
470* 23231fa577f7c6c585124226a83f21a7668e62dd Sun Apr 17 14:16:03 2016 -0500 IBNobody
471* 5c98ad59606ee95b82c27bf2525383a9ec88542b Sun Apr 17 20:14:37 2016 -0500 IBNobody
472* e49712b5593b887c8af18aeb7196513f1c7b7bcf Mon Apr 18 21:01:48 2016 -0400 Jack Humbert
473* 620ac4b260fa663d12b11a0b15ac50379523c125 Thu Apr 21 19:35:18 2016 -0700 Eric Tang
474* 83e1cc241e3aabd69f6cdcd2581477d4b85bb8d3 Tue May 3 12:56:40 2016 -0500 IBNobody
475* 41b3e399b1d43db9574c6016951d92974b3d93e7 Thu May 5 21:50:51 2016 -0400 Jack Humbert
476* 1a8c0dd22d6a2255511d0db6a456315541b5815b Sun May 15 00:27:32 2016 -0400 Erez Zukerman
477* fde477a927edc6b4207a6968d44aeed021e8b300 Sun May 15 00:51:06 2016 -0400 Jack Humbert
478* b732b79b49b098dba8e14493c745075f336747d8 Wed May 18 23:47:16 2016 -0400 Jack Humbert
479* 287eb7ad148abc8fe3fb014218d71e205fd9131d Tue May 24 11:56:53 2016 -0400 Jack Humbert
480* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
481* 4d4f7684e684bec319f166121463a88cd4a62703 Fri Jul 1 17:04:53 2016 +0300 fredizzimo
482* 9870082a06386eba8c0c5f22da90d0256ef6244b Thu Jul 7 19:48:39 2016 +0300 Fred Sundvik
483* 8b94e26d7c3b30cc57d710a11e5651d15e8e3b20 Sun Jul 24 22:07:43 2016 -0400 Jack Humbert
484* d8a608f3ff4cb4d73cd57be500fd9881e230099d Thu Dec 29 18:28:48 2016 +1100 Wilba6582
485
486## quantum/light_ws2812.c
487
488* ba9ac457b2159097ecfd9848c5171c52e3a68260 Sun Jan 24 17:05:47 2016 -0800 Yang Liu
489* 57e08eb8badc5db2fb44d2df684f32ea48cce411 Thu Jul 7 11:33:32 2016 -0400 Jack Humbert
490* 5f91fb413624781ac79db641549b9e08753c04b5 Sun Oct 16 16:03:33 2016 -0400 Jack Humbert
491* 33e62c080c9161a0fc921c90ed299a67fc2e1799 Sat Nov 12 20:54:37 2016 -0500 Jack Humbert
492* e9f748751808de2f1e85cf7fb670d78773bd5e76 Sun Nov 13 23:02:38 2016 -0500 Jack Humbert
493* 530dd3377e4d409a7ca2fee7e47b60b735ebc0fa Tue Nov 15 13:18:10 2016 -0500 Jack Humbert
494* 3774a7fcdab5544fc787f4c200be05fcd417e31f Thu Nov 17 17:42:14 2016 -0500 Jack Humbert
495
496## quantum/light_ws2812.h
497
498* ba9ac457b2159097ecfd9848c5171c52e3a68260 Sun Jan 24 17:05:47 2016 -0800 Yang Liu
499* 5f91fb413624781ac79db641549b9e08753c04b5 Sun Oct 16 16:03:33 2016 -0400 Jack Humbert
500* e9f748751808de2f1e85cf7fb670d78773bd5e76 Sun Nov 13 23:02:38 2016 -0500 Jack Humbert
501* 664c0a036b3d7c3ed39f4a7a78d97f4a9cc7d20c Mon Nov 21 19:50:55 2016 -0500 Jack Humbert
502* 06c64bbff3e228df542149acde64eadaf59b9b0f Mon Dec 19 11:18:18 2016 -0500 Jack Humbert
503
504## quantum/matrix.c
505
506* 46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141 Mon Oct 26 14:49:46 2015 -0400 Jack Humbert
507* 35a81f5b8b081e1607a7c04489b01f551c3213cc Mon Oct 26 16:32:37 2015 -0400 Jack Humbert
508* 641859df84bf40025b2c14319d1a168a435562e2 Thu Mar 10 11:28:34 2016 -0500 yoyoerx
509* 684793360cdb08ac1e50a6d27e1796fadd527adb Mon May 9 00:36:23 2016 -0400 Jack Humbert
510* 1a8c0dd22d6a2255511d0db6a456315541b5815b Sun May 15 00:27:32 2016 -0400 Erez Zukerman
511* aaa758f1d3f97dda39879f2b055ad2da9680adfe Mon May 23 20:42:21 2016 -0700 Eric Tang
512* 1ae6011cef2230826a9e6db6c5b638677bc640b7 Tue May 24 08:44:40 2016 -0700 Eric Tang
513* de57799530d3184722532f93d156364067d8fcd5 Sat May 28 11:56:06 2016 -0400 Jack Humbert
514* 008c8d54a0a1a1e908d372d0fe9edb45a2d491e5 Fri Jun 17 22:09:59 2016 -0400 Jack Humbert
515* 13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b Thu Jun 23 22:18:20 2016 -0400 Jack Humbert
516* 215c2119af5281072d5a6efb0308408793cadd08 Wed Jun 29 16:21:41 2016 -0400 Jack Humbert
517* 4d4f7684e684bec319f166121463a88cd4a62703 Fri Jul 1 17:04:53 2016 +0300 fredizzimo
518* 8e88d55bfd7c88cb15845e0c6415e4e892532861 Mon Jul 4 11:45:58 2016 -0400 Jack Humbert
519* 3577e26fd9916ceab58779ec6323d43da54eb3b5 Wed Jul 6 00:24:31 2016 -0400 Jack Humbert
520* 17170ba76d3c94edcf1ab263520238fdb0384774 Sun Oct 23 23:00:43 2016 -0500 IBNobody
521* 508eddf8ba8548d3f71e1c09a404839beb49f45c Fri Oct 28 14:21:38 2016 -0500 IBNobody
522* 4c6960835c0a6e29670dabdc27117d7d3c7f99f5 Fri Oct 28 16:24:20 2016 -0500 IBNobody
523* 32f88c07173b795c6981c779057dceba00aeb1cb Sat Oct 29 10:39:03 2016 -0500 IBNobody
524* f4030289744fc6dc82dd85c955070c0845813cc5 Sat Oct 29 16:12:58 2016 -0500 IBNobody
525* a06115df19a74d39b08758472b221e630c3680d3 Fri Nov 18 23:20:07 2016 -0500 Jack Humbert
526
527## quantum/pincontrol.h
528
529* 8485bb34d2e291db5b6c81f892850da1cdca37ba Sun Nov 27 22:43:11 2016 -0800 Wez Furlong
530
531## quantum/quantum.c
532
533* 1a8c0dd22d6a2255511d0db6a456315541b5815b Sun May 15 00:27:32 2016 -0400 Erez Zukerman
534* 15719f3574c6274ee0f3ec87431927c5a523aa3e Sun May 15 00:40:59 2016 -0400 Jack Humbert
535* bf5c2ccee5497523c214dae7aacdc27fdbb0f235 Sun May 15 00:47:25 2016 -0400 Jack Humbert
536* fde477a927edc6b4207a6968d44aeed021e8b300 Sun May 15 00:51:06 2016 -0400 Jack Humbert
537* 0428214b905e5f8b3bed721885957ce249ba4991 Wed May 18 23:14:00 2016 -0400 Jack Humbert
538* b732b79b49b098dba8e14493c745075f336747d8 Wed May 18 23:47:16 2016 -0400 Jack Humbert
539* 0275d444d77c9d85d2189b09d8813fb76dc4d566 Thu May 19 15:36:28 2016 +0300 purpleP
540* 287eb7ad148abc8fe3fb014218d71e205fd9131d Tue May 24 11:56:53 2016 -0400 Jack Humbert
541* 1237025963484d70bbe5185a790bec6544653ccc Tue May 24 23:27:59 2016 -0400 Erez Zukerman
542* 8bc69afc633d3e199e3ac0a5bf39e4d255f2ce4a Tue May 24 23:48:46 2016 -0400 Erez Zukerman
543* 17977a7e24ddab6ca101341b33c8fe7ad13e68f5 Sat May 28 15:22:30 2016 -0400 Jack Humbert
544* 1c9f33c06a6ef18c9c21e5841180af5ae554c34b Wed Jun 1 22:49:55 2016 -0400 Jack Humbert
545* 4635b4453335b61df11008fa907eef221db5912b Wed Jun 1 23:00:55 2016 -0400 Jack Humbert
546* 794aed37a0da5a277a07e7fa86263e0852fa9f6d Fri Jun 3 12:48:40 2016 -0700 Eric Tang
547* b70248fa2144d297504eedbc80a76dfdc40d9f1f Fri Jun 17 21:42:59 2016 -0400 Jack Humbert
548* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
549* 76076db72545bbb649f11394a12721f61579527f Mon Jun 20 22:36:36 2016 -0400 Jack & Erez
550* 98f0807359cfa78d25442b91ff4c5bbfc5679661 Tue Jun 21 22:55:54 2016 -0400 Jack Humbert
551* 13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b Thu Jun 23 22:18:20 2016 -0400 Jack Humbert
552* b68b722325e1f0f68387e161365fa8e31c79b7b2 Thu Jun 23 23:14:21 2016 -0400 Jack Humbert
553* 65faab3b89245f81c50b029ca178aed175d5f330 Wed Jun 29 17:49:41 2016 -0400 Jack Humbert
554* 197f152dee834a737cd820f2a95d1ade98be4898 Wed Jun 29 18:29:20 2016 -0400 Jack Humbert
555* 60fd885a6e540509baa2193932e15caeaeb8f4c5 Wed Jun 29 18:35:29 2016 -0400 Jack Humbert
556* 4d4f7684e684bec319f166121463a88cd4a62703 Fri Jul 1 17:04:53 2016 +0300 fredizzimo
557* 1412076df68ac00f9a00173977d2826603c12ddf Mon Jul 4 19:56:08 2016 -0700 Smilliam
558* 6b0c9cc905c0985f96a80306cf5fe0d6724b28fc Mon Jul 4 19:58:26 2016 -0700 Smilliam
559* a4bf46f9b1d0a0be0cecb2cd0f0d941aa7c71bd3 Wed Jul 6 22:48:19 2016 -0400 Jack Humbert
560* 50c686587ed49d8079ba1b11d45ceb6a55d6cd4b Thu Jul 7 23:34:33 2016 -0400 TerryMathews
561* f7a86822266603b8ffd21e9f89ec1de8d4950791 Fri Jul 8 03:32:28 2016 -0400 TerryMathews
562* b12fe6abb25db1feca6a7649097a8d1cb67a063f Sun Jul 10 19:04:01 2016 -0700 Smilliam
563* a998a48673372e409991066d7d2d9ba282f79d59 Mon Jul 11 09:14:43 2016 -0400 Jack Humbert
564* a28a6e5b79c819e5f9323f62686498eca3ef399f Wed Jul 13 16:38:02 2016 +0200 Pavlos Vinieratos
565* 857aa5bef6a74f8785a7039feea5286c07bf7067 Sat Aug 13 11:14:42 2016 +0200 Gergely Nagy
566* 644c8c79271db8cf1bd934b9a80a0215585e46e7 Thu Aug 18 01:34:05 2016 +0200 Wojciech Siewierski
567* 0d28787c5cf2173d12f57b397515f91cffaa820a Thu Aug 18 11:29:53 2016 +0200 Gergely Nagy
568* e571d4656cd283ce8d793fe3dd2ac176b84b0bf5 Tue Sep 6 18:02:43 2016 -0500 IBNobody
569* 558f3ec1eb325caf706efc15e2fab26121aba442 Tue Sep 6 23:19:01 2016 -0500 IBNobody
570* 5b2e455d3b71bfb90754930d1f22d3e8ce98b927 Mon Oct 10 00:46:20 2016 +0700 Priyadi Iman Nurcahyo
571* 5f91fb413624781ac79db641549b9e08753c04b5 Sun Oct 16 16:03:33 2016 -0400 Jack Humbert
572* 33e62c080c9161a0fc921c90ed299a67fc2e1799 Sat Nov 12 20:54:37 2016 -0500 Jack Humbert
573* e9f748751808de2f1e85cf7fb670d78773bd5e76 Sun Nov 13 23:02:38 2016 -0500 Jack Humbert
574* ffa5b1e7ea6697acf9ebfcade1149031642f7870 Sat Nov 19 11:32:09 2016 +0100 Gergely Nagy
575* 74a1f00713d1407fb1d2e20d58da93919ab0c221 Sat Nov 19 18:19:18 2016 +0100 Gergely Nagy
576* 664c0a036b3d7c3ed39f4a7a78d97f4a9cc7d20c Mon Nov 21 19:50:55 2016 -0500 Jack Humbert
577* 450a8fb5b61de8166fe21eb4f57e1c00514afe32 Mon Nov 21 20:17:45 2016 -0500 Jack Humbert
578* cefa8468fb5f28bd67a0c02d371a4aef0964e20c Wed Nov 23 20:16:38 2016 -0500 Jack Humbert
579* 7edac212c8ed8442bf4207e70dc8194631b2bf27 Sat Nov 26 15:37:46 2016 -0500 Jack Humbert
580* 01038ab54ca6c2858ea9e856c717a1129ffe4156 Fri Dec 23 21:51:11 2016 +0200 Ofer Plesser
581
582## quantum/quantum.h
583
584* 1a8c0dd22d6a2255511d0db6a456315541b5815b Sun May 15 00:27:32 2016 -0400 Erez Zukerman
585* fde477a927edc6b4207a6968d44aeed021e8b300 Sun May 15 00:51:06 2016 -0400 Jack Humbert
586* 0428214b905e5f8b3bed721885957ce249ba4991 Wed May 18 23:14:00 2016 -0400 Jack Humbert
587* b732b79b49b098dba8e14493c745075f336747d8 Wed May 18 23:47:16 2016 -0400 Jack Humbert
588* 287eb7ad148abc8fe3fb014218d71e205fd9131d Tue May 24 11:56:53 2016 -0400 Jack Humbert
589* de57799530d3184722532f93d156364067d8fcd5 Sat May 28 11:56:06 2016 -0400 Jack Humbert
590* 17977a7e24ddab6ca101341b33c8fe7ad13e68f5 Sat May 28 15:22:30 2016 -0400 Jack Humbert
591* 1c9f33c06a6ef18c9c21e5841180af5ae554c34b Wed Jun 1 22:49:55 2016 -0400 Jack Humbert
592* 794aed37a0da5a277a07e7fa86263e0852fa9f6d Fri Jun 3 12:48:40 2016 -0700 Eric Tang
593* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
594* 98f0807359cfa78d25442b91ff4c5bbfc5679661 Tue Jun 21 22:55:54 2016 -0400 Jack Humbert
595* 13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b Thu Jun 23 22:18:20 2016 -0400 Jack Humbert
596* 65faab3b89245f81c50b029ca178aed175d5f330 Wed Jun 29 17:49:41 2016 -0400 Jack Humbert
597* 197f152dee834a737cd820f2a95d1ade98be4898 Wed Jun 29 18:29:20 2016 -0400 Jack Humbert
598* 8125cdb88ce1201fcfd16ed4c5313222ef4c230c Wed Jun 29 18:36:52 2016 -0400 Jack Humbert
599* 4d4f7684e684bec319f166121463a88cd4a62703 Fri Jul 1 17:04:53 2016 +0300 fredizzimo
600* a28a6e5b79c819e5f9323f62686498eca3ef399f Wed Jul 13 16:38:02 2016 +0200 Pavlos Vinieratos
601* e01b4c3fd9a7b66276ffd22dcac25d569d7bb7ff Sat Jul 9 00:41:15 2016 +0300 Fred Sundvik
602* 0d28787c5cf2173d12f57b397515f91cffaa820a Thu Aug 18 11:29:53 2016 +0200 Gergely Nagy
603* 5f91fb413624781ac79db641549b9e08753c04b5 Sun Oct 16 16:03:33 2016 -0400 Jack Humbert
604* 664c0a036b3d7c3ed39f4a7a78d97f4a9cc7d20c Mon Nov 21 19:50:55 2016 -0500 Jack Humbert
605* cefa8468fb5f28bd67a0c02d371a4aef0964e20c Wed Nov 23 20:16:38 2016 -0500 Jack Humbert
606* 7edac212c8ed8442bf4207e70dc8194631b2bf27 Sat Nov 26 15:37:46 2016 -0500 Jack Humbert
607
608## quantum/quantum_keycodes.h
609
610* d8a608f3ff4cb4d73cd57be500fd9881e230099d Thu Dec 29 18:28:48 2016 +1100 Wilba6582
611* 8459bb97c1e8bcb9ccce55a1ed849d373bd7706c Wed Jan 11 21:57:41 2017 -0500 Erez Zukerman
612* 3717cf5864d6505e406b5eb75f315e6dc2392912 Thu Jan 12 07:38:07 2017 -0500 Erez Zukerman
613* 7288e5ab9c005a7b035d91e68358aa2b6a12420c Fri Jan 13 14:04:51 2017 -0500 Jack Humbert
614
615## quantum/rgblight.c
616
617* ba9ac457b2159097ecfd9848c5171c52e3a68260 Sun Jan 24 17:05:47 2016 -0800 Yang Liu
618* 2647c7cd84820a833b85e41ea86caf76b36e6ee1 Sun Jan 24 17:19:33 2016 -0800 Yang Liu
619* 97f8f378761506914b69d4fd2d5661bfcae28295 Sun Apr 10 21:16:49 2016 -0700 skullY
620* 620ac4b260fa663d12b11a0b15ac50379523c125 Thu Apr 21 19:35:18 2016 -0700 Eric Tang
621* c37d52d2137acf5739c481cc0c8917ad6fd77161 Tue Apr 26 13:48:36 2016 -0400 Jack Humbert
622* e024c11f7a849a38e478cda9fb9939a838cfa2e0 Tue Apr 26 13:50:04 2016 -0400 Jack Humbert
623* 80c87054193b9243670aeb85adefbe1aa6c0fda0 Tue Jun 21 12:53:21 2016 -0400 Jack Humbert
624* 57e08eb8badc5db2fb44d2df684f32ea48cce411 Thu Jul 7 11:33:32 2016 -0400 Jack Humbert
625* 3a860c4bc210857f03ef9fae5043d6d5736d140d Tue Jul 26 14:43:45 2016 -0500 Jordi Orlando
626* 899c88cd8bf024792760fcf3ee8be6fed13fb315 Tue Jul 26 14:46:30 2016 -0500 Jordi Orlando
627* ea2d2f5d5841791745c93ef27cd1528a7fd69c97 Tue Jul 26 15:31:22 2016 -0500 Jordi Orlando
628* b8679bbe045a2285d6ab6bbc420121b26f516b9a Wed Oct 5 20:41:33 2016 -0400 Jack Humbert
629* 9b0e21f87f446935f29254bb623c2cfe29472b6e Sun Oct 9 19:26:16 2016 +0300 Fred Sundvik
630* 92a3a96849aee708753a6623b0db228023e3baf8 Sun Oct 9 19:47:05 2016 +0300 Fred Sundvik
631* ffae9d84c5279b463da112ee15568d536649b819 Sun Oct 9 19:53:41 2016 +0300 Fred Sundvik
632* 03b6fcdaf034392e27752a9bd2c11de06a166e39 Mon Oct 10 00:20:24 2016 -0400 Jack Humbert
633* 33e62c080c9161a0fc921c90ed299a67fc2e1799 Sat Nov 12 20:54:37 2016 -0500 Jack Humbert
634* e9f748751808de2f1e85cf7fb670d78773bd5e76 Sun Nov 13 23:02:38 2016 -0500 Jack Humbert
635* 3774a7fcdab5544fc787f4c200be05fcd417e31f Thu Nov 17 17:42:14 2016 -0500 Jack Humbert
636* 285c5a91f23e972d9c579184283443111186329d Thu Nov 17 20:56:36 2016 -0500 Erez Zukerman
637* 2e23689b8e3222982082c1f5a4f8ce7686f9658b Wed Nov 23 18:52:02 2016 -0500 Jack Humbert
638* 4094544d41450617bc21ab58646603b8964eae0e Tue Nov 29 09:23:16 2016 -0500 Erez Zukerman
639* cae269b08b642b07ee06dec7120a784a3c3d7aab Fri Dec 23 10:29:19 2016 -0500 Jack Humbert
640* 748181dccddb8c9fa52a776f4fcd904ddca9aa31 Wed Dec 28 16:29:02 2016 -0500 Scott Wilson
641* b8e74c378b1f118178edf0634d9fa7f0f9dd5e08 Thu Dec 29 09:32:02 2016 -0500 Scott Wilson
642
643## quantum/rgblight.h
644
645* ba9ac457b2159097ecfd9848c5171c52e3a68260 Sun Jan 24 17:05:47 2016 -0800 Yang Liu
646* 2647c7cd84820a833b85e41ea86caf76b36e6ee1 Sun Jan 24 17:19:33 2016 -0800 Yang Liu
647* 620ac4b260fa663d12b11a0b15ac50379523c125 Thu Apr 21 19:35:18 2016 -0700 Eric Tang
648* 80c87054193b9243670aeb85adefbe1aa6c0fda0 Tue Jun 21 12:53:21 2016 -0400 Jack Humbert
649* 57e08eb8badc5db2fb44d2df684f32ea48cce411 Thu Jul 7 11:33:32 2016 -0400 Jack Humbert
650* b8679bbe045a2285d6ab6bbc420121b26f516b9a Wed Oct 5 20:41:33 2016 -0400 Jack Humbert
651* 9b0e21f87f446935f29254bb623c2cfe29472b6e Sun Oct 9 19:26:16 2016 +0300 Fred Sundvik
652* 33e62c080c9161a0fc921c90ed299a67fc2e1799 Sat Nov 12 20:54:37 2016 -0500 Jack Humbert
653* e9f748751808de2f1e85cf7fb670d78773bd5e76 Sun Nov 13 23:02:38 2016 -0500 Jack Humbert
654* 3774a7fcdab5544fc787f4c200be05fcd417e31f Thu Nov 17 17:42:14 2016 -0500 Jack Humbert
655* 285c5a91f23e972d9c579184283443111186329d Thu Nov 17 20:56:36 2016 -0500 Erez Zukerman
656* 2e23689b8e3222982082c1f5a4f8ce7686f9658b Wed Nov 23 18:52:02 2016 -0500 Jack Humbert
657* 4094544d41450617bc21ab58646603b8964eae0e Tue Nov 29 09:23:16 2016 -0500 Erez Zukerman
658* cae269b08b642b07ee06dec7120a784a3c3d7aab Fri Dec 23 10:29:19 2016 -0500 Jack Humbert
659* 748181dccddb8c9fa52a776f4fcd904ddca9aa31 Wed Dec 28 16:29:02 2016 -0500 Scott Wilson
660
661## quantum/variable_trace.c
662
663* f519b94be7086852f2afe4ec248786b47968f7ff Sun Nov 6 21:57:26 2016 +0200 Fred Sundvik
664* a377017c95b826d83ac7a46ef176d39a58294b44 Sun Nov 6 22:11:24 2016 +0200 Fred Sundvik
665
666## quantum/variable_trace.h
667
668* a377017c95b826d83ac7a46ef176d39a58294b44 Sun Nov 6 22:11:24 2016 +0200 Fred Sundvik
669* 0ba3e523a7c124e4ce54dfd043dc32e72ad3233b Sun Nov 6 22:44:43 2016 +0200 Fred Sundvik
670
671## quantum/version.h
672
673* None None None
674
675## quantum/api/api_sysex.c
676
677* 7edac212c8ed8442bf4207e70dc8194631b2bf27 Sat Nov 26 15:37:46 2016 -0500 Jack Humbert
678* dd685eceb2045371d38f24d454f1ab08ca7416f4 Thu Dec 29 12:13:30 2016 +0200 Fred Sundvik
679
680## quantum/api/api_sysex.h
681
682* 7edac212c8ed8442bf4207e70dc8194631b2bf27 Sat Nov 26 15:37:46 2016 -0500 Jack Humbert
683
684## quantum/audio/audio.c
685
686* 73228f5e5d1d4cd31a46e5e93aa893a8f727e3b9 Thu Apr 21 00:37:45 2016 -0400 Jack Humbert
687* 620ac4b260fa663d12b11a0b15ac50379523c125 Thu Apr 21 19:35:18 2016 -0700 Eric Tang
688* 83e1cc241e3aabd69f6cdcd2581477d4b85bb8d3 Tue May 3 12:56:40 2016 -0500 IBNobody
689* 3f02637f4dd765803671c2611191beb096d60b36 Mon May 9 13:17:15 2016 -0400 Jack Humbert
690* 15719f3574c6274ee0f3ec87431927c5a523aa3e Sun May 15 00:40:59 2016 -0400 Jack Humbert
691* 0428214b905e5f8b3bed721885957ce249ba4991 Wed May 18 23:14:00 2016 -0400 Jack Humbert
692* 287eb7ad148abc8fe3fb014218d71e205fd9131d Tue May 24 11:56:53 2016 -0400 Jack Humbert
693* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
694* 06c64bbff3e228df542149acde64eadaf59b9b0f Mon Dec 19 11:18:18 2016 -0500 Jack Humbert
695
696## quantum/audio/audio.h
697
698* 73228f5e5d1d4cd31a46e5e93aa893a8f727e3b9 Thu Apr 21 00:37:45 2016 -0400 Jack Humbert
699* 082a0f313d8c842a5de7bae30ec8a3597e35880b Fri Apr 22 00:01:38 2016 -0500 IBNobody
700* 83e1cc241e3aabd69f6cdcd2581477d4b85bb8d3 Tue May 3 12:56:40 2016 -0500 IBNobody
701* 3f02637f4dd765803671c2611191beb096d60b36 Mon May 9 13:17:15 2016 -0400 Jack Humbert
702* 15719f3574c6274ee0f3ec87431927c5a523aa3e Sun May 15 00:40:59 2016 -0400 Jack Humbert
703* 0428214b905e5f8b3bed721885957ce249ba4991 Wed May 18 23:14:00 2016 -0400 Jack Humbert
704* 287eb7ad148abc8fe3fb014218d71e205fd9131d Tue May 24 11:56:53 2016 -0400 Jack Humbert
705* 215c2119af5281072d5a6efb0308408793cadd08 Wed Jun 29 16:21:41 2016 -0400 Jack Humbert
706
707## quantum/audio/audio_pwm.c
708
709* 83e1cc241e3aabd69f6cdcd2581477d4b85bb8d3 Tue May 3 12:56:40 2016 -0500 IBNobody
710* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
711
712## quantum/audio/luts.c
713
714* 83e1cc241e3aabd69f6cdcd2581477d4b85bb8d3 Tue May 3 12:56:40 2016 -0500 IBNobody
715
716## quantum/audio/luts.h
717
718* 83e1cc241e3aabd69f6cdcd2581477d4b85bb8d3 Tue May 3 12:56:40 2016 -0500 IBNobody
719
720## quantum/audio/musical_notes.h
721
722* 73228f5e5d1d4cd31a46e5e93aa893a8f727e3b9 Thu Apr 21 00:37:45 2016 -0400 Jack Humbert
723
724## quantum/audio/song_list.h
725
726* 73228f5e5d1d4cd31a46e5e93aa893a8f727e3b9 Thu Apr 21 00:37:45 2016 -0400 Jack Humbert
727* 7d0345ef25b5e1924f1e98c76d78607778e0b17d Sat Jul 30 01:52:33 2016 -0700 JeeBak Kim
728
729## quantum/audio/voices.c
730
731* 73228f5e5d1d4cd31a46e5e93aa893a8f727e3b9 Thu Apr 21 00:37:45 2016 -0400 Jack Humbert
732* e89b806b850ad1b5484176664288b71b0131683e Thu Apr 21 00:40:00 2016 -0400 Jack Humbert
733* 9828aba2a12f03fccbc1095bc8e4918ae58fa31b Thu Apr 21 18:14:25 2016 -0400 Jack Humbert
734* 7b3f212500210ae85063b043952b5b3ef6988ad6 Thu Apr 21 23:10:47 2016 -0400 Jack Humbert
735* 082a0f313d8c842a5de7bae30ec8a3597e35880b Fri Apr 22 00:01:38 2016 -0500 IBNobody
736* b1900c8dde2a68e87aaabd84280a99bf6658ea9f Fri Apr 22 01:02:50 2016 -0400 Jack Humbert
737* a8086126fecbdce1c192036cf1011329d406949d Fri Apr 22 01:04:13 2016 -0400 Jack Humbert
738* a718c53fe77f0b3b4361c850531eee5f23e3e13d Fri Apr 22 11:58:29 2016 -0400 Jack Humbert
739* e7b6bb641c0636c01e3781fe51865fdb20014eeb Mon Apr 25 00:59:47 2016 -0400 Jack Humbert
740* 140b97a1cd226432a8ec647004943698e3d87f0b Tue Apr 26 01:16:47 2016 -0400 Jack Humbert
741* 66e0323881a5a3da65e14daeec41a1e9cfbda431 Fri Apr 29 12:42:55 2016 -0400 Jack Humbert
742* 83e1cc241e3aabd69f6cdcd2581477d4b85bb8d3 Tue May 3 12:56:40 2016 -0500 IBNobody
743* 0edfe55bfe4afd037918ff73e49552a28f39a5ca Mon Dec 12 15:39:07 2016 -0500 Jack Humbert
744* 06c64bbff3e228df542149acde64eadaf59b9b0f Mon Dec 19 11:18:18 2016 -0500 Jack Humbert
745* 438a5d685bb7b726ff59109ce4229eca6303cd8e Tue Dec 20 19:38:22 2016 -0500 Jack Humbert
746* 2fa36e38cf28f07ad4a4d74722486921fa7b8706 Wed Dec 21 00:22:32 2016 -0500 Jack Humbert
747
748## quantum/audio/voices.h
749
750* 73228f5e5d1d4cd31a46e5e93aa893a8f727e3b9 Thu Apr 21 00:37:45 2016 -0400 Jack Humbert
751* e89b806b850ad1b5484176664288b71b0131683e Thu Apr 21 00:40:00 2016 -0400 Jack Humbert
752* 9828aba2a12f03fccbc1095bc8e4918ae58fa31b Thu Apr 21 18:14:25 2016 -0400 Jack Humbert
753* 7b3f212500210ae85063b043952b5b3ef6988ad6 Thu Apr 21 23:10:47 2016 -0400 Jack Humbert
754* 082a0f313d8c842a5de7bae30ec8a3597e35880b Fri Apr 22 00:01:38 2016 -0500 IBNobody
755* b1900c8dde2a68e87aaabd84280a99bf6658ea9f Fri Apr 22 01:02:50 2016 -0400 Jack Humbert
756* a8086126fecbdce1c192036cf1011329d406949d Fri Apr 22 01:04:13 2016 -0400 Jack Humbert
757* a718c53fe77f0b3b4361c850531eee5f23e3e13d Fri Apr 22 11:58:29 2016 -0400 Jack Humbert
758* e7b6bb641c0636c01e3781fe51865fdb20014eeb Mon Apr 25 00:59:47 2016 -0400 Jack Humbert
759* 140b97a1cd226432a8ec647004943698e3d87f0b Tue Apr 26 01:16:47 2016 -0400 Jack Humbert
760* 83e1cc241e3aabd69f6cdcd2581477d4b85bb8d3 Tue May 3 12:56:40 2016 -0500 IBNobody
761* 0edfe55bfe4afd037918ff73e49552a28f39a5ca Mon Dec 12 15:39:07 2016 -0500 Jack Humbert
762* 06c64bbff3e228df542149acde64eadaf59b9b0f Mon Dec 19 11:18:18 2016 -0500 Jack Humbert
763* 438a5d685bb7b726ff59109ce4229eca6303cd8e Tue Dec 20 19:38:22 2016 -0500 Jack Humbert
764
765## quantum/audio/wave.h
766
767* 73228f5e5d1d4cd31a46e5e93aa893a8f727e3b9 Thu Apr 21 00:37:45 2016 -0400 Jack Humbert
768
769## quantum/keymap_extras/keymap_bepo.h
770
771* 7c33f8493fb4ecd664390232c8de856158f9fcae Sun Feb 7 19:29:49 2016 +0100 Didier Loiseau
772* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
773* 7b4d30ee50aa534a973473c715924964991739f0 Sun Jul 24 10:57:49 2016 +0200 Vivien Alger
774
775## quantum/keymap_extras/keymap_br_abnt2.h
776
777* 7aa31ad338325477199f752ac3e344a6ab9b27d0 Tue Nov 8 13:32:04 2016 -0200 Potiguar Faga
778
779## quantum/keymap_extras/keymap_canadian_multilingual.h
780
781* a7cef2ca0a2322448d02008337013936b1d550ec Wed Feb 17 21:45:38 2016 +0100 Didier Loiseau
782* 7840e69bfaee1d67de273c235b532d6f20c905a9 Thu Feb 18 00:47:23 2016 +0100 Didier Loiseau
783* 911222892ecb1c01551e0abdfbe98ed1dbf82139 Fri Feb 26 00:55:39 2016 +0100 Didier Loiseau
784* 3a91ddb0745ae0f52007984793ea1b48abb2098c Tue Mar 1 22:59:38 2016 +0100 Didier Loiseau
785* aa5eb49edd993e2abe3adf814e030fcdda4a3596 Wed Mar 2 00:22:41 2016 +0100 Didier Loiseau
786* 1aeb59335f2fe67613df25308a630ca453975ac0 Sun Sep 11 02:19:55 2016 +0200 Didier Loiseau
787
788## quantum/keymap_extras/keymap_colemak.h
789
790* 46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141 Mon Oct 26 14:49:46 2015 -0400 Jack Humbert
791* 39915b1748cefd99f841fa03b7f6e7c20439fbcf Thu Oct 29 15:12:51 2015 -0400 Jack Humbert
792* 3c683aa9f23288ddada760fb49abcc5fa7324f5e Fri Feb 5 16:28:24 2016 +0200 Erez Zukerman
793* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
794
795## quantum/keymap_extras/keymap_dvorak.h
796
797* 46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141 Mon Oct 26 14:49:46 2015 -0400 Jack Humbert
798* 233af3a41c69d456583bfcfd897233b9c117caa6 Mon Feb 22 13:06:26 2016 -0500 Keller-Laminar
799* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
800* 4278d8861526ed285d9d00badcdc8c121454be60 Thu Jul 14 11:32:43 2016 -0500 Jonathan A. Kollasch
801* f0021c9cb9e30d47d5a3ab5ec75e59e626c3d244 Mon Sep 19 14:25:44 2016 -0500 Jonathan A. Kollasch
802
803## quantum/keymap_extras/keymap_dvp.h
804
805* 6e003b1e3fa844cfde0069004e755aae7a9539f3 Wed Oct 19 23:45:55 2016 +0300 Artyom Mironov
806
807## quantum/keymap_extras/keymap_fr_ch.h
808
809* 1934e8a270820ff6f08c95f4399b26162623e4e0 Sat Feb 20 14:01:28 2016 +0100 Vincent Pochet
810* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
811* 25938a09a6bfb2624bc96841b53897eda532e293 Thu Jul 14 11:13:35 2016 -0500 Jonathan A. Kollasch
812
813## quantum/keymap_extras/keymap_french.h
814
815* 46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141 Mon Oct 26 14:49:46 2015 -0400 Jack Humbert
816* 4a19cc054dc7aeb0a35613d608143bf51fa791cc Sat Feb 27 15:22:54 2016 +0100 Kévin Letord
817* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
818* 010dd1308420e25b327fa4d5d6b13f67a849408b Thu Jul 14 11:04:25 2016 -0500 Jonathan A. Kollasch
819* 25938a09a6bfb2624bc96841b53897eda532e293 Thu Jul 14 11:13:35 2016 -0500 Jonathan A. Kollasch
820
821## quantum/keymap_extras/keymap_french_osx.h
822
823* 48eff6dd89672c6c71afd8a3d1cdc5d35b0bf768 Tue Jan 5 10:49:36 2016 +0100 Sébastien Pérochon
824* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
825
826## quantum/keymap_extras/keymap_german.h
827
828* 3dbcad51d1217b32c3c17917c2646fa7a9a9165b Sat Dec 19 01:22:12 2015 +0100 Matthias Schmitt
829* da09312dd56e3b085fb217cc7cc2abf06f401992 Tue Jan 19 20:04:08 2016 +0100 plgruener
830* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
831* 25938a09a6bfb2624bc96841b53897eda532e293 Thu Jul 14 11:13:35 2016 -0500 Jonathan A. Kollasch
832
833## quantum/keymap_extras/keymap_german_ch.h
834
835* 465aabe11dbd673fb4c68ecbffbfb062273def1a Wed May 18 21:22:04 2016 +0200 heartsekai
836* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
837* 25938a09a6bfb2624bc96841b53897eda532e293 Thu Jul 14 11:13:35 2016 -0500 Jonathan A. Kollasch
838
839## quantum/keymap_extras/keymap_german_osx.h
840
841* e44c30f2030dd4c481a6e38e9392f147be7b0ae2 Fri Jan 15 15:55:00 2016 +0100 Stephan Bösebeck
842* bfc6eca44aeb3ad22a1c37206005dcfe617431cd Mon Mar 14 13:35:34 2016 +0100 Daniel Kriesten
843* dbd4ab3457dd001ab4bbcec14315047b815f7dfe Thu Mar 31 23:15:59 2016 +0200 Stephan Bösebeck
844* 6d40f7c5060f608068b0c4fc90871687c70b4f05 Sun Apr 17 22:19:47 2016 +0200 Stephan Bösebeck
845* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
846* 1a0bac8bccf0e156d2f3c5f14a7214f9677b6370 Tue Jun 21 17:42:29 2016 -0400 Jack Humbert
847
848## quantum/keymap_extras/keymap_jp.h
849
850* 2febf9b9f7d610fc2eca666a842272cb90a87919 Tue Nov 22 20:40:12 2016 +0900 h-youhei
851
852## quantum/keymap_extras/keymap_neo2.h
853
854* 7b7870bae178c80138be5c587238fdedeb837df9 Sat Dec 19 01:41:23 2015 +0100 Matthias Schmitt
855* 4ca43225011ac94bd0a7976baf7f84059274dfbf Fri Feb 19 21:04:30 2016 +0100 plgruener
856* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
857* e329729d3a11b5798f4e2b9f65ac9bc2dcc84a9e Tue Jun 21 18:32:28 2016 -0400 Jack Humbert
858
859## quantum/keymap_extras/keymap_nordic.h
860
861* 46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141 Mon Oct 26 14:49:46 2015 -0400 Jack Humbert
862* c29ad125a7a58d5a2ced0a619165204136da9019 Fri Feb 5 01:50:54 2016 +0100 Fernando Mendonca
863* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
864* 25938a09a6bfb2624bc96841b53897eda532e293 Thu Jul 14 11:13:35 2016 -0500 Jonathan A. Kollasch
865* 283ebbe14298fe75128765fa42c46f02534fb761 Mon Jul 25 12:50:27 2016 +0200 Andreas Lindhé
866* 555e41d9e5f8d393637898e2c77c64066b648245 Fri Dec 2 13:03:51 2016 -0500 Erez Zukerman
867
868## quantum/keymap_extras/keymap_norwegian.h
869
870* e329729d3a11b5798f4e2b9f65ac9bc2dcc84a9e Tue Jun 21 18:32:28 2016 -0400 Jack Humbert
871* b6fa762234fb5a3590d0ff91ffdf5aa3ae322c8f Mon Jul 25 11:29:54 2016 +0200 Andreas Lindhé
872
873## quantum/keymap_extras/keymap_plover.h
874
875* 7ccfaf750d08bdb3a25ef2869cac251b7cd4d3ad Sat Apr 23 18:49:10 2016 +0100 James ‘Twey’ Kay
876* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
877
878## quantum/keymap_extras/keymap_russian.h
879
880* c5ee24a6c3ea39e9725dfc276c92d5bce726ca78 Sun Aug 7 11:01:12 2016 -0500 kuel
881* 2a0121a78643b1dc774d82352f8c9e246010803e Sun Aug 7 11:07:38 2016 -0500 kuel
882
883## quantum/keymap_extras/keymap_spanish.h
884
885* 46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141 Mon Oct 26 14:49:46 2015 -0400 Jack Humbert
886* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
887* 132c04746910f7230b63ed33717c4ed65599ed1b Sat Jul 2 10:26:04 2016 +0200 Rubén Díaz-Jorge
888* 25938a09a6bfb2624bc96841b53897eda532e293 Thu Jul 14 11:13:35 2016 -0500 Jonathan A. Kollasch
889
890## quantum/keymap_extras/keymap_uk.h
891
892* 46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141 Mon Oct 26 14:49:46 2015 -0400 Jack Humbert
893* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
894* 010dd1308420e25b327fa4d5d6b13f67a849408b Thu Jul 14 11:04:25 2016 -0500 Jonathan A. Kollasch
895* 25938a09a6bfb2624bc96841b53897eda532e293 Thu Jul 14 11:13:35 2016 -0500 Jonathan A. Kollasch
896
897## quantum/keymap_extras/keymap_unicode_cyrillic.h
898
899* c5ee24a6c3ea39e9725dfc276c92d5bce726ca78 Sun Aug 7 11:01:12 2016 -0500 kuel
900
901## quantum/process_keycode/process_chording.c
902
903* 65faab3b89245f81c50b029ca178aed175d5f330 Wed Jun 29 17:49:41 2016 -0400 Jack Humbert
904
905## quantum/process_keycode/process_chording.h
906
907* 65faab3b89245f81c50b029ca178aed175d5f330 Wed Jun 29 17:49:41 2016 -0400 Jack Humbert
908
909## quantum/process_keycode/process_leader.c
910
911* 65faab3b89245f81c50b029ca178aed175d5f330 Wed Jun 29 17:49:41 2016 -0400 Jack Humbert
912
913## quantum/process_keycode/process_leader.h
914
915* 65faab3b89245f81c50b029ca178aed175d5f330 Wed Jun 29 17:49:41 2016 -0400 Jack Humbert
916
917## quantum/process_keycode/process_midi.c
918
919* 65faab3b89245f81c50b029ca178aed175d5f330 Wed Jun 29 17:49:41 2016 -0400 Jack Humbert
920* 8b94e26d7c3b30cc57d710a11e5651d15e8e3b20 Sun Jul 24 22:07:43 2016 -0400 Jack Humbert
921* 8d99140d1b80bf497b2198138d3f481e93b0fbab Thu Sep 29 14:46:10 2016 -0500 Adam Gausmann
922
923## quantum/process_keycode/process_midi.h
924
925* 65faab3b89245f81c50b029ca178aed175d5f330 Wed Jun 29 17:49:41 2016 -0400 Jack Humbert
926
927## quantum/process_keycode/process_music.c
928
929* 65faab3b89245f81c50b029ca178aed175d5f330 Wed Jun 29 17:49:41 2016 -0400 Jack Humbert
930* 3ea738e450e9326b0d3ee4192da881cffb4c13c1 Sun Jul 24 10:00:39 2016 -0400 Robert Dale
931* ae95834f5af7404c04e6fe3446019046278d814b Mon Dec 12 16:06:41 2016 -0500 Jack Humbert
932* 273faa4d9cd5a84207548f83ba550c9efee90933 Fri Dec 23 20:59:00 2016 -0500 Jack Humbert
933* 841d7e6a1d74b1fc45575ed551132ec27353ebf3 Mon Jan 23 13:55:24 2017 -0500 Jack Humbert
934
935## quantum/process_keycode/process_music.h
936
937* 65faab3b89245f81c50b029ca178aed175d5f330 Wed Jun 29 17:49:41 2016 -0400 Jack Humbert
938
939## quantum/process_keycode/process_printer.c
940
941* a889b899e2cf52b3b7807d8a7ad39f12e0761a10 Sun Oct 16 16:03:56 2016 -0400 Jack Humbert
942
943## quantum/process_keycode/process_printer.h
944
945* a889b899e2cf52b3b7807d8a7ad39f12e0761a10 Sun Oct 16 16:03:56 2016 -0400 Jack Humbert
946
947## quantum/process_keycode/process_printer_bb.c
948
949* a889b899e2cf52b3b7807d8a7ad39f12e0761a10 Sun Oct 16 16:03:56 2016 -0400 Jack Humbert
950
951## quantum/process_keycode/process_tap_dance.c
952
953* 65faab3b89245f81c50b029ca178aed175d5f330 Wed Jun 29 17:49:41 2016 -0400 Jack Humbert
954* 1a7e954f9fc4d250ba1ae46e3bfc168aca2b5cce Wed Jul 13 00:20:28 2016 +0200 Pavlos Vinieratos
955* f3b56701ed7e6c622dc48e429780124ba5fde172 Wed Jul 13 16:47:45 2016 +0200 Pavlos Vinieratos
956* d3091faf363afc8fef73ddf4948f872439b0e827 Fri Jul 15 23:54:08 2016 +0200 Pavlos Vinieratos
957* dda2fd6ff3984ed96f8275c661b47a0484f9ee18 Mon Jul 18 23:34:02 2016 +0200 Pavlos Vinieratos
958* d5daec2a58019ebdb9804787e0f786e4fc3c05b9 Tue Jul 19 18:00:59 2016 +0200 Pavlos Vinieratos
959* 4e6a8627d8ebd7af942f68142d1a959d60361d90 Tue Jul 19 18:02:13 2016 +0200 Pavlos Vinieratos
960* 70e42489dec375e558d8e81ed5ebfb69b4f3dbd9 Wed Jul 20 10:22:52 2016 +0200 Gergely Nagy
961* ce8cc9219fca5dde077f1142d03d011b38d27479 Wed Jul 20 11:34:45 2016 +0200 Gergely Nagy
962* 44e16ffc80620b61eaa17aedcfdd8233d9c99bd9 Wed Jul 20 11:49:59 2016 +0200 Gergely Nagy
963* b21e8b97acb722bfa7b85831cfd010716ed77962 Wed Jul 27 08:42:09 2016 +0200 Gergely Nagy
964* d78058cc75a9b05a6885991506d5f807ebb2a9f9 Wed Aug 17 10:28:08 2016 +0200 Gergely Nagy
965* 29f64d7a93d941167c6c6e95f893ab84586b2205 Wed Aug 17 13:04:50 2016 +0200 Gergely Nagy
966* 0d28787c5cf2173d12f57b397515f91cffaa820a Thu Aug 18 11:29:53 2016 +0200 Gergely Nagy
967* acda2b793f69c6e0e9b9667e9ebe8a0325eb5ecd Thu Sep 1 08:32:47 2016 +0200 Gergely Nagy
968* e1f131db8e59c6ed3471906d3a62457d593f51af Wed Sep 21 10:11:42 2016 +0200 Pavlos Vinieratos
969
970## quantum/process_keycode/process_tap_dance.h
971
972* 65faab3b89245f81c50b029ca178aed175d5f330 Wed Jun 29 17:49:41 2016 -0400 Jack Humbert
973* f3b56701ed7e6c622dc48e429780124ba5fde172 Wed Jul 13 16:47:45 2016 +0200 Pavlos Vinieratos
974* d3091faf363afc8fef73ddf4948f872439b0e827 Fri Jul 15 23:54:08 2016 +0200 Pavlos Vinieratos
975* 70e42489dec375e558d8e81ed5ebfb69b4f3dbd9 Wed Jul 20 10:22:52 2016 +0200 Gergely Nagy
976* ce8cc9219fca5dde077f1142d03d011b38d27479 Wed Jul 20 11:34:45 2016 +0200 Gergely Nagy
977* b21e8b97acb722bfa7b85831cfd010716ed77962 Wed Jul 27 08:42:09 2016 +0200 Gergely Nagy
978* 29f64d7a93d941167c6c6e95f893ab84586b2205 Wed Aug 17 13:04:50 2016 +0200 Gergely Nagy
979* 0edc82f0300924394324e2f3c4d2f8f0008439db Wed Sep 21 11:29:34 2016 +0200 Pavlos Vinieratos
980* cda4b534fa4921c2d8f9884aa6a144333e7b07c4 Wed Sep 21 11:29:43 2016 +0200 Pavlos Vinieratos
981
982## quantum/process_keycode/process_unicode.c
983
984* 65faab3b89245f81c50b029ca178aed175d5f330 Wed Jun 29 17:49:41 2016 -0400 Jack Humbert
985* 8bdf745909bc2581491acce11225f56a85bc8f24 Sat Aug 13 10:33:47 2016 +0200 Gergely Nagy
986* 63e5782d2cdf0ee282ad434c773463d9da9db6b3 Sat Aug 13 10:43:22 2016 +0200 Gergely Nagy
987* fa06a163607e8c6c4bd0968c2de96a9a298b777c Sat Aug 13 10:46:38 2016 +0200 Gergely Nagy
988* 0b6861827faea747345ea38202d64c8004ab128c Sat Aug 13 11:11:22 2016 +0200 Gergely Nagy
989* 857aa5bef6a74f8785a7039feea5286c07bf7067 Sat Aug 13 11:14:42 2016 +0200 Gergely Nagy
990* 234dd276cf03be6fd6961473e9d9c8f35deec682 Sun Aug 14 10:37:51 2016 +0200 Gergely Nagy
991* a312cbf712764277e0dbbbb99410c2f6fc6c7484 Sun Aug 14 14:34:52 2016 +0200 Gergely Nagy
992* 43d08629cf275d0b32281ffe8785258fff226b49 Mon Aug 15 10:02:05 2016 +0200 Gergely Nagy
993* e8845f0daf8dc7a7674dc5420cc5a684bbbea09b Mon Aug 15 10:07:13 2016 +0200 Gergely Nagy
994* dffdeb50b79d3c623e2ed9fd1c1d82d6d0ae7bf0 Sun Aug 21 20:25:19 2016 +0200 coderkun
995* 81594c7883deefedbcd317c72c1b1f1d32e65cd7 Sun Aug 21 21:02:18 2016 +0200 coderkun
996* a058ae40e268b34ba5db45f5fd5d557d50fa5437 Wed Aug 24 15:39:23 2016 +0200 Gergely Nagy
997* c9ea236fc35d350c0ff33de0af84d3dee7d0eb95 Wed Aug 31 08:21:52 2016 +0200 Gergely Nagy
998* a3f5a4cf5839fe29dd37400d72c5e353812002f8 Sun Oct 2 10:35:09 2016 +0200 coderkun
999* 5b2e455d3b71bfb90754930d1f22d3e8ce98b927 Mon Oct 10 00:46:20 2016 +0700 Priyadi Iman Nurcahyo
1000* e7d5dc89f2890007d776f6b613dc9deb473cff22 Sun Oct 23 05:36:26 2016 +0700 Priyadi Iman Nurcahyo
1001* 4a666c201007eacf13a9031e3c9b156e2e04afe6 Sun Oct 23 19:15:33 2016 +0700 Priyadi Iman Nurcahyo
1002* 8d60354d5a116b6cb1fc32eac7461eb125543c7d Wed Oct 26 00:48:44 2016 -0400 Jack Humbert
1003* 30b80a23f3cafd846937b37b249f2df4411e1f5a Mon Jan 9 02:59:10 2017 +0700 Priyadi Iman Nurcahyo
1004
1005## quantum/process_keycode/process_unicode.h
1006
1007* 65faab3b89245f81c50b029ca178aed175d5f330 Wed Jun 29 17:49:41 2016 -0400 Jack Humbert
1008* 63e5782d2cdf0ee282ad434c773463d9da9db6b3 Sat Aug 13 10:43:22 2016 +0200 Gergely Nagy
1009* fa06a163607e8c6c4bd0968c2de96a9a298b777c Sat Aug 13 10:46:38 2016 +0200 Gergely Nagy
1010* 857aa5bef6a74f8785a7039feea5286c07bf7067 Sat Aug 13 11:14:42 2016 +0200 Gergely Nagy
1011* 234dd276cf03be6fd6961473e9d9c8f35deec682 Sun Aug 14 10:37:51 2016 +0200 Gergely Nagy
1012* a312cbf712764277e0dbbbb99410c2f6fc6c7484 Sun Aug 14 14:34:52 2016 +0200 Gergely Nagy
1013* 43d08629cf275d0b32281ffe8785258fff226b49 Mon Aug 15 10:02:05 2016 +0200 Gergely Nagy
1014* e8845f0daf8dc7a7674dc5420cc5a684bbbea09b Mon Aug 15 10:07:13 2016 +0200 Gergely Nagy
1015* a058ae40e268b34ba5db45f5fd5d557d50fa5437 Wed Aug 24 15:39:23 2016 +0200 Gergely Nagy
1016* c9ea236fc35d350c0ff33de0af84d3dee7d0eb95 Wed Aug 31 08:21:52 2016 +0200 Gergely Nagy
1017* 5b2e455d3b71bfb90754930d1f22d3e8ce98b927 Mon Oct 10 00:46:20 2016 +0700 Priyadi Iman Nurcahyo
1018* 4a666c201007eacf13a9031e3c9b156e2e04afe6 Sun Oct 23 19:15:33 2016 +0700 Priyadi Iman Nurcahyo
1019* 6fee7e178f7c949213a124d78de60bc30267d367 Sat Nov 26 23:53:15 2016 +0700 Priyadi Iman Nurcahyo
1020
1021## quantum/serial_link/LICENSE
1022
1023* 639cdd363e35c13fe331939d0972aa4db5f5198d Tue Jul 5 23:27:47 2016 +0300 Fred Sundvik
1024
1025## quantum/serial_link/README.md
1026
1027* 639cdd363e35c13fe331939d0972aa4db5f5198d Tue Jul 5 23:27:47 2016 +0300 Fred Sundvik
1028* d5e7603d551a31836bf0c59db259ddc3593a1aa7 Wed Jul 6 13:26:20 2016 +0300 Fred Sundvik
1029
1030## quantum/serial_link/protocol/byte_stuffer.c
1031
1032* d5e7603d551a31836bf0c59db259ddc3593a1aa7 Wed Jul 6 13:26:20 2016 +0300 Fred Sundvik
1033* 0a11460175d6a838c71343c19eb4ce4699936247 Wed Aug 24 22:23:17 2016 +0300 Fred Sundvik
1034
1035## quantum/serial_link/protocol/byte_stuffer.h
1036
1037* d5e7603d551a31836bf0c59db259ddc3593a1aa7 Wed Jul 6 13:26:20 2016 +0300 Fred Sundvik
1038* 0a11460175d6a838c71343c19eb4ce4699936247 Wed Aug 24 22:23:17 2016 +0300 Fred Sundvik
1039
1040## quantum/serial_link/protocol/frame_router.c
1041
1042* d5e7603d551a31836bf0c59db259ddc3593a1aa7 Wed Jul 6 13:26:20 2016 +0300 Fred Sundvik
1043
1044## quantum/serial_link/protocol/frame_router.h
1045
1046* d5e7603d551a31836bf0c59db259ddc3593a1aa7 Wed Jul 6 13:26:20 2016 +0300 Fred Sundvik
1047
1048## quantum/serial_link/protocol/frame_validator.c
1049
1050* d5e7603d551a31836bf0c59db259ddc3593a1aa7 Wed Jul 6 13:26:20 2016 +0300 Fred Sundvik
1051
1052## quantum/serial_link/protocol/frame_validator.h
1053
1054* d5e7603d551a31836bf0c59db259ddc3593a1aa7 Wed Jul 6 13:26:20 2016 +0300 Fred Sundvik
1055
1056## quantum/serial_link/protocol/physical.h
1057
1058* d5e7603d551a31836bf0c59db259ddc3593a1aa7 Wed Jul 6 13:26:20 2016 +0300 Fred Sundvik
1059
1060## quantum/serial_link/protocol/transport.c
1061
1062* d5e7603d551a31836bf0c59db259ddc3593a1aa7 Wed Jul 6 13:26:20 2016 +0300 Fred Sundvik
1063* bcdf9ab76bf3723e6015d4255d53e7c1e7259b61 Sat Aug 27 14:18:49 2016 +0300 Fred Sundvik
1064
1065## quantum/serial_link/protocol/transport.h
1066
1067* d5e7603d551a31836bf0c59db259ddc3593a1aa7 Wed Jul 6 13:26:20 2016 +0300 Fred Sundvik
1068* bcdf9ab76bf3723e6015d4255d53e7c1e7259b61 Sat Aug 27 14:18:49 2016 +0300 Fred Sundvik
1069
1070## quantum/serial_link/protocol/triple_buffered_object.c
1071
1072* d5e7603d551a31836bf0c59db259ddc3593a1aa7 Wed Jul 6 13:26:20 2016 +0300 Fred Sundvik
1073
1074## quantum/serial_link/protocol/triple_buffered_object.h
1075
1076* d5e7603d551a31836bf0c59db259ddc3593a1aa7 Wed Jul 6 13:26:20 2016 +0300 Fred Sundvik
1077
1078## quantum/serial_link/system/serial_link.c
1079
1080* d5e7603d551a31836bf0c59db259ddc3593a1aa7 Wed Jul 6 13:26:20 2016 +0300 Fred Sundvik
1081
1082## quantum/serial_link/system/serial_link.h
1083
1084* d5e7603d551a31836bf0c59db259ddc3593a1aa7 Wed Jul 6 13:26:20 2016 +0300 Fred Sundvik
1085
1086## quantum/serial_link/tests/byte_stuffer_tests.cpp
1087
1088* 0a11460175d6a838c71343c19eb4ce4699936247 Wed Aug 24 22:23:17 2016 +0300 Fred Sundvik
1089
1090## quantum/serial_link/tests/frame_router_tests.cpp
1091
1092* cdd0913bcc63334fa20f1a7bd46bdce4d4f2843b Sat Aug 27 13:43:46 2016 +0300 Fred Sundvik
1093
1094## quantum/serial_link/tests/frame_validator_tests.cpp
1095
1096* b3eba797af74ace19b9f2e762bdd33d9449e3f94 Sat Aug 27 13:54:16 2016 +0300 Fred Sundvik
1097
1098## quantum/serial_link/tests/Makefile
1099
1100* d5e7603d551a31836bf0c59db259ddc3593a1aa7 Wed Jul 6 13:26:20 2016 +0300 Fred Sundvik
1101
1102## quantum/serial_link/tests/rules.mk
1103
1104* 0a11460175d6a838c71343c19eb4ce4699936247 Wed Aug 24 22:23:17 2016 +0300 Fred Sundvik
1105* cdd0913bcc63334fa20f1a7bd46bdce4d4f2843b Sat Aug 27 13:43:46 2016 +0300 Fred Sundvik
1106* b3eba797af74ace19b9f2e762bdd33d9449e3f94 Sat Aug 27 13:54:16 2016 +0300 Fred Sundvik
1107* bcdf9ab76bf3723e6015d4255d53e7c1e7259b61 Sat Aug 27 14:18:49 2016 +0300 Fred Sundvik
1108* ffb0a126f5b2484eda7f6b1c62ea61924eec6521 Sat Aug 27 14:25:52 2016 +0300 Fred Sundvik
1109
1110## quantum/serial_link/tests/testlist.mk
1111
1112* 6d7cd639a5e4503f00162c7cfa4bc7302b82c71c Sun Aug 21 16:29:54 2016 +0300 Fred Sundvik
1113* ffb0a126f5b2484eda7f6b1c62ea61924eec6521 Sat Aug 27 14:25:52 2016 +0300 Fred Sundvik
1114
1115## quantum/serial_link/tests/transport_tests.cpp
1116
1117* bcdf9ab76bf3723e6015d4255d53e7c1e7259b61 Sat Aug 27 14:18:49 2016 +0300 Fred Sundvik
1118
1119## quantum/serial_link/tests/triple_buffered_object_tests.cpp
1120
1121* ffb0a126f5b2484eda7f6b1c62ea61924eec6521 Sat Aug 27 14:25:52 2016 +0300 Fred Sundvik
1122
1123## quantum/template/config.h
1124
1125* 6f3141965e88c4ee0ebf7c18a243e4c2d9c5021b Tue Oct 27 14:33:18 2015 -0400 Jack Humbert
1126* 24f2698fba0055128eb90fbde793e3c84900df69 Sat Jan 23 20:45:52 2016 -0500 Jack Humbert
1127* 577971ab07a49405e1dcd8e5f75b3ecb87e710b9 Mon Mar 28 00:03:21 2016 -0500 IBNobody
1128* 1d13aa933bbb57bf0c1fe0196981b81233c3df97 Mon Mar 28 19:45:20 2016 -0500 IBNobody
1129* aaa758f1d3f97dda39879f2b055ad2da9680adfe Mon May 23 20:42:21 2016 -0700 Eric Tang
1130* 13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b Thu Jun 23 22:18:20 2016 -0400 Jack Humbert
1131
1132## quantum/template/Makefile
1133
1134* 6f3141965e88c4ee0ebf7c18a243e4c2d9c5021b Tue Oct 27 14:33:18 2015 -0400 Jack Humbert
1135* 6485c7d7dae01c499a7e1f27e7956f12ce0f6901 Thu Nov 5 12:07:03 2015 -0500 Jack Humbert
1136* 24f2698fba0055128eb90fbde793e3c84900df69 Sat Jan 23 20:45:52 2016 -0500 Jack Humbert
1137* 577971ab07a49405e1dcd8e5f75b3ecb87e710b9 Mon Mar 28 00:03:21 2016 -0500 IBNobody
1138* 0656f2fa10e25e160617c3e5d14cfbae35dd9c8d Fri Apr 29 22:19:40 2016 -0400 Jack Humbert
1139* 38987d4c1589d2d457459f42e179be24b712be30 Sat May 28 12:05:17 2016 -0400 Jack Humbert
1140* d9e4dad0a828a8a904f44dda090a4d6d08fe2948 Sat Jun 11 13:31:31 2016 -0400 Jack Humbert
1141* a8375fa15a6ca9285eb15ae89bcda898349e06f8 Tue Jun 21 10:21:43 2016 -0400 Jack Humbert
1142* 13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b Thu Jun 23 22:18:20 2016 -0400 Jack Humbert
1143* ab4d7adbb96fa034fd20364247d615f527661594 Fri Aug 19 09:06:28 2016 +0300 Fred Sundvik
1144
1145## quantum/template/readme.md
1146
1147* 13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b Thu Jun 23 22:18:20 2016 -0400 Jack Humbert
1148* 1f5838a28679975f689e35471a35720ed5c7e7c5 Sat Aug 27 23:29:37 2016 +0300 Fred Sundvik
1149
1150## quantum/template/rules.mk
1151
1152* ab4d7adbb96fa034fd20364247d615f527661594 Fri Aug 19 09:06:28 2016 +0300 Fred Sundvik
1153
1154## quantum/template/template.c
1155
1156* 6f3141965e88c4ee0ebf7c18a243e4c2d9c5021b Tue Oct 27 14:33:18 2015 -0400 Jack Humbert
1157* 641859df84bf40025b2c14319d1a168a435562e2 Thu Mar 10 11:28:34 2016 -0500 yoyoerx
1158* eba9a7d74db0be548cddc107f0370dabf43b017f Tue Mar 15 23:52:51 2016 -0500 IBNobody
1159* ec62d9e85cab5cf166241b0536120d005fa7c898 Tue Mar 22 20:39:05 2016 -0500 IBNobody
1160* 3d56ec052ed485d4b717da930c4024b4a3f792e0 Tue Mar 22 21:06:22 2016 -0500 IBNobody
1161* 2181be029e01d9cf46ae3cadcdf25f5bca02c631 Mon Mar 28 16:13:37 2016 +0200 Damien Pollet
1162* 0656f2fa10e25e160617c3e5d14cfbae35dd9c8d Fri Apr 29 22:19:40 2016 -0400 Jack Humbert
1163* 1a8c0dd22d6a2255511d0db6a456315541b5815b Sun May 15 00:27:32 2016 -0400 Erez Zukerman
1164* 13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b Thu Jun 23 22:18:20 2016 -0400 Jack Humbert
1165* 589df84d6cd19ad7d776cc19bcddade1cd178ddc Thu Jul 7 09:58:44 2016 -0400 Jack Humbert
1166* c1dfb636ef61159456bdb24f4fee3f27e5babbeb Thu Jul 7 12:22:10 2016 -0400 Jack Humbert
1167
1168## quantum/template/template.h
1169
1170* 6f3141965e88c4ee0ebf7c18a243e4c2d9c5021b Tue Oct 27 14:33:18 2015 -0400 Jack Humbert
1171* 24f2698fba0055128eb90fbde793e3c84900df69 Sat Jan 23 20:45:52 2016 -0500 Jack Humbert
1172* ee1b94045e5bebda517119cb1853b0ab3fd0f499 Fri Mar 4 10:53:58 2016 -0500 Noah Andrews
1173* 641859df84bf40025b2c14319d1a168a435562e2 Thu Mar 10 11:28:34 2016 -0500 yoyoerx
1174* eba9a7d74db0be548cddc107f0370dabf43b017f Tue Mar 15 23:52:51 2016 -0500 IBNobody
1175* ec62d9e85cab5cf166241b0536120d005fa7c898 Tue Mar 22 20:39:05 2016 -0500 IBNobody
1176* 2181be029e01d9cf46ae3cadcdf25f5bca02c631 Mon Mar 28 16:13:37 2016 +0200 Damien Pollet
1177* 0656f2fa10e25e160617c3e5d14cfbae35dd9c8d Fri Apr 29 22:19:40 2016 -0400 Jack Humbert
1178* 1a8c0dd22d6a2255511d0db6a456315541b5815b Sun May 15 00:27:32 2016 -0400 Erez Zukerman
1179* db32864ce7029d758f57729cc2f75e051a28d0a2 Sat Jun 18 14:30:24 2016 -0400 Jack Humbert
1180* 13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b Thu Jun 23 22:18:20 2016 -0400 Jack Humbert
1181
1182## quantum/template/keymaps/default/config.h
1183
1184* 13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b Thu Jun 23 22:18:20 2016 -0400 Jack Humbert
1185
1186## quantum/template/keymaps/default/keymap.c
1187
1188* d9e4dad0a828a8a904f44dda090a4d6d08fe2948 Sat Jun 11 13:31:31 2016 -0400 Jack Humbert
1189* 13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b Thu Jun 23 22:18:20 2016 -0400 Jack Humbert
1190
1191## quantum/template/keymaps/default/Makefile
1192
1193* 13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b Thu Jun 23 22:18:20 2016 -0400 Jack Humbert
1194
1195## quantum/template/keymaps/default/readme.md
1196
1197* 13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b Thu Jun 23 22:18:20 2016 -0400 Jack Humbert
1198
1199## quantum/tools/eeprom_reset.hex
1200
1201* 0b0ec82427aff54481103559066213056b6d7598 Sat Apr 16 00:01:22 2016 -0400 Jack Humbert
1202
1203## quantum/tools/readme.md
1204
1205* 13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b Thu Jun 23 22:18:20 2016 -0400 Jack Humbert
1206
1207## quantum/visualizer/lcd_backlight.c
1208
1209* 9f33a5593cc70dfb0885328061f1aa4b2c2fa386 Wed Jul 6 20:15:45 2016 +0300 Fred Sundvik
1210
1211## quantum/visualizer/lcd_backlight.h
1212
1213* 9f33a5593cc70dfb0885328061f1aa4b2c2fa386 Wed Jul 6 20:15:45 2016 +0300 Fred Sundvik
1214
1215## quantum/visualizer/led_test.c
1216
1217* 6c296557909501b71fe344ce379e74094cf77c8e Wed Jul 6 20:30:58 2016 +0300 Fred Sundvik
1218* 07d0d5cbe48d7afaf0bc8c9916d40179ec51cb42 Thu Jul 7 12:46:10 2016 +0300 Fred Sundvik
1219
1220## quantum/visualizer/led_test.h
1221
1222* 6c296557909501b71fe344ce379e74094cf77c8e Wed Jul 6 20:30:58 2016 +0300 Fred Sundvik
1223
1224## quantum/visualizer/LICENSE.md
1225
1226* 9f33a5593cc70dfb0885328061f1aa4b2c2fa386 Wed Jul 6 20:15:45 2016 +0300 Fred Sundvik
1227
1228## quantum/visualizer/readme.md
1229
1230* 9f33a5593cc70dfb0885328061f1aa4b2c2fa386 Wed Jul 6 20:15:45 2016 +0300 Fred Sundvik
1231
1232## quantum/visualizer/visualizer.c
1233
1234* 9f33a5593cc70dfb0885328061f1aa4b2c2fa386 Wed Jul 6 20:15:45 2016 +0300 Fred Sundvik
1235* 6c296557909501b71fe344ce379e74094cf77c8e Wed Jul 6 20:30:58 2016 +0300 Fred Sundvik
1236* 70797bb8f21c72cba15b314b2d0a6684bfedc369 Thu Jul 7 00:20:20 2016 +0300 Fred Sundvik
1237* 7229751ba9d402b2a6c9dc1b7b29385b5162fe41 Thu Jul 7 14:01:20 2016 +0300 Fred Sundvik
1238* dae7c9bfb3325412c542fbbe4342c9c8e0fc1904 Thu Jul 7 14:12:56 2016 +0300 Fred Sundvik
1239* 9eb8d05246fba4f46c04b8fa1884b8f2d2ee0664 Tue Jan 17 21:47:07 2017 -0500 SjB
1240
1241## quantum/visualizer/visualizer.h
1242
1243* 9f33a5593cc70dfb0885328061f1aa4b2c2fa386 Wed Jul 6 20:15:45 2016 +0300 Fred Sundvik
1244* 6c296557909501b71fe344ce379e74094cf77c8e Wed Jul 6 20:30:58 2016 +0300 Fred Sundvik
1245* 70797bb8f21c72cba15b314b2d0a6684bfedc369 Thu Jul 7 00:20:20 2016 +0300 Fred Sundvik
1246* 9eb8d05246fba4f46c04b8fa1884b8f2d2ee0664 Tue Jan 17 21:47:07 2017 -0500 SjB
1247
1248## quantum/visualizer/visualizer.mk
1249
1250* 9f33a5593cc70dfb0885328061f1aa4b2c2fa386 Wed Jul 6 20:15:45 2016 +0300 Fred Sundvik
1251* 6c296557909501b71fe344ce379e74094cf77c8e Wed Jul 6 20:30:58 2016 +0300 Fred Sundvik
1252* 70797bb8f21c72cba15b314b2d0a6684bfedc369 Thu Jul 7 00:20:20 2016 +0300 Fred Sundvik
1253* 07d0d5cbe48d7afaf0bc8c9916d40179ec51cb42 Thu Jul 7 12:46:10 2016 +0300 Fred Sundvik
1254* 7229751ba9d402b2a6c9dc1b7b29385b5162fe41 Thu Jul 7 14:01:20 2016 +0300 Fred Sundvik
1255* aaac254ebce2005272e7385488b5690bbbe6d7c8 Thu Jul 7 14:29:53 2016 +0300 Fred Sundvik
1256* caedec92d2c22480313c43a364408fb920c55364 Thu Jul 7 14:42:16 2016 +0300 Fred Sundvik
1257
1258## quantum/visualizer/example_integration/callbacks.c
1259
1260* 9f33a5593cc70dfb0885328061f1aa4b2c2fa386 Wed Jul 6 20:15:45 2016 +0300 Fred Sundvik
1261
1262## quantum/visualizer/example_integration/gfxconf.h
1263
1264* 9f33a5593cc70dfb0885328061f1aa4b2c2fa386 Wed Jul 6 20:15:45 2016 +0300 Fred Sundvik
1265
1266## quantum/visualizer/example_integration/lcd_backlight_hal.c
1267
1268* 9f33a5593cc70dfb0885328061f1aa4b2c2fa386 Wed Jul 6 20:15:45 2016 +0300 Fred Sundvik
1269
1270## quantum/visualizer/example_integration/visualizer_user.c
1271
1272* 9f33a5593cc70dfb0885328061f1aa4b2c2fa386 Wed Jul 6 20:15:45 2016 +0300 Fred Sundvik \ No newline at end of file
diff --git a/docs/macros.md b/docs/macros.md
index bbf51434a..6b128541b 100644
--- a/docs/macros.md
+++ b/docs/macros.md
@@ -1,8 +1,10 @@
1# Macros - Send multiple keystrokes when pressing just one key 1# Macros
2 2
3QMK has a number of ways to define and use macros. These can do anything you want- type common phrases for you, copypasta, repetitive game movements, or even help you code. 3Macros allow you to send multiple keystrokes when pressing just one key. QMK has a number of ways to define and use macros. These can do anything you want- type common phrases for you, copypasta, repetitive game movements, or even help you code.
4 4
5{% hint style='danger' %}
5**Security Note**: While it is possible to use macros to send passwords, credit card numbers, and other sensitive information it is a supremely bad idea to do so. Anyone who gets ahold of your keyboard will be able to access that information by opening a text editor. 6**Security Note**: While it is possible to use macros to send passwords, credit card numbers, and other sensitive information it is a supremely bad idea to do so. Anyone who gets ahold of your keyboard will be able to access that information by opening a text editor.
7{% endhint %}
6 8
7# Macro Definitions 9# Macro Definitions
8 10
@@ -141,7 +143,7 @@ This will clear all mods currently pressed.
141 143
142This will clear all keys besides the mods currently pressed. 144This will clear all keys besides the mods currently pressed.
143 145
144# Advanced Example: Single-key copy/paste (hold to copy, tap to paste) 146# Advanced Example: Single-key copy/paste
145 147
146This example defines a macro which sends `Ctrl-C` when pressed down, and `Ctrl-V` when released. 148This example defines a macro which sends `Ctrl-C` when pressed down, and `Ctrl-V` when released.
147 149
diff --git a/docs/make_instructions.md b/docs/make_instructions.md
index 6f88f9106..64c1cb0f0 100644
--- a/docs/make_instructions.md
+++ b/docs/make_instructions.md
@@ -48,7 +48,7 @@ Here are some examples commands
48* `make ergodox-infinity-algernon-clean` will clean the build output of the Ergodox Infinity keyboard. This example uses the full syntax and can be run from any folder with a `Makefile` 48* `make ergodox-infinity-algernon-clean` will clean the build output of the Ergodox Infinity keyboard. This example uses the full syntax and can be run from any folder with a `Makefile`
49* `make dfu COLOR=false` from within a keymap folder, builds and uploads the keymap, but without color output. 49* `make dfu COLOR=false` from within a keymap folder, builds and uploads the keymap, but without color output.
50 50
51## The `Makefile` 51# The `Makefile`
52 52
53There are 5 different `make` and `Makefile` locations: 53There are 5 different `make` and `Makefile` locations:
54 54
@@ -62,7 +62,7 @@ The root contains the code used to automatically figure out which keymap or keym
62 62
63For keyboards and subprojects, the make files are split in two parts `Makefile` and `rules.mk`. All settings can be found in the `rules.mk` file, while the `Makefile` is just there for support and including the root `Makefile`. Keymaps contain just one `Makefile` for simplicity. 63For keyboards and subprojects, the make files are split in two parts `Makefile` and `rules.mk`. All settings can be found in the `rules.mk` file, while the `Makefile` is just there for support and including the root `Makefile`. Keymaps contain just one `Makefile` for simplicity.
64 64
65### Makefile options 65## Makefile options
66 66
67Set these variables to `no` to disable them, and `yes` to enable them. 67Set these variables to `no` to disable them, and `yes` to enable them.
68 68
@@ -158,7 +158,7 @@ This enables using the Quantum SYSEX API to send strings (somewhere?)
158 158
159This consumes about 5390 bytes. 159This consumes about 5390 bytes.
160 160
161### Customizing Makefile options on a per-keymap basis 161## Customizing Makefile options on a per-keymap basis
162 162
163If your keymap directory has a file called `Makefile` (note the filename), any Makefile options you set in that file will take precedence over other Makefile options for your particular keyboard. 163If your keymap directory has a file called `Makefile` (note the filename), any Makefile options you set in that file will take precedence over other Makefile options for your particular keyboard.
164 164
diff --git a/docs/mbed_cortex_porting.md b/docs/mbed_cortex_porting.md
deleted file mode 100644
index b4b1314e6..000000000
--- a/docs/mbed_cortex_porting.md
+++ /dev/null
@@ -1,36 +0,0 @@
1## supported projects
2### PS/2 converter
3Confirmed it works on NXP LPC11U35.
4- http://developer.mbed.org/platforms/TG-LPC11U35-501/
5
6### Infinity keyboard
7It runs on Freescale MK20DX128.
8
9
10
11## compile error: cstddef
12Experienced this with arm-none-eabi-gcc (4.8.2-14ubuntu1+6) 4.8.2 on ubuntu 14.04.
13
14And resolved with 4.9.3 installed from:
15- https://launchpad.net/gcc-arm-embedded
16- https://launchpad.net/~terry.guo/+archive/ubuntu/gcc-arm-embedded
17
18```
19$ make -f Makefile.mbed
20mkdir -p build/.
21arm-none-eabi-g++ -include config_mbed.h -mcpu=cortex-m0 -mthumb -c -g -fno-common -fmessage-length=0 -Wall -fno-exceptions -ffunction-sections -fdata-sections -fomit-frame-pointer -fshort-wchar -fno-builtin -MMD -MP -DNDEBUG -Os -DTARGET_LPC11U35_401 -DTARGET_M0 -DTARGET_NXP -DTARGET_LPC11UXX -DTOOLCHAIN_GCC_ARM -DTOOLCHAIN_GCC -D__CORTEX_M0 -DARM_MATH_CM0 -DMBED_BUILD_TIMESTAMP=1399108688.49 -D__MBED__=1 -std=gnu++98 -I. -I../../mbed-sdk/libraries/mbed/targets -I../../mbed-sdk/libraries/mbed/targets/cmsis -I../../mbed-sdk/libraries/mbed/targets/cmsis/TARGET_NXP -I../../mbed-sdk/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX -I../../mbed-sdk/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM -I../../mbed-sdk/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_501 -I../../mbed-sdk/libraries/mbed/targets/hal -I../../mbed-sdk/libraries/mbed/targets/hal/TARGET_NXP -I../../mbed-sdk/libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11UXX -I../../mbed-sdk/libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501 -I../../mbed-sdk/libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501 -I../../mbed-sdk/libraries/mbed -I../../mbed-sdk/libraries/mbed/hal -I../../mbed-sdk/libraries/mbed/api -I../../mbed-sdk/libraries/mbed/common -I../../mbed-sdk/libraries/USBDevice -I../../mbed-sdk/libraries/USBDevice/USBHID -I../../mbed-sdk/libraries/USBDevice/USBDevice -I../../mbed-sdk/libraries/USBDevice/USBAudio -I../../mbed-sdk/libraries/USBDevice/USBSerial -I../../mbed-sdk/libraries/USBDevice/USBMSD -I../../mbed-sdk/libraries/USBDevice/USBMIDI -I../../protocol/mbed -I../../common -I../../protocol -o build/./main.o main.cpp
22In file included from ../../mbed-sdk/libraries/mbed/api/mbed.h:21:0,
23 from main.cpp:1:
24../../mbed-sdk/libraries/mbed/api/platform.h:25:19: fatal error: cstddef: No such file or directory
25 #include <cstddef>
26 ^
27compilation terminated.
28make: *** [build/./main.o] Error 1
29
30[13:13] noname@desk:/mnt/old_root/home/noname/tmp/tmk_keyboard/converter/ps2_usb
31$ arm-none-eabi-gcc --version
32arm-none-eabi-gcc (4.8.2-14ubuntu1+6) 4.8.2
33Copyright (C) 2013 Free Software Foundation, Inc.
34This is free software; see the source for copying conditions. There is NO
35warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
36``` \ No newline at end of file
diff --git a/docs/memory_write_error,_use_debug_for_more_info.md b/docs/memory_write_error,_use_debug_for_more_info.md
deleted file mode 100644
index 154f3620b..000000000
--- a/docs/memory_write_error,_use_debug_for_more_info.md
+++ /dev/null
@@ -1,21 +0,0 @@
1In rare circumstances, your keyboard/device can become unwritable, and `dfu-programmer` will give you an error like this:
2
3 Erasing flash... Success
4 Checking memory from 0x0 to 0x6FFF... Empty.
5 Checking memory from 0x0 to 0x607F... Empty.
6 0% 100% Programming 0x6080 bytes...
7 [ X ERROR
8 Memory write error, use debug for more info.
9
10Currently the only way to solve this is to [reprogram the chip via ISP](https://www.reddit.com/r/olkb/comments/4rjzen/flashing_error_on_mac_os_x/d52rj8o/). This requires another device to be hooked up to a couple of exposed pins on the PCB. __[We now have a guide on ISP flashing](isp_flashing_guide.md)__ and [this is where things are on the Planck PCB](http://imgur.com/lvbxbHt).
11
12An example command to flash the board once things are hooked up is:
13
14 avrdude -c usbtiny -p m32u4 -U flash:w:planck_default_rev4.hex
15
16Research is still being done on why this happens, but here are some cases:
17
18* [`make -f Makefile.rn42 dfu` and not the dfu-programmer commands worked for @tybenz](https://github.com/tmk/tmk_keyboard/issues/316) - also see [the hhkb keyboard on tmk](https://github.com/tmk/tmk_keyboard/tree/master/keyboard/hhkb)
19* [Doing a force erase works here](https://geekhack.org/index.php?topic=12047.msg1520147#msg1520147)
20* [`dfu-programmer atmega32u4 erase --force` works here as well](https://forum.fhem.de/index.php?topic=29777.0) [DE]
21* [Unresolved, but some data dumps](https://github.com/dfu-programmer/dfu-programmer/issues/29) \ No newline at end of file
diff --git a/docs/mouse_keys.md b/docs/mouse_keys.md
index e8fa60c1f..560bd0470 100644
--- a/docs/mouse_keys.md
+++ b/docs/mouse_keys.md
@@ -1,17 +1,81 @@
1# Can I increase the speed of the mouse keys? 1# Mousekeys
2 2
3**Q:** The default speed for controlling the mouse with the keyboard is slow. I've tried increasing the mouse's sensitivity at work using xset m and it worked, although sometimes it changes by itself for some reason. At home, on Arch Linux, this does not change it. I've looked through the forums and resolved to use libinput using xinput but using that I only manage to change the speed of the mouse using the actual mouse. The speed of the mouse using the keyboard controls remained unchanged.
4Is there perhaps something I can input in the keymap.c to change the sensitivity? Or some other surefire way of increasing the speed?
5Thanks!
6 3
7**A:** In your keymap's config.h: 4Mousekeys is a feature that allows you to emulate a mouse using your keyboard. You can move the pointer around, click up to 5 buttons, and even scroll in all 4 directions. QMK uses the same algorithm as the X Window System MouseKeysAccel feature. You can read more about it [on Wikipedia](https://en.wikipedia.org/wiki/Mouse_keys).
5
6## Adding Mousekeys To a Keymap
7
8There are two steps to adding Mousekeys support to your keyboard. You must enable support in the Makefile and you must map mouse actions to keys on your keyboard.
9
10### Adding Mousekeys support in the `Makefile`
11
12To add support for Mousekeys you simply need to add a single line to your keymap's `Makefile`:
13
14```
15MOUSEKEY_ENABLE = yes
16```
17
18You can see an example here: https://github.com/qmk/qmk_firmware/blob/master/keyboards/clueboard/keymaps/mouse_keys/Makefile
19
20### Mapping Mouse Actions To Keyboard Keys
21
22You can use these keycodes within your keymap to map button presses to mouse actions:
23
24|Long Name|Short Name|Description|
25|---------|----------|-----------|
26|KC_MS_UP|KC_MS_U|Mouse Cursor Up|
27|KC_MS_DOWN|KC_MS_D|Mouse Cursor Down|
28|KC_MS_LEFT|KC_MS_L|Mouse Cursor Left|
29|KC_MS_RIGHT|KC_MS_R|Mouse Cursor Right|
30|KC_MS_BTN1|KC_BTN1|Mouse Button 1|
31|KC_MS_BTN2|KC_BTN2|Mouse Button 2|
32|KC_MS_BTN3|KC_BTN3|Mouse Button 3|
33|KC_MS_BTN4|KC_BTN4|Mouse Button 4|
34|KC_MS_BTN5|KC_BTN5|Mouse Button 5|
35|KC_MS_WH_UP|KC_WH_U|Mouse Wheel Up|
36|KC_MS_WH_DOWN|KC_WH_D|Mouse Wheel Down|
37|KC_MS_WH_LEFT|KC_WH_L|Mouse Wheel Left|
38|KC_MS_WH_RIGHT|KC_WH_R|Mouse Wheel Right|
39|KC_MS_ACCEL0|KC_ACL0|Set Mouse Acceleration Speed to 0|
40|KC_MS_ACCEL1|KC_ACL1|Set Mouse Acceleration Speed to 1|
41|KC_MS_ACCEL2|KC_ACL2|Set Mouse Acceleration Speed to 2|
42
43You can see an example in the `_ML` here: https://github.com/qmk/qmk_firmware/blob/master/keyboards/clueboard/keymaps/mouse_keys/keymap.c#L46
44
45## Configuring the behavior of Mousekeys
46
47The default speed for controlling the mouse with the keyboard is intentionaly slow. You can adjust these parameters by adding these settings to your keymap's `config.h` file. All times are specified in miliseconds (ms).
8 48
9``` 49```
10#define MOUSEKEY_INTERVAL 20 50#define MOUSEKEY_DELAY 300
11#define MOUSEKEY_DELAY 0 51#define MOUSEKEY_INTERVAL 50
12#define MOUSEKEY_TIME_TO_MAX 60 52#define MOUSEKEY_MAX_SPEED 10
13#define MOUSEKEY_MAX_SPEED 7 53#define MOUSEKEY_TIME_TO_MAX 20
14#define MOUSEKEY_WHEEL_DELAY 0 54#define MOUSEKEY_WHEEL_MAX_SPEED 8
55#define MOUSEKEY_WHEEL_TIME_TO_MAX 40
15``` 56```
16 57
17Tweak away. A lower interval or higher max speed will effectively make the mouse move faster. Time-to-max controls acceleration. (See [this Reddit thread for the original discussion](https://www.reddit.com/r/ErgoDoxEZ/comments/61fwr2/a_reliable_way_to_increase_the_speed_of_the_mouse/)). 58
59### `MOUSEKEY_DELAY`
60
61When one of the mouse movement buttons is pressed this setting is used to define the delay between that button press and the mouse cursor moving. Some people find that small movements are impossible if this setting is too low, while settings that are too high feel sluggish.
62
63### `MOUSEKEY_INTERVAL`
64
65When a movement key is held down this specifies how long to wait between each movement report. Lower settings will translate into an effectively higher mouse speed.
66
67### `MOUSEKEY_MAX_SPEED`
68
69As a movement key is held down the speed of the mouse cursor will increase until it reaches `MOUSEKEY_MAX_SPEED`.
70
71### `MOUSEKEY_TIME_TO_MAX`
72
73How long you want to hold down a movement key for until `MOUSEKEY_MAX_SPEED` is reached. This controls how quickly your cursor will accelerate.
74
75### `MOUSEKEY_WHEEL_MAX_SPEED`
76
77The top speed for scrolling movements.
78
79### `MOUSEKEY_WHEEL_TIME_TO_MAX`
80
81How long you want to hold down a scroll key for until `MOUSEKEY_WHEEL_MAX_SPEED` is reached. This controls how quickling your scrolling will accelerate. \ No newline at end of file
diff --git a/docs/other_projects.md b/docs/other_projects.md
deleted file mode 100644
index bf980b0a9..000000000
--- a/docs/other_projects.md
+++ /dev/null
@@ -1,62 +0,0 @@
1Other Keyboard Firmware Projects
2================================
3## PJRC USB Keyboard/Mouse Example[USB][PJRC][Teensy][AVR]
4- <http://www.pjrc.com/teensy/usb_keyboard.html>
5- <http://www.pjrc.com/teensy/usb_mouse.html>
6
7## kbupgrade[USB][V-USB][AVR]
8- <http://github.com/rhomann/kbupgrade>
9- <http://geekhack.org/showwiki.php?title=Island:8406>
10
11## c64key[USB][V-USB][AVR]
12- <http://symlink.dk/projects/c64key/>
13
14## rump[USB][V-USB][AVR]
15- <http://mg8.org/rump/>
16- <http://github.com/clee/rump>
17
18## dulcimer[USB][V-USB][AVR]
19- <http://www.schatenseite.de/dulcimer.html>
20
21## humblehacker-keyboard[USB][LUFA][AVR][Ergo]
22- <http://github.com/humblehacker>
23- <http://www.humblehacker.com/keyboard/>
24- <http://geekhack.org/showwiki.php?title=Island:6292>
25
26## ps2avr[PS/2][AVR]
27- <http://sourceforge.net/projects/ps2avr/>
28
29## ErgoDox[Ergo][Split][USB][AVR]
30- <http://geekhack.org/index.php?topic=22780.0>
31- <https://github.com/benblazak/ergodox-firmware>
32- <https://github.com/cub-uanic/tmk_keyboard>
33
34## Suka's keyboard collection[Ergo][Split][3DPrinting][USB][AVR]
35- <http://deskthority.net/workshop-f7/my-diy-keyboard-collection-or-how-i-became-a-kb-geek-t2534.html>
36- <https://github.com/frobiac/adnw>
37
38## bpiphany's AVR-Keyboard[PJRC][AVR][USB]
39- <https://github.com/BathroomEpiphanies/AVR-Keyboard>
40- <http://deskthority.net/wiki/HID_Liberation_Device_-_DIY_Instructions>
41- <http://deskthority.net/wiki/Phantom>
42
43## USB-USB keyboard remapper[converter][USB-USB][AVR][Arduino]
44- <http://forum.colemak.com/viewtopic.php?pid=10837>
45- <https://github.com/darkytoothpaste/keymapper>
46
47## USB-USB converter threads[converter][USB-USB]
48- <http://deskthority.net/workshop-f7/is-remapping-a-usb-keyboard-using-teensy-possible-t2841-30.html>
49- <http://geekhack.org/index.php?topic=19458.0>
50
51## kbdbabel.org[converter][vintage][protocol][8051]
52Great resource of vintage keyboard protocol information and code
53
54- <http://www.kbdbabel.org/>
55
56## Haata's kiibohd Controller[converter][vintage][protocol][AVR][PJRC][Cortex]
57A lots of vintage keyboard protocol supports
58
59- <http://gitorious.org/kiibohd-controller>
60
61## Kinesis ergonomic keyboard firmware replacement[V-USB][LUFA][Ergo]
62- <https://github.com/chrisandreae/kinesis-firmware>
diff --git a/docs/pcb_guide.md b/docs/pcb_guide.md
deleted file mode 100644
index e07a11488..000000000
--- a/docs/pcb_guide.md
+++ /dev/null
@@ -1,151 +0,0 @@
1# Planck Firmware Guide
2
3## Setting up the environment
4
5### Windows
61. Install [MHV AVR Tools](https://infernoembedded.com/sites/default/files/project/MHV_AVR_Tools_20131101.exe). Disable smatch, but **be sure to leave the option to add the tools to the PATH checked**.
72. Install [MinGW](https://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download). During installation, uncheck the option to install a graphical user interface. **DO NOT change the default installation folder.** The scripts depend on the default location.
83. Clone this repository. [This link will download it as a zip file, which you'll need to extract.](https://github.com/qmk/qmk_firmware/archive/master.zip) Open the extracted folder in Windows Explorer.
94. Right-click on the 1-setup-path-win batch script, select "Run as administrator", and accept the User Account Control prompt. Press the spacebar to dismiss the success message in the command prompt that pops up.
105. Right-click on the 2-setup-environment-win batch script, select "Run as administrator", and accept the User Account Control prompt. This part may take a couple of minutes, and you'll need to approve a driver installation, but once it finishes, your environment is complete!
11
12
13### Mac
14
15If you're using homebrew, you can use the following commands:
16
17 brew tap osx-cross/avr
18 brew install avr-libc
19 brew install dfu-programmer
20
21Otherwise, these instructions will work:
22
231. Install Xcode from the App Store.
242. Install the Command Line Tools from `Xcode->Preferences->Downloads`.
253. Install [DFU-Programmer][dfu-prog].
26
27### Linux
281. Install AVR GCC with your favorite package manager.
292. Install [DFU-Programmer][dfu-prog].
30
31Note that, since it will be directly accessing USB hardware, the
32`dfu-programmer` program needs to be run as root.
33
34## Verify Your Installation
351. Clone the following repository: https://github.com/qmk/qmk_firmware
362. Open a Terminal and `cd` into `qmk_firmware/keyboards/planck`
373. Run `make`. This should output a lot of information about the build process.
38
39## Using the built-in functions
40
41Here is a list of some of the functions available from the command line:
42
43* `make clean`: clean the environment - may be required in-between builds
44* `make`: compile the code
45* `make KEYMAP=<keymap>`: compile with the extended keymap file `extended_keymaps/extended_keymap_<keymap>.c`
46* `make dfu`: build and flash the layout to the PCB
47* `make dfu-force`: build and force-flash the layout to the PCB (may be require for first flash)
48
49Generally, the instructions to flash the PCB are as follows:
50
511. Make changes to the appropriate keymap file
522. Save the file
533. `make clean`
544. Press the reset button on the PCB/press the key with the `RESET` keycode
555. `make <arguments> dfu` - use the necessary `KEYMAP=<keymap>` and/or `COMMON=true` arguments here.
56
57## Troubleshooting
58If you see something like this
59
60 0 [main] sh 13384 sync_with_child: child 9716(0x178) died before initialization with status code 0xC0000142
61 440 [main] sh 13384 sync_with_child: *** child state waiting for longjmp
62 /usr/bin/sh: fork: Resource temporarily unavailable
63
64after running 'make' on Windows than you are encountering a very popular issue with WinAVR on Windows 8.1 and 10.
65You can easily fix this problem by replacing msys-1.0.dll in WinAVR/utils/bin with [this one](http://www.madwizard.org/download/electronics/msys-1.0-vista64.zip).
66Restart your system and everything should work fine!
67
68
69If you see this
70
71 dfu-programmer atmega32u4 erase
72 process_begin: CreateProcess(NULL, dfu-programmer atmega32u4 erase, ...) failed.
73 make (e=2): The system cannot find the file specified.
74 make: *** [dfu] Error 2
75
76when trying to 'make dfu' on Windows you need to copy the dfu-programmer.exe to qmk_firmware/keyboards/planck.
77
78
79## Quantum MK Firmware
80
81### Keymap
82
83Unlike the other keymaps, prefixing the keycodes with `KC_` is required. A full list of the keycodes is available [here](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/doc/keycode.txt). For the keycodes available only in the extended keymap, see this [header file](https://github.com/qmk/qmk_firmware/blob/master/quantum/keymap_common.h).
84
85You can use modifiers with keycodes like this:
86
87 LCTL(KC_C)
88
89Which will generate Ctrl+c. These are daisy-chainable, meaning you can do things like:
90
91 LCTL(LALT(KC_C))
92
93That will generate Ctrl+Alt+c. The entire list of these functions is here:
94
95* `LCTL()`: Left control
96* `LSFT()` / `S()`: Left shift
97* `LALT()`: Left alt/opt
98* `LGUI()`: Left win/cmd
99* `RCTL()`: Right control
100* `RSFT()`: Right shift
101* `RALT()`: Right alt/opt
102* `RGUI()`: Right win/cmd
103
104`S(KC_1)`-like entries are useful in writing keymaps for the Planck.
105
106### Other keycodes
107
108A number of other keycodes have been added that you may find useful:
109
110* `CM_<key>`: the Colemak equivalent of a key (in place of `KC_<key>`), when using Colemak in software (`CM_O` generates `KC_SCLN`)
111* `RESET`: jump to bootloader for flashing (same as press the reset button)
112* `BL_STEP`: step through the backlight brightnesses
113* `BL_<0-15>`: set backlight brightness to 0-15
114* `BL_DEC`: lower the backlight brightness
115* `BL_INC`: raise the backlight brightness
116* `BL_TOGG`: toggle the backlight on/off
117
118### Function layers
119
120The extended keymap extends the number of function layers from 32 to the near-infinite value of 256. Rather than using `FN<num>` notation (still available, but limited to `FN0`-`FN31`), you can use the `FUNC(<num>)` notation. `F(<num>)` is a shortcut for this.
121
122The function actions are unchanged, and you can see the full list of them [here](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/common/action_code.h). They are explained in detail [here](keymap.md#2-action).
123
124### Macros
125
126Macros have been setup in the `keymaps/keymap_default.c` file so that you can use `M(<num>)` to access a macro in the `action_get_macro` section on your keymap. The switch/case structure you see here is required, and is setup for `M(0)` - you'll need to copy and paste the code to look like this (e.g. to support `M(3)`):
127
128 switch(id) {
129 case 0:
130 return MACRODOWN(TYPE(KC_A), END);
131 break;
132 case 1:
133 return MACRODOWN(TYPE(KC_B), END);
134 break;
135 case 2:
136 return MACRODOWN(TYPE(KC_C), END);
137 break;
138 case 3:
139 return MACRODOWN(TYPE(KC_D), END);
140 break;
141 }
142 return MACRO_NONE;
143
144`MACRODOWN()` is a shortcut for `(record->event.pressed ? MACRO(__VA_ARGS__) : MACRO_NONE)` which tells the macro to execute when the key is pressed. Without this, the macro will be executed on both the down and up stroke.
145
146[cygwin]: https://www.cygwin.com/
147[mingw]: http://www.mingw.org/
148[mhv]: https://infernoembedded.com/products/avr-tools
149[winavr]: http://winavr.sourceforge.net/
150[crosspack]: http://www.obdev.at/products/crosspack/index.html
151[dfu-prog]: http://dfu-programmer.sourceforge.net/
diff --git a/docs/previously_asked_questions.asciidoc b/docs/previously_asked_questions.asciidoc
deleted file mode 100644
index 36af1f203..000000000
--- a/docs/previously_asked_questions.asciidoc
+++ /dev/null
@@ -1,14 +0,0 @@
1= Previously Asked Questions
2:toc:
3:toc-placement: preamble
4
5toc::[]
6
7= Question thread
8http://deskthority.net/workshop-f7/how-to-build-your-very-own-keyboard-firmware-t7177-270.html
9
10= Questions
11== Columns beyond 16(uint16_t) cannot be read
12* https://github.com/tmk/tmk_keyboard/wiki/FAQ#cant-read-comlumn-of-matrix-beyond-16
13* http://deskthority.net/workshop-f7/how-to-build-your-very-own-keyboard-firmware-t7177-270.html#p247051
14* http://deskthority.net/workshop-f7/rebuilding-and-redesigning-a-classic-thinkpad-keyboard-t6181-60.html#p146279
diff --git a/docs/quantum_keycodes.md b/docs/quantum_keycodes.md
new file mode 100644
index 000000000..a59d8fbc8
--- /dev/null
+++ b/docs/quantum_keycodes.md
@@ -0,0 +1,349 @@
1# Quantum Keycodes
2
3All keycodes within quantum are numbers between `0x0000` and `0xFFFF`. Within your `keymap.c` it may look like you have functions and other special cases, but ultimately the C preprocessor will translate those into a single 4 byte integer. QMK has reserved `0x0000` through `0x00FF` for standard keycodes. These are keycodes such as `KC_A`, `KC_1`, and `KC_LCTL`, which are basic keys defined in the USB HID specification.
4
5On this page we have documented keycodes between `0x00FF` and `0xFFFF` which are used to implement advanced quantum features. If you define your own custom keycodes they will be put into this range as well. Keycodes above `0x00FF` may not be used with any of the mod/layer-tap keys listed
6
7## QMK keycodes
8
9|Name|Description|
10|----|-----------|
11|`RESET`|Put the keyboard into DFU mode for flashing|
12|`DEBUG`|Toggles debug mode|
13|`KC_GESC`/`GRAVE_ESC`|Acts as escape when pressed normally but when pressed with Shift or GUI will send a `~`|
14|`KC_LSPO`|Left shift when held, open paranthesis when tapped|
15|`KC_RSPC`|Right shift when held, close paranthesis when tapped|
16|`KC_LEAD`|The [leader key](leader_key.md)|
17|`FUNC(n)`/`F(n)`|Call `fn_action(n)`|
18|`M(n)`|to call macro n|
19|`MACROTAP(n)`|to macro-tap n idk FIXME|
20
21## Bootmagic Keycodes
22
23Shortcuts for bootmagic options (these work even when bootmagic is off.)
24
25|Name|Description|
26|----|-----------|
27|`MAGIC_SWAP_CONTROL_CAPSLOCK`|Swap Capslock and Left Control|
28|`MAGIC_CAPSLOCK_TO_CONTROL`|Treat Capslock like a Control Key|
29|`MAGIC_SWAP_LALT_LGUI`|Swap the left Alt and GUI keys|
30|`MAGIC_SWAP_RALT_RGUI`|Swap the right Alt and GUI keys|
31|`MAGIC_NO_GUI`|Disable the GUI key|
32|`MAGIC_SWAP_GRAVE_ESC`|Swap the Grave and Esc key.|
33|`MAGIC_SWAP_BACKSLASH_BACKSPACE`|Swap backslack and backspace|
34|`MAGIC_HOST_NKRO`|Force NKRO on|
35|`MAGIC_SWAP_ALT_GUI`/`AG_SWAP`|Swap Alt and Gui on both sides|
36|`MAGIC_UNSWAP_CONTROL_CAPSLOCK`|Disable the Control/Capslock swap|
37|`MAGIC_UNCAPSLOCK_TO_CONTROL`|Disable treating Capslock like Control |
38|`MAGIC_UNSWAP_LALT_LGUI`|Disable Left Alt and GUI switching|
39|`MAGIC_UNSWAP_RALT_RGUI`|Disable Right Alt and GUI switching|
40|`MAGIC_UNNO_GUI`|Enable the GUI key |
41|`MAGIC_UNSWAP_GRAVE_ESC`|Disable the Grave/Esc swap |
42|`MAGIC_UNSWAP_BACKSLASH_BACKSPACE`|Disable the backslash/backspace swap|
43|`MAGIC_UNHOST_NKRO`|Force NKRO off|
44|`MAGIC_UNSWAP_ALT_GUI`/`AG_NORM`|Disable the Alt/GUI switching|
45|`MAGIC_TOGGLE_NKRO`|Turn NKRO on or off|
46
47## Audio
48
49```c
50#ifdef AUDIO_ENABLE
51 AU_ON,
52 AU_OFF,
53 AU_TOG,
54
55 #ifdef FAUXCLICKY_ENABLE
56 FC_ON,
57 FC_OFF,
58 FC_TOG,
59 #endif
60
61 // Music mode on/off/toggle
62 MU_ON,
63 MU_OFF,
64 MU_TOG,
65
66 // Music voice iterate
67 MUV_IN,
68 MUV_DE,
69#endif
70```
71
72### Midi
73
74#if !MIDI_ENABLE_STRICT || (defined(MIDI_ENABLE) && defined(MIDI_BASIC))
75 MI_ON, // send midi notes when music mode is enabled
76 MI_OFF, // don't send midi notes when music mode is enabled
77#endif
78
79MIDI_TONE_MIN,
80MIDI_TONE_MAX
81
82MI_C = MIDI_TONE_MIN,
83MI_Cs,
84MI_Db = MI_Cs,
85MI_D,
86MI_Ds,
87MI_Eb = MI_Ds,
88MI_E,
89MI_F,
90MI_Fs,
91MI_Gb = MI_Fs,
92MI_G,
93MI_Gs,
94MI_Ab = MI_Gs,
95MI_A,
96MI_As,
97MI_Bb = MI_As,
98MI_B,
99
100MIDI_TONE_KEYCODE_OCTAVES > 1
101
102where x = 1-5:
103MI_C_x,
104MI_Cs_x,
105MI_Db_x = MI_Cs_x,
106MI_D_x,
107MI_Ds_x,
108MI_Eb_x = MI_Ds_x,
109MI_E_x,
110MI_F_x,
111MI_Fs_x,
112MI_Gb_x = MI_Fs_x,
113MI_G_x,
114MI_Gs_x,
115MI_Ab_x = MI_Gs_x,
116MI_A_x,
117MI_As_x,
118MI_Bb_x = MI_As_x,
119MI_B_x,
120
121MI_OCT_Nx 1-2
122MI_OCT_x 0-7
123MIDI_OCTAVE_MIN = MI_OCT_N2,
124MIDI_OCTAVE_MAX = MI_OCT_7,
125MI_OCTD, // octave down
126MI_OCTU, // octave up
127
128MI_TRNS_Nx 1-6
129MI_TRNS_x 0-6
130MIDI_TRANSPOSE_MIN = MI_TRNS_N6,
131MIDI_TRANSPOSE_MAX = MI_TRNS_6,
132MI_TRNSD, // transpose down
133MI_TRNSU, // transpose up
134
135MI_VEL_x 1-10
136MIDI_VELOCITY_MIN = MI_VEL_1,
137MIDI_VELOCITY_MAX = MI_VEL_9,
138MI_VELD, // velocity down
139MI_VELU, // velocity up
140
141MI_CHx 1-16
142MIDI_CHANNEL_MIN = MI_CH1
143MIDI_CHANNEL_MAX = MI_CH16,
144MI_CHD, // previous channel
145MI_CHU, // next channel
146
147MI_ALLOFF, // all notes off
148
149MI_SUS, // sustain
150MI_PORT, // portamento
151MI_SOST, // sostenuto
152MI_SOFT, // soft pedal
153MI_LEG, // legato
154
155MI_MOD, // modulation
156MI_MODSD, // decrease modulation speed
157MI_MODSU, // increase modulation speed
158#endif // MIDI_ADVANCED
159
160## Backlight
161
162These keycodes control the backlight. Most keyboards use this for single color in-switch lighting.
163
164|Name|Description|
165|----|-----------|
166|`BL_x`|Set a specific backlight level between 0-9|
167|`BL_ON`|An alias for `BL_9`|
168|`BL_OFF`|An alias for `BL_0`|
169|`BL_DEC`|Turn the backlight level down by 1|
170|`BL_INC`|Turn the backlight level up by 1|
171|`BL_TOGG`|Toggle the backlight on or off|
172|`BL_STEP`|Step through backlight levels, wrapping around to 0 when you reach the top.|
173
174## RGBLIGHT WS2818 LEDs
175
176This controls the `RGBLIGHT` functionality. Most keyboards use WS2812 (and compatible) LEDs for underlight or case lighting.
177
178|Name|Description|
179|----|-----------|
180|`RGB_TOG`|toggle on/off|
181|`RGB_MOD`|cycle through modes|
182|`RGB_HUI`|hue increase|
183|`RGB_HUD`|hue decrease|
184|`RGB_SAI`|saturation increase|
185|`RGB_SAD`|saturation decrease|
186|`RGB_VAI`|value increase|
187|`RGB_VAD`|value decrease|
188
189## Thermal Printer (experimental)
190
191|Name|Description|
192|----|-----------|
193|`PRINT_ON`|Start printing everything the user types|
194|`PRINT_OFF`|Stop printing everything the user types|
195
196## Keyboard output selection
197
198This is used when multiple keyboard outputs can be selected. Currently this only allows for switching between USB and Bluetooth on keyboards that support both.
199
200|Name|Description|
201|----|-----------|
202|`OUT_AUTO`|auto mode|
203|`OUT_USB`|usb only|
204|`OUT_BT`|bluetooth (when `BLUETOOTH_ENABLE`)|
205
206## Modifiers
207
208These are special keycodes that simulate pressing several modifiers at once.
209
210|Name|Description|
211|----|-----------|
212|`KC_HYPR`|Hold down LCTL + LSFT + LALT + LGUI|
213|`KC_MEH`|Hold down LCTL + LSFT + LALT|
214
215/* FIXME: Should we have these in QMK too?
216 * |`KC_LCAG`|`LCTL` + `LALT` + `LGUI`|
217 * |`KC_ALTG`|`RCTL` + `RALT`|
218 * |`KC_SCMD`/`KC_SWIN`|`LGUI` + `LSFT`|
219 * |`KC_LCA`|`LCTL` + `LALT`|
220 */
221
222### Modifiers with keys
223
224|Name|Description|
225|----|-----------|
226|`LCTL(kc)`|`LCTL` + `kc`|
227|`LSFT(kc)`/`S(kc)`|`LSFT` + `kc`|
228|`LALT(kc)`|`LALT` + `kc`|
229|`LGUI(kc)`|`LGUI` + `kc`|
230|`RCTL(kc)`|`RCTL` + `kc`|
231|`RSFT(kc)`|`RSFT` + `kc`|
232|`RALT(kc)`|`RALT` + `kc`|
233|`RGUI(kc)`|`RGUI` + `kc`|
234|`HYPR(kc)`|`LCTL` + `LSFT` + `LALT` + `LGUI` + `kc`|
235|`MEH(kc)`|`LCTL` + `LSFT` + `LALT` + `kc`|
236|`LCAG(kc)`|`LCTL` + `LALT` + `LGUI` + `kc`|
237|`ALTG(kc)`|`RCTL` + `RALT` + `kc`|
238|`SCMD(kc)`/`SWIN(kc)`|`LGUI` + `LSFT` + `kc`|
239|`LCA(kc)`|`LCTL` + `LALT` + `kc`|
240
241### One Shot Keys
242
243Most modifiers work by being held down while you push another key. You can use `OSM()` to setup a "One Shot" modifier. When you tap a one shot mod it will remain is a pressed state until you press another key.
244
245To specify a your modifier you need to pass the `MOD` form of the key. For example, if you want to setup a One Shot Control you would use `OSM(MOD_LCTL)`.
246
247|Name|Description|
248|----|-----------|
249|`OSM(mod)`|use mod for one keypress|
250|`OSL(layer)`|switch to layer for one keypress|
251
252### Mod-tap keys
253
254These keycodes will press the mod(s) when held, and the key when tapped. They only work with [basic keycodes](basic_keycodes.md).
255
256|Name|Description|
257|----|-----------|
258|`CTL_T(kc)`/`LCTL_T(kc)`|`LCTL` when held, `kc` when tapped|
259|`RCTL_T(kc)`|`RCTL` when held, `kc` when tapped|
260|`SFT_T(kc)`/`LSFT_T(kc)`|`LSFT` when held, `kc` when tapped|
261|`RSFT_T(kc)`|`RSFT` when held, `kc` when tapped|
262|`ALT_T(kc)`/`LALT_T(kc)`|`LALT` when held, `kc` when tapped|
263|`RALT_T(kc)`/`ALGR_T(kc)`|`RALT` when held, `kc` when tapped|
264|`GUI_T(kc)`/`LGUI_T(kc)`|`LGUI` when held, `kc` when tapped|
265|`RGUI_T(kc)`|`RGUI` when held, `kc` when tapped|
266|`C_S_T(kc)`|`LCTL` + `LSFT` when held, `kc` when tapped|
267|`MEH_T(kc)`|`LCTL` + `LSFT` + `LALT` when held, `kc` when tapped|
268|`LCAG_T(kc)`|`LCTL` + `LALT` + `LGUI` when held, `kc` when tapped|
269|`RCAG_T(kc)`|`RCTL` + `RALT` + `RGUI` when held, `kc` when tapped|
270|`ALL_T(kc)`|`LCTL` + `LSFT` + `LALT` + `LGUI` when held, `kc` when tapped [more info](http://brettterpstra.com/2012/12/08/a-useful-caps-lock-key/)|
271|`SCMD_T(kc)`/`SWIN_T(kc)`|`LGUI` + `LSFT` when held, `kc` when tapped|
272|`LCA_T(kc)`|`LCTL` + `LALT` when held, `kc` when tapped|
273
274## US ANSI Shifted symbols
275
276These keycodes correspond to characters that are "shifted" on a standard US ANSI keyboards. They do not have dedicated keycodes but are instead typed by holding down shift and then sending a keycode.
277
278It's important to remember that all of these keycodes send a left shift - this may cause unintended actions if unaccounted for. The short code is preferred in most situations.
279
280|Short Name|Long Name|Description|
281|----------|---------|-----------|
282|`KC_TILD`|`KC_TILDE`|tilde `~`|
283|`KC_EXLM`|`KC_EXCLAIM`|exclamation mark `!`|
284|`KC_AT`||at sign `@`|
285|`KC_HASH`||hash sign `#`|
286|`KC_DLR`|`KC_DOLLAR`|dollar sign `$`|
287|`KC_PERC`|`KC_PERCENT`|percent sign `%`|
288|`KC_CIRC`|`KC_CIRCUMFLEX`|circumflex `^`|
289|`KC_AMPR`|`KC_AMPERSAND`|ampersand `&`|
290|`KC_ASTR`|`KC_ASTERISK`|asterisk `*`|
291|`KC_LPRN`|`KC_LEFT_PAREN`|left parenthesis `(`|
292|`KC_RPRN`|`KC_RIGHT_PAREN`|right parenthesis `)`|
293|`KC_UNDS`|`KC_UNDERSCORE`|underscore `_`|
294|`KC_PLUS`||plus sign `+`|
295|`KC_LCBR`|`KC_LEFT_CURLY_BRACE`|left curly brace `{`|
296|`KC_RCBR`|`KC_RIGHT_CURLY_BRACE`|right curly brace `}`|
297|`KC_LT`/`KC_LABK`|`KC_LEFT_ANGLE_BRACKET`|left angle bracket `<`|
298|`KC_GT`/`KC_RABK`|`KC_RIGHT_ANGLE_BRACKET`|right angle bracket `>`|
299|`KC_COLN`|`KC_COLON`|colon `:`|
300|`KC_PIPE`||pipe `\|`|
301|`KC_QUES`|`KC_QUESTION`|question mark `?`|
302|`KC_DQT`/`KC_DQUO`|`KC_DOUBLE_QUOTE`|double quote `"`|
303
304## Layer Changes
305
306These are keycodes that can be used to change the current layer.
307
308|Name|Description|
309|----|-----------|
310|`LT(layer, kc)`|turn on layer (0-15) when held, kc ([basic keycodes](basic_keycodes.md)) when tapped|
311|`TO(layer)`|turn on layer when depressed|
312|`MO(layer)`|momentarily turn on layer when depressed (requires `KC_TRNS` on destination layer)|
313|`DF(layer)`|sets the base (default) layer|
314|`TG(layer)`|toggle layer on/off|
315|`TT(layer)`|tap toggle? idk FIXME|
316|`OSL(layer)`|switch to layer for one keycode|
317
318## Unicode
319
320These keycodes can be used in conjuction with the [Unicode](unicode_and_additional_language_support.md) support.
321
322|`UNICODE(n)`/`UC(n)`|if `UNICODE_ENABLE`, this will send characters up to `0x7FFF`|
323|`X(n)`|if `UNICODEMAP_ENABLE`, also sends unicode via a different method|
324
325# `SAFE_RANGE`, or safely defining custom keycodes
326
327Sometimes you want to define your own custom keycodes to make your keymap easier to read. QMK provides `SAFE_RANGE` to help you do that. `SAFE_RANGE` is the first available keycode in the `0x0000`-`0xFFFF` range and you can use it when creating your own custom keycode enum:
328
329```
330enum my_keycodes {
331 FOO = SAFE_RANGE,
332 BAR
333};
334```
335
336You can then use `process_record_user()` to do something with your keycode:
337
338```
339bool process_record_user(uint16_t keycode, keyrecord_t *record) {
340 switch (keycode) {
341 case FOO:
342 // Do something here
343 break;
344 case BAR:
345 // Do something here
346 break;
347 }
348}
349```
diff --git a/docs/report_descriptor.md b/docs/report_descriptor.md
deleted file mode 100644
index fd5e96c67..000000000
--- a/docs/report_descriptor.md
+++ /dev/null
@@ -1 +0,0 @@
1# Get Report Descriptor with lsusb \ No newline at end of file
diff --git a/docs/tap_dance.md b/docs/tap_dance.md
index 25827a648..38b2ee999 100644
--- a/docs/tap_dance.md
+++ b/docs/tap_dance.md
@@ -1,5 +1,7 @@
1# Tap Dance: A single key can do 3, 5, or 100 different things 1# Tap Dance: A single key can do 3, 5, or 100 different things
2 2
3<!-- FIXME: Break this up into multiple sections -->
4
3Hit the semicolon key once, send a semicolon. Hit it twice, rapidly -- send a colon. Hit it three times, and your keyboard's LEDs do a wild dance. That's just one example of what Tap Dance can do. It's one of the nicest community-contributed features in the firmware, conceived and created by [algernon](https://github.com/algernon) in [#451](https://github.com/qmk/qmk_firmware/pull/451). Here's how algernon describes the feature: 5Hit the semicolon key once, send a semicolon. Hit it twice, rapidly -- send a colon. Hit it three times, and your keyboard's LEDs do a wild dance. That's just one example of what Tap Dance can do. It's one of the nicest community-contributed features in the firmware, conceived and created by [algernon](https://github.com/algernon) in [#451](https://github.com/qmk/qmk_firmware/pull/451). Here's how algernon describes the feature:
4 6
5With this feature one can specify keys that behave differently, based on the amount of times they have been tapped, and when interrupted, they get handled before the interrupter. 7With this feature one can specify keys that behave differently, based on the amount of times they have been tapped, and when interrupted, they get handled before the interrupter.
@@ -34,7 +36,9 @@ Our next stop is `matrix_scan_tap_dance()`. This handles the timeout of tap-danc
34 36
35For the sake of flexibility, tap-dance actions can be either a pair of keycodes, or a user function. The latter allows one to handle higher tap counts, or do extra things, like blink the LEDs, fiddle with the backlighting, and so on. This is accomplished by using an union, and some clever macros. 37For the sake of flexibility, tap-dance actions can be either a pair of keycodes, or a user function. The latter allows one to handle higher tap counts, or do extra things, like blink the LEDs, fiddle with the backlighting, and so on. This is accomplished by using an union, and some clever macros.
36 38
37### Examples 39# Examples
40
41## Simple Example
38 42
39Here's a simple example for a single definition: 43Here's a simple example for a single definition:
40 44
@@ -59,6 +63,8 @@ qk_tap_dance_action_t tap_dance_actions[] = {
59TD(TD_ESC_CAPS) 63TD(TD_ESC_CAPS)
60``` 64```
61 65
66## Complex Example
67
62Here's a more complex example involving custom actions: 68Here's a more complex example involving custom actions:
63 69
64```c 70```c
diff --git a/docs/test_for_asciidoc.asciidoc b/docs/test_for_asciidoc.asciidoc
deleted file mode 100644
index ce57d2781..000000000
--- a/docs/test_for_asciidoc.asciidoc
+++ /dev/null
@@ -1,17 +0,0 @@
1
2
3
4.Makefile
5[source,Makefile]
6----
7# Build Options
8# comment out to disable the options.
9#
10BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
11MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
12EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
13CONSOLE_ENABLE = yes # Console for debug(+400)
14COMMAND_ENABLE = yes # Commands for debug and configuration
15#SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
16NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
17---- \ No newline at end of file
diff --git a/docs/tmk_based_projects.md b/docs/tmk_based_projects.md
deleted file mode 100644
index 0597b04c3..000000000
--- a/docs/tmk_based_projects.md
+++ /dev/null
@@ -1,34 +0,0 @@
1## TMK based projects
2Add your project here!
3See https://github.com/tmk/tmk_keyboard/issues/173
4
5### keyboards
6**S60-X**: [DIY 60% keyboard](https://www.massdrop.com/buy/sentraq-60-diy-keyboard-kit?mode=guest_open) designed by [VinnyCordeiro](https://github.com/VinnyCordeiro) for Sentraq:
7- https://github.com/VinnyCordeiro/tmk_keyboard
8
9**Octagon V1**: Korean custom keyboard designed by Duck.
10- https://github.com/xauser/tmk_keyboard/tree/xauser
11
12**Compact L3**: Custom keyboard designed by LifeZone and LeeKu.
13- https://github.com/xauser/tmk_keyboard/tree/xauser
14
15**KMAC, 1,2 and Happy**: Custom keyboard designed by kbdmania.
16- https://github.com/ageaenes/tmk_keyboard
17
18**P60**: [DIY wired 60% keyboard](https://imgur.com/a/zwsDN) by [p3lim](https://github.com/p3lim).
19- https://github.com/p3lim/keyboard_firmware
20
21**Nerd, Kitten Paw, Lightsaber, Phantom, Lightpad, Ergodox** on [xauser](https://github.com/xauser)'s repository
22- https://github.com/xauser/tmk_keyboard/tree/xauser
23
24**ErgoDox** on [cub-unanic](https://github.com/cub-uanic)'s repository
25- https://github.com/cub-uanic/tmk_keyboard/tree/master/keyboard/ergodox
26
27**Atreus** by [technomancy](https://atreus.technomancy.us)
28- https://github.com/technomancy/tmk_keyboard/tree/atreus/keyboard/atreus
29
30**[mcdox](https://github.com/DavidMcEwan/mcdox)**
31- https://github.com/DavidMcEwan/tmk_keyboard/tree/master/keyboard/mcdox
32
33
34### converters \ No newline at end of file
diff --git a/docs/tmk_own_projects.md b/docs/tmk_own_projects.md
deleted file mode 100644
index fb5b2c990..000000000
--- a/docs/tmk_own_projects.md
+++ /dev/null
@@ -1,69 +0,0 @@
1## TMK own projects by hasu
2Located in [tmk_keyboard](https://github.com/tmk/tmk_keyboard/tree/master/) repository.
3
4### converter
5* [ps2_usb] - [PS/2 keyboard to USB][GH_ps2]
6* [adb_usb] - [ADB keyboard to USB][GH_adb]
7* [m0110_usb] - [Macintosh 128K/512K/Plus keyboard to USB][GH_m0110]
8* [terminal_usb] - [IBM Model M terminal keyboard(PS/2 scancode set3) to USB][GH_terminal]
9* [news_usb] - [Sony NEWS keyboard to USB][GH_news]
10* [x68k_usb] - [Sharp X68000 keyboard to USB][GH_x68k]
11* [sun_usb] - [Sun] to USB(type4, 5 and 3?)
12* [pc98_usb] - [PC98] to USB
13* [usb_usb] - USB to USB(experimental)
14* [ascii_usb] - ASCII(Serial console terminal) to USB
15* [ibm4704_usb] - [IBM 4704 keyboard Converter][GH_ibm4704]
16
17### keyboard
18* [hhkb] - [Happy Hacking Keyboard pro][GH_hhkb]
19* [gh60] - [GH60][GH60_diy] DIY 60% keyboard [prototype][GH60_proto]
20* [hbkb] - [Happy Buckling spring keyboard][GH_hbkb](IBM Model M 60% mod)
21* [hid_liber] - [HID liberation][HID_liber] controller (by alaricljs)
22* [phantom] - [Phantom] keyboard (by Tranquilite)
23* [IIgs_Standard] - Apple [IIGS] keyboard mod(by JeffreySung)
24* [macway] - [Compact keyboard mod][GH_macway] [retired]
25* [KMAC] - Korean custom keyboard
26* [Lightsaber] - Korean custom keyboard
27
28[ps2_usb]: https://github.com/tmk/tmk_keyboard/tree/master/converter/ps2_usb/
29[adb_usb]: https://github.com/tmk/tmk_keyboard/tree/master/converter/adb_usb/
30[m0110_usb]: https://github.com/tmk/tmk_keyboard/tree/master/converter/m0110_usb
31[terminal_usb]: https://github.com/tmk/tmk_keyboard/tree/master/converter/terminal_usb/
32[news_usb]: https://github.com/tmk/tmk_keyboard/tree/master/converter/news_usb/
33[x68k_usb]: https://github.com/tmk/tmk_keyboard/tree/master/converter/x68k_usb/
34[sun_usb]: https://github.com/tmk/tmk_keyboard/tree/master/converter/sun_usb/
35[pc98_usb]: https://github.com/tmk/tmk_keyboard/tree/master/converter/pc98_usb/
36[usb_usb]: https://github.com/tmk/tmk_keyboard/tree/master/converter/usb_usb/
37[ascii_usb]: https://github.com/tmk/tmk_keyboard/tree/master/converter/ascii_usb/
38[ibm4704_usb]: https://github.com/tmk/tmk_keyboard/tree/master/converter/ibm4704_usb
39[hhkb]: https://github.com/tmk/tmk_keyboard/tree/master/keyboard/hhkb/
40[gh60]: https://github.com/tmk/tmk_keyboard/tree/master/keyboard/gh60/
41[hbkb]: https://github.com/tmk/tmk_keyboard/tree/master/keyboard/hbkb/
42[hid_liber]: https://github.com/tmk/tmk_keyboard/tree/master/keyboard/hid_liber/
43[phantom]: https://github.com/tmk/tmk_keyboard/tree/master/keyboard/phantom/
44[IIgs_Standard]: https://github.com/tmk/tmk_keyboard/tree/master/keyboard/IIgs/
45[macway]: https://github.com/tmk/tmk_keyboard/tree/master/keyboard/macway/
46[KMAC]: https://github.com/tmk/tmk_keyboard/tree/master/keyboard/kmac/
47[Lightsaber]: https://github.com/tmk/tmk_keyboard/tree/master/keyboard/lightsaber/
48
49[GH_macway]: http://geekhack.org/showwiki.php?title=Island:11930
50[GH_hhkb]: http://geekhack.org/showwiki.php?title=Island:12047
51[GH_ps2]: http://geekhack.org/showwiki.php?title=Island:14618
52[GH_adb]: http://geekhack.org/showwiki.php?title=Island:14290
53[GH_hhkb_bt]: http://geekhack.org/showwiki.php?title=Island:20851
54[GH_m0110]: http://geekhack.org/showwiki.php?title=Island:24965
55[GH_news]: http://geekhack.org/showwiki.php?title=Island:25759
56[GH_terminal]: http://geekhack.org/showwiki.php?title=Island:27272
57[GH_x68k]: http://geekhack.org/showwiki.php?title=Island:29060
58[GH_hbkb]: http://geekhack.org/showwiki.php?title=Island:29483
59[GH_ibm4704]: http://geekhack.org/index.php?topic=54706.0
60[HID_liber]: http://deskthority.net/wiki/HID_Liberation_Device_-_DIY_Instructions
61[Phantom]: http://geekhack.org/index.php?topic=26742
62[GH60_diy]: http://geekhack.org/index.php?topic=34959
63[GH60_proto]: http://geekhack.org/index.php?topic=37570.0
64[PC98]: http://en.wikipedia.org/wiki/NEC_PC-9801
65[Sun]: http://en.wikipedia.org/wiki/Sun-3
66[IIGS]: http://en.wikipedia.org/wiki/Apple_IIGS
67
68
69See other [[TMK Based Projects]] \ No newline at end of file
diff --git a/docs/tmk_readme.md b/docs/tmk_readme.md
deleted file mode 100644
index 85cf68d57..000000000
--- a/docs/tmk_readme.md
+++ /dev/null
@@ -1,243 +0,0 @@
1# TMK Documenation
2
3Features
4--------
5These features can be used in your keyboard.
6
7* Multi-layer Keymap - Multiple keyboard layouts with layer switching
8* Mouse key - Mouse control with keyboard
9* System Control Key - Power Down, Sleep, Wake Up and USB Remote Wake up
10* Media Control Key - Volume Down/Up, Mute, Next/Prev track, Play, Stop and etc
11* USB NKRO - 120 keys(+ 8 modifiers) simultaneously
12* PS/2 mouse support - PS/2 mouse(TrackPoint) as composite device
13* Keyboard protocols - PS/2, ADB, M0110, Sun and other old keyboard protocols
14* User Function - Customizable function of key with writing code
15* Macro - Very primitive at this time
16* Keyboard Tricks - Oneshot modifier and modifier with tapping feature
17* Debug Console - Messages for debug and interaction with firmware
18* Virtual DIP Switch - Configurations stored EEPROM(Boot Magic)
19* Locking CapsLock - Mechanical switch support for CapsLock
20* Breathing Sleep LED - Sleep indicator with charm during USB suspend
21* Backlight - Control backlight levels
22
23
24
25Projects
26--------
27You can find some keyboard specific projects under `converter` and `keyboard` directory.
28
29## Main projects
30
31### OLKB products
32* [planck](keyboards/planck/) - [Planck] Ortholinear 40% keyboard
33* [preonic](keyboards/preonic/) - [Preonic] Ortholinear 50% keyboard
34* [atomic](keyboards/atomic/) - [Atomic] Ortholinear 60% keyboard
35
36### Ergodox EZ
37* [ergodox_ez](keyboards/ergodox/ez) - [Ergodox_EZ] Assembled split keyboard
38
39## Other projects
40
41### converter
42* [ps2_usb](converter/ps2_usb/) - [PS/2 keyboard to USB][GH_ps2]
43* [adb_usb](converter/adb_usb/) - [ADB keyboard to USB][GH_adb]
44* [m0110_usb](converter/m0110_usb) - [Macintosh 128K/512K/Plus keyboard to USB][GH_m0110]
45* [terminal_usb](converter/terminal_usb/) - [IBM Model M terminal keyboard(PS/2 scancode set3) to USB][GH_terminal]
46* [news_usb](converter/news_usb/) - [Sony NEWS keyboard to USB][GH_news]
47* [x68k_usb](converter/x68k_usb/) - [Sharp X68000 keyboard to USB][GH_x68k]
48* [sun_usb](converter/sun_usb/) - [Sun] to USB(type4, 5 and 3?)
49* [pc98_usb](converter/pc98_usb/) - [PC98] to USB
50* [usb_usb](converter/usb_usb/) - USB to USB(experimental)
51* [ascii_usb](converter/ascii_usb/) - ASCII(Serial console terminal) to USB
52* [ibm4704_usb](converter/ibm4704_usb) - [IBM 4704 keyboard Converter][GH_ibm4704]
53
54### keyboard
55* [hhkb](keyboards/hhkb/) - [Happy Hacking Keyboard pro][GH_hhkb] hasu's main board
56* [gh60](keyboards/gh60/) - [GH60] DIY 60% keyboard [prototype][GH60_proto] hasu's second board
57* [hbkb](keyboards/hbkb/) - [Happy Buckling spring keyboard][GH_hbkb](IBM Model M 60% mod)
58* [hid_liber](keyboards/hid_liber/) - [HID liberation][HID_liber] controller (by alaricljs)
59* [phantom](keyboards/phantom/) - [Phantom] keyboard (by Tranquilite)
60* [IIgs_Standard](keyboards/IIgs/) - Apple [IIGS] keyboard mod(by JeffreySung)
61* [macway](keyboards/macway/) - [Compact keyboard mod][GH_macway] [retired]
62* [KMAC](keyboards/kmac/) - Korean custom keyboard
63* [Lightsaber](keyboards/lightsaber/) - Korean custom keyboard
64* [Infinity](keyboards/infinity/) - Massdrop [Infinity keyboard][Infinity]
65* [NerD](keyboards/nerd/) - Korean custom keyboard
66* [KittenPaw](keyboards/kitten_paw) - Custom Majestouch controller
67* [Lightpad](keyboards/lightpad) - Korean custom keypad
68* [ghost_squid](keyboards/ghost_squid/) - [The Ghost Squid][ghost_squid] controller for [Cooler Master QuickFire XT][cmxt]
69
70### Extenal projects using tmk_keyboard
71* [ErgoDox_cub-uanic][cub-uanic] - Split Ergonomic Keyboard [ErgoDox][ergodox_org]
72* [mcdox][mcdox_tmk] - [mcdox][mcdox]
73
74
75[GH_macway]: http://geekhack.org/showwiki.php?title=Island:11930
76[GH_hhkb]: http://geekhack.org/showwiki.php?title=Island:12047
77[GH_ps2]: http://geekhack.org/showwiki.php?title=Island:14618
78[GH_adb]: http://geekhack.org/showwiki.php?title=Island:14290
79[GH_hhkb_bt]: http://geekhack.org/showwiki.php?title=Island:20851
80[GH_m0110]: http://geekhack.org/showwiki.php?title=Island:24965
81[GH_news]: http://geekhack.org/showwiki.php?title=Island:25759
82[GH_terminal]: http://geekhack.org/showwiki.php?title=Island:27272
83[GH_x68k]: http://geekhack.org/showwiki.php?title=Island:29060
84[GH_hbkb]: http://geekhack.org/showwiki.php?title=Island:29483
85[GH_ibm4704]: http://geekhack.org/index.php?topic=54706.0
86[HID_liber]: http://deskthority.net/wiki/HID_Liberation_Device_-_DIY_Instructions
87[Phantom]: http://geekhack.org/index.php?topic=26742
88[GH60]: http://geekhack.org/index.php?topic=34959
89[GH60_proto]: http://geekhack.org/index.php?topic=37570.0
90[PC98]: http://en.wikipedia.org/wiki/NEC_PC-9801
91[Sun]: http://en.wikipedia.org/wiki/Sun-3
92[IIGS]: http://en.wikipedia.org/wiki/Apple_IIGS
93[Infinity]: https://www.massdrop.com/buy/infinity-keyboard-kit
94[ghost_squid]: http://deskthority.net/wiki/Costar_replacement_controllers#The_Ghost_Squid
95[cmxt]: http://gaming.coolermaster.com/en/products/keyboard/quickfirext/
96[ergodox_org]: http://ergodox.org/
97[cub-uanic]: https://github.com/cub-uanic/tmk_keyboard/tree/master/keyboard/ergodox
98[mcdox]: https://github.com/DavidMcEwan/mcdox
99[mcdox_tmk]: https://github.com/DavidMcEwan/tmk_keyboard/tree/master/keyboard/mcdox
100[Planck]: http://olkb.co/planck
101[Preonic]: http://olkb.co/preonic
102[Atomic]: http://olkb.co/atomic
103[Ergodox_EZ]: https://www.indiegogo.com/projects/ergodox-ez-an-incredible-mechanical-keyboard
104
105
106License
107-------
108**GPLv2** or later. Some protocol files are under **Modified BSD License**.
109
110Third party libraries like LUFA, PJRC and V-USB have their own license respectively.
111
112
113
114Build Firmware and Program Controller
115-------------------------------------
116See [build environment setup](build_environment_setup.md), or the readme in the particular keyboards/* folder.
117
118
119
120Change your keymap
121------------------
122See [keymap.md](keymap.md).
123
124
125
126Magic Commands
127--------------
128To see help press `Magic` + `H`.
129
130`Magic` key combination is `LShift` + `RShift` in many project, but `Power` key on ADB converter.
131`Magic` keybind can be vary on each project, check `config.h` in project directory.
132
133Following commands can be also executed with `Magic` + key. In console mode `Magic` keybind is not needed.
134
135 ----- Command Help -----
136 c: enter console mode
137 d: toggle debug enable
138 x: toggle matrix debug
139 k: toggle keyboard debug
140 m: toggle mouse debug
141 v: print device version & info
142 t: print timer count
143 s: print status
144 e: print eeprom config
145 n: toggle NKRO
146 0/F10: switch to Layer0
147 1/F1: switch to Layer1
148 2/F2: switch to Layer2
149 3/F3: switch to Layer3
150 4/F4: switch to Layer4
151 PScr: power down/remote wake-up
152 Caps: Lock Keyboard(Child Proof)
153 Paus: jump to bootloader
154
155
156
157Boot Magic Configuration - Virtual DIP Switch
158---------------------------------------------
159Boot Magic are executed during boot up time. Press Magic key below then plug in keyboard cable.
160Note that you must use keys of **Layer 0** as Magic keys. These settings are stored in EEPROM so that retain your configure over power cycles.
161
162To avoid configuring accidentally additive salt key `KC_SPACE` also needs to be pressed along with the following configuration keys. The salt key is configurable in `config.h`. See [tmk_core/common/bootmagic.h](/tmk_core/common/bootmagic.h).
163
164#### General
165- Skip reading EEPROM to start with default configuration(`ESC`)
166- Clear configuration stored in EEPROM to reset configuration(`Backspace`)
167
168#### Bootloader
169- Kick up Bootloader(`B`)
170
171#### Debug
172- Debug enable(`D`)
173- Debug matrix enable(`D`+`X`)
174- Debug keyboard enable(`D`+`K`)
175- Debug mouse enable(`D`+`M`)
176
177#### Keymap
178- Swap Control and CapsLock(`Left Control`)
179- Change CapsLock to Control(`Caps Lock`)
180- Swap LeftAlt and Gui(`Left Alt`)
181- Swap RightAlt and Gui(`Right Alt`)
182- Disable Gui(`Left Gui`)
183- Swap Grave and Escape(`Grave`)
184- Swap BackSlash and BackSpace(`Back Slash`)
185- Enable NKRO on boot(`N`)
186
187#### Default Layer
188- Set Default Layer to 0(`0`)
189- Set Default Layer to 1(`1`)
190- Set Default Layer to 2(`2`)
191- Set Default Layer to 3(`3`)
192- Set Default Layer to 4(`4`)
193- Set Default Layer to 5(`5`)
194- Set Default Layer to 6(`6`)
195- Set Default Layer to 7(`7`)
196
197
198
199Mechanical Locking support
200--------------------------
201This feature makes it possible for you to use mechanical locking switch for `CapsLock`, `NumLock`
202or `ScrollLock`. To enable this feature define these macros in `config.h` and use `KC_LCAP`, `KC_LN
203UM` or `KC_LSCR` in keymap for locking key instead of normal `KC_CAPS`, `KC_NLCK` or `KC_SLCK`. Res
204ync option tries to keep switch state consistent with keyboard LED state.
205
206 #define LOCKING_SUPPORT_ENABLE
207 #define LOCKING_RESYNC_ENABLE
208
209
210
211Start Your Own Project
212-----------------------
213**TBD**
214
215
216
217Debugging
218--------
219Use PJRC's `hid_listen` to see debug messages. You can use the tool for debug even if firmware use LUFA stack.
220
221You can use xprintf() to display debug info on `hid_listen`, see `tmk_core/common/xprintf.h`.
222
223
224
225Files and Directories
226-------------------
227### Top
228* tmk_core/ - core library
229* keyboards/ - keyboard projects
230* converter/ - protocol converter projects
231* doc/ - documents
232
233
234
235Coding Style
236-------------
237- Doesn't use Tab to indent, use 4-spaces instead.
238
239
240
241Other Keyboard Firmware Projects
242------------------
243You can learn a lot about keyboard firmware from these. See [docs/other_projects.md](other_projects.md).
diff --git a/docs/understanding_qmk.md b/docs/understanding_qmk.md
new file mode 100644
index 000000000..28927f0ef
--- /dev/null
+++ b/docs/understanding_qmk.md
@@ -0,0 +1,172 @@
1# Understanding QMK's Code
2
3This document attempts to explain how the QMK firmware works from a very high level. It assumes you understand basic programming concepts but does not (except where needed to demonstrate) assume familiarity with C. It assumes that you have a basic understanding of the following documents:
4
5* [QMK Overview](qmk_overview.md)
6* [How Keyboards Work](basic_how_keyboards_work.md)
7* [FAQ](faq.md)
8
9## Startup
10
11You can think of QMK as no different from any other computer program. It is started, performs its tasks, and then ends. The entry point for the program is the `main()` function, just like it is on any other C program. However, for a newcomer to QMK it can be confusing because the `main()` function appears in multiple places, and it can be hard to tell which one to look at.
12
13The reason for this is the different platforms that QMK supports. The most common platform is `lufa`, which runs on AVR processors such at the atmega32u4. We also support `chibios` and `vusb`.
14
15We'll focus on AVR processors for the moment, which use the `lufa` platform. You can find the `main()` function in [tmk_core/protocol/lufa/lufa.c](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/protocol/lufa/lufa.c#L1129). If you browse through that function you'll find that it initializes any hardware that has been configured (including USB to the host) and then it starts the core part of the program with a [`while(1)`](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/protocol/lufa/lufa.c#L1182). This is [The Main Loop](#the_main_loop).
16
17## The Main Loop
18
19This section of code is called "The Main Loop" because it's responsible for looping over the same set of instructions forever. This is where QMK dispatches out to the functions responsible for making the keyboard do everything it is supposed to do. At first glance it can look like a lot of functionality but most of the time the code will be disabled by `#define`'s.
20
21```
22 keyboard_task();
23```
24
25This is where all the keyboard specific functionality is dispatched. The source code for `keyboard_task()` can be found in [tmk_core/common/keyboard.c](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/common/keyboard.c#L154), and it is responsible for detecting changes in the matrix and turning status LED's on and off.
26
27Within `keyboard_task()` you'll find code to handle:
28
29* [Matrix Scanning](#matrix-scanning)
30* Mouse Handling
31* Serial Link(s)
32* Visualizer
33* Keyboard status LED's (Caps Lock, Num Lock, Scroll Lock)
34
35#### Matrix Scanning
36
37Matrix scanning is the core function of a keyboard firmware. It is the process of detecting which keys are currently pressed, and your keyboard runs this function many times a second. It's no exaggeration to say that 99% of your firmware's CPU time is spent on matrix scanning.
38
39While there are different strategies for doing the actual matrix detection, they are out of scope for this document. It is sufficient to treat matrix scanning as a black box, you ask for the matrix's current state and get back a datastructure that looks like this:
40
41
42```
43{
44 {0,0,0,0},
45 {0,0,0,0},
46 {0,0,0,0},
47 {0,0,0,0},
48 {0,0,0,0}
49}
50```
51
52That datastructure is a direct representation of the matrix for a 4 row by 5 column numpad. When a key is pressed that key's position within the matrix will be returned as `1` instead of `0`.
53
54Matrix Scanning runs many times per second. The exact rate varies but typically it runs at least 10 times per second to avoid perceptible lag.
55
56##### Matrix to Physical Layout Map
57
58Once we know the state of every switch on our keyboard we have to map that to a keycode. In QMK this is done by making use of C macros to allow us to separate the definition of the physical layout from the definition of keycodes.
59
60At the keyboard level we define a C macro (typically named `KEYMAP()`) which maps our keyboard's matrix to physical keys. Sometimes the matrix does not have a switch in every location, and we can use this macro to pre-populate those with KC_NO, making the keymap definition easier to work with. Here's an example `KEYMAP()` macro for a numpad:
61
62```c
63#define KEYMAP( \
64 k00, k01, k02, k03, \
65 k10, k11, k12, k13, \
66 k20, k21, k22, \
67 k30, k31, k32, k33, \
68 k40, k42 \
69) { \
70 { k00, k01, k02, k03, }, \
71 { k10, k11, k12, k13, }, \
72 { k20, k21, k22, KC_NO, }, \
73 { k30, k31, k32, k33, }, \
74 { k40, KC_NO, k42, KC_NO } \
75}
76```
77
78Notice how the second block of our `KEYMAP()` macro matches the Matrix Scanning array above? This macro is what will map the matrix scanning array to keycodes. However, if you look at a 17 key numpad you'll notice that it has 3 places where the matrix could have a switch but doesn't, due to larger keys. We have populated those spaces with `KC_NO` so that our keymap definition doesn't have to.
79
80You can also use this macro to handle unusual matrix layouts, for example the [Clueboard rev 2](https://github.com/qmk/qmk_firmware/blob/master/keyboards/clueboard/rev2/rev2.h). Explaining that is outside the scope of this document.
81
82##### Keycode Assignment
83
84At the keymap level we make use of our `KEYMAP()` macro above to map keycodes to physical locations to matrix locations. It looks like this:
85
86```
87const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
88[0] = KEYMAP(
89 KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, \
90 KC_P7, KC_P8, KC_P9, KC_PPLS, \
91 KC_P4, KC_P5, KC_P6, \
92 KC_P1, KC_P2, KC_P3, KC_PENT, \
93 KC_P0, KC_PDOT)
94}
95```
96
97Notice how all of these arguments match up with the first half of the `KEYMAP()` macro from the last section? This is how we take a keycode and map it to our Matrix Scan from earlier.
98
99##### State Change Detection
100
101The matrix scanning described above tells us the state of the matrix at a given moment, but your computer only wants to know about changes, it doesn't care about the current state. QMK stores the results from the last matrix scan and compares the results from this matrix to determine when a key has been pressed or released.
102
103Let's look at an example. We'll hop into the middle of a keyboard scanning loop to find that our previous scan looks like this:
104
105```
106{
107 {0,0,0,0},
108 {0,0,0,0},
109 {0,0,0,0},
110 {0,0,0,0},
111 {0,0,0,0}
112}
113```
114
115And when our current scan completes it will look like this:
116
117```
118{
119 {1,0,0,0},
120 {0,0,0,0},
121 {0,0,0,0},
122 {0,0,0,0},
123 {0,0,0,0}
124}
125```
126
127Comparing against our keymap we can see that the pressed key is KC_NLCK. From here we dispatch to the `process_record` set of functions.
128
129<!-- FIXME: Magic happens between here and process_record -->
130
131##### Process Record
132
133The `process_record()` function itself is deceptively simple, but hidden within is a gateway to overriding functionality at various levels of QMK. The chain of events is described below, using cluecard whenever we need to look at the keyboard/keymap level functions.
134
135* [`void process_record(keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/common/action.c#L128)
136 * [`bool process_record_quantum(keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/quantum/quantum.c#L140)
137 * [Map this record to a keycode](https://github.com/qmk/qmk_firmware/blob/master/quantum/quantum.c#L143)
138 * [`bool process_record_kb(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/keyboards/cluecard/cluecard.c#L20)
139 * [`bool process_record_user(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/keyboards/cluecard/keymaps/default/keymap.c#L58)
140 * [`bool process_midi(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/quantum/process_keycode/process_midi.c#L102)
141 * [`bool process_audio(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/quantum/process_keycode/process_audio.c#L10)
142 * [`bool process_music(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/quantum/process_keycode/process_music.c#L69)
143 * [`bool process_tap_dance(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/quantum/process_keycode/process_tap_dance.c#L75)
144 * [`bool process_leader(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/quantum/process_keycode/process_leader.c#L32)
145 * [`bool process_chording(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/quantum/process_keycode/process_chording.c#L41)
146 * [`bool process_combo(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/quantum/process_keycode/process_combo.c#L115)
147 * [`bool process_unicode(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/quantum/process_keycode/process_unicode.c#L22)
148 * [`bool process_ucis(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/quantum/process_keycode/process_ucis.c#L91)
149 * [`bool process_printer(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/quantum/process_keycode/process_printer.c#L77)
150 * [`bool process_unicode_map(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/quantum/process_keycode/process_unicodemap.c#L47)
151 * [Identify and process quantum specific keycodes](https://github.com/qmk/qmk_firmware/blob/master/quantum/quantum.c#L211)
152
153At any step during this chain of events a function (such as `process_record_kb()`) can `return false` to halt all further processing.
154
155<!--
156#### Mouse Handling
157
158FIXME: This needs to be written
159
160#### Serial Link(s)
161
162FIXME: This needs to be written
163
164#### Visualizer
165
166FIXME: This needs to be written
167
168#### Keyboard state LED's (Caps Lock, Num Lock, Scroll Lock)
169
170FIXME: This needs to be written
171
172-->
diff --git a/docs/unicode_and_additional_language_support.md b/docs/unicode.md
index 562dae4b5..ae722fe2b 100644
--- a/docs/unicode_and_additional_language_support.md
+++ b/docs/unicode.md
@@ -1,20 +1,20 @@
1## Unicode support 1# Unicode support
2 2
3There are three Unicode keymap definition method available in QMK: 3There are three Unicode keymap definition method available in QMK:
4 4
5### UNICODE_ENABLE 5## UNICODE_ENABLE
6 6
7Supports Unicode input up to 0xFFFF. The keycode function is `UC(n)` in 7Supports Unicode input up to 0xFFFF. The keycode function is `UC(n)` in
8keymap file, where *n* is a 4 digit hexadecimal. 8keymap file, where *n* is a 4 digit hexadecimal.
9 9
10### UNICODEMAP_ENABLE 10## UNICODEMAP_ENABLE
11 11
12Supports Unicode up to 0xFFFFFFFF. You need to maintain a separate mapping 12Supports Unicode up to 0xFFFFFFFF. You need to maintain a separate mapping
13table `const uint32_t PROGMEM unicode_map[] = {...}` in your keymap file. 13table `const uint32_t PROGMEM unicode_map[] = {...}` in your keymap file.
14The keycode function is `X(n)` where *n* is the array index of the mapping 14The keycode function is `X(n)` where *n* is the array index of the mapping
15table. 15table.
16 16
17### UCIS_ENABLE 17## UCIS_ENABLE
18 18
19TBD 19TBD
20 20
@@ -28,11 +28,11 @@ This is the current list of Unicode input method in QMK:
28* UC_WIN: (not recommended) Windows built-in Unicode input. To enable: create registry key under `HKEY_CURRENT_USER\Control Panel\Input Method\EnableHexNumpad` of type `REG_SZ` called `EnableHexNumpad`, set its value to 1, and reboot. This method is not recommended because of reliability and compatibility issue, use WinCompose method below instead. 28* UC_WIN: (not recommended) Windows built-in Unicode input. To enable: create registry key under `HKEY_CURRENT_USER\Control Panel\Input Method\EnableHexNumpad` of type `REG_SZ` called `EnableHexNumpad`, set its value to 1, and reboot. This method is not recommended because of reliability and compatibility issue, use WinCompose method below instead.
29* UC_WINC: Windows Unicode input using WinCompose. Requires [WinCompose](https://github.com/samhocevar/wincompose). Works reliably under many (all?) variations of Windows. 29* UC_WINC: Windows Unicode input using WinCompose. Requires [WinCompose](https://github.com/samhocevar/wincompose). Works reliably under many (all?) variations of Windows.
30 30
31## Additional language support 31# Additional language support
32 32
33In `quantum/keymap_extras/`, you'll see various language files - these work the same way as the alternative layout ones do. Most are defined by their two letter country/language code followed by an underscore and a 4-letter abbreviation of its name. `FR_UGRV` which will result in a `ù` when using a software-implemented AZERTY layout. It's currently difficult to send such characters in just the firmware. 33In `quantum/keymap_extras/`, you'll see various language files - these work the same way as the alternative layout ones do. Most are defined by their two letter country/language code followed by an underscore and a 4-letter abbreviation of its name. `FR_UGRV` which will result in a `ù` when using a software-implemented AZERTY layout. It's currently difficult to send such characters in just the firmware.
34 34
35## International Characters on Windows 35# International Characters on Windows
36 36
37[AutoHotkey](https://autohotkey.com) allows Windows users to create custom hotkeys among others. 37[AutoHotkey](https://autohotkey.com) allows Windows users to create custom hotkeys among others.
38 38
diff --git a/docs/usb_hid.md b/docs/usb_hid.md
deleted file mode 100644
index 1d0c45869..000000000
--- a/docs/usb_hid.md
+++ /dev/null
@@ -1,11 +0,0 @@
1# Getting Report Descriptor
2```
3 $ cd /sys/bus/usb/drivers/usbhid
4 $ ls
5 1-1.3.4:1.0 1-1.3.4:1.2 bind new_id uevent
6 1-1.3.4:1.1 1-1.3.4:1.3 module remove_id unbind
7 $ echo -n 1-1.4\:1.0 | sudo tee unbind
8 $ sudo lsusb -vvv -d 046d:c01d
9 $ echo -n 1-1.4\:1.0 | sudo tee bind
10```
11
diff --git a/docs/vagrant_guide.md b/docs/vagrant_guide.md
index 61cd0815b..e6551cb25 100644
--- a/docs/vagrant_guide.md
+++ b/docs/vagrant_guide.md
@@ -1,4 +1,4 @@
1# Quick Start Directions 1# Vagrant Quick Start
2 2
3This project includes a Vagrantfile that will allow you to build a new firmware for your keyboard very easily without major changes to your primary operating system. This also ensures that when you clone the project and perform a build, you have the exact same environment as anyone else using the Vagrantfile to build. This makes it much easier for people to help you troubleshoot any issues you encounter. 3This project includes a Vagrantfile that will allow you to build a new firmware for your keyboard very easily without major changes to your primary operating system. This also ensures that when you clone the project and perform a build, you have the exact same environment as anyone else using the Vagrantfile to build. This makes it much easier for people to help you troubleshoot any issues you encounter.
4 4
@@ -8,20 +8,14 @@ Using the `/Vagrantfile` in this repository requires you have [Vagrant](http://w
8 8
9*COMPATIBILITY NOTICE* Certain versions of Virtualbox 5 appear to have an incompatibility with the Virtualbox extensions installed in the boxes in this Vagrantfile. If you encounter any issues with the /vagrant mount not succeeding, please upgrade your version of Virtualbox to at least 5.0.12. **Alternately, you can try running the following command:** `vagrant plugin install vagrant-vbguest` 9*COMPATIBILITY NOTICE* Certain versions of Virtualbox 5 appear to have an incompatibility with the Virtualbox extensions installed in the boxes in this Vagrantfile. If you encounter any issues with the /vagrant mount not succeeding, please upgrade your version of Virtualbox to at least 5.0.12. **Alternately, you can try running the following command:** `vagrant plugin install vagrant-vbguest`
10 10
11
12Other than having Vagrant and Virtualbox installed and possibly a restart of your computer afterwards, you can simple run a 'vagrant up' anywhere inside the folder where you checked out this project and it will start a Linux virtual machine that contains all the tools required to build this project. There is a post Vagrant startup hint that will get you off on the right foot, otherwise you can also reference the build documentation below. 11Other than having Vagrant and Virtualbox installed and possibly a restart of your computer afterwards, you can simple run a 'vagrant up' anywhere inside the folder where you checked out this project and it will start a Linux virtual machine that contains all the tools required to build this project. There is a post Vagrant startup hint that will get you off on the right foot, otherwise you can also reference the build documentation below.
13 12
14Build Firmware and Program Controller 13# Flashing the firmware
15-------------------------------------
16See [build_guide.md](build_guide.md), or the readme in the particular keyboards/* folder.
17
18Change your keymap
19------------------
20See [keymap.md](keymap.md).
21 14
22## Flashing the firmware 15The "easy" way to flash the firmware is using a tool from your host OS:
23 16
24The "easy" way to flash the firmware is using a tool from your host OS like the Teensy programming app. [ErgoDox EZ](/keyboards/ergodox/readme.md) gives a great example. 17* [QMK Flasher](https://github.com/qmk/qmk_flasher)
18* [Teensy Loader](https://www.pjrc.com/teensy/loader.html)
19* [Atmel FLIP](http://www.atmel.com/tools/flip.aspx)
25 20
26If you want to program via the command line you can uncomment the ['modifyvm'] lines in the Vagrantfile to enable the USB passthrough into Linux and then program using the command line tools like dfu-util/dfu-programmer or you can install the Teensy CLI version. 21If you want to program via the command line you can uncomment the ['modifyvm'] lines in the Vagrantfile to enable the USB passthrough into Linux and then program using the command line tools like dfu-util/dfu-programmer or you can install the Teensy CLI version.
27