Update feature_layouts.md

This commit is contained in:
Jack Humbert 2017-11-21 21:22:56 -05:00 committed by GitHub
parent 39d3d92364
commit c8bdc75e1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,10 +55,6 @@ Instead of using `#include "planck.h"`, you can use this line to include whateve
#include QMK_KEYBOARD_H #include QMK_KEYBOARD_H
In your config.h, you can also use this variable to include the keyboard's `config.h`:
#include QMK_KEYBOARD_CONFIG_H
If you want to keep some keyboard-specific code, you can use these variables to escape it with an `#ifdef` statement: If you want to keep some keyboard-specific code, you can use these variables to escape it with an `#ifdef` statement:
* `KEYBOARD_<folder1>_<folder2>` * `KEYBOARD_<folder1>_<folder2>`
@ -73,4 +69,4 @@ For example:
#endif #endif
``` ```
Note that the names are lowercase and match the folder/file names for the keyboard/revision exactly. Note that the names are lowercase and match the folder/file names for the keyboard/revision exactly.