Updated QMK Overview (markdown)

master
skullydazed 2017-02-16 17:07:39 -08:00
parent cdef9bd02f
commit 56e9a286b5
1 changed files with 19 additions and 1 deletions

View File

@ -55,3 +55,21 @@ In the above commands, replace:
* Build all Clueboard keymaps: `make clueboard` * Build all Clueboard keymaps: `make clueboard`
* Build the default Planck keymap: `make planck-rev4-default` * Build the default Planck keymap: `make planck-rev4-default`
* Build and flash your ergodox-ez: `make ergodox-ez-default-teensy` * Build and flash your ergodox-ez: `make ergodox-ez-default-teensy`
# The `config.h` file
There are 2 `config.h` locations:
* keyboard (`/keyboards/<keyboard>/`)
* keymap (`/keyboards/<keyboard>/keymaps/<keymap>/`)
The 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:
```c
#undef MY_SETTING
#define MY_SETTING 4
```
For a value of `4` for this imaginary setting. So we `undef` it first, then `define` it.
You can then override any settings, rather than having to copy and paste the whole thing.