diff options
author | Arialdo Martini <arialdomartini@gmail.com> | 2017-11-01 16:21:54 +0100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-11-01 11:21:54 -0400 |
commit | 32bb8f6b8af104c4a64b029820a4c7014eaf825d (patch) | |
tree | 2c8dd10a66be758b806956502bdea40518284b21 /docs/getting_started_instroduction.md | |
parent | 1683d3a5592cb7ece371d45c85f531ffcff55934 (diff) | |
download | qmk_firmware-32bb8f6b8af104c4a64b029820a4c7014eaf825d.tar.gz |
Improvements to documentation (#1919)
* Typo: Github => GitHub
* Typo: windows => Windows, docker => Docker, and some punctuations
* "QMK Introduction" links to the right file
* "Unix" rather than "UNIX", which is a trademark
* Directory name is "keyboards", not "keyboard"
* "handwired" is a subdirectory of "keyboards"
* Punctuation and minor fixes
* macOS rather than Mac
* Punctuation and other minor fixes
* Vagrant Guide links to an existing file
* Jun Wako referenced with his name rather than his nickname
* Saxon genitive 's outside the link
Diffstat (limited to 'docs/getting_started_instroduction.md')
-rw-r--r-- | docs/getting_started_instroduction.md | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/docs/getting_started_instroduction.md b/docs/getting_started_instroduction.md deleted file mode 100644 index 3cd27504d..000000000 --- a/docs/getting_started_instroduction.md +++ /dev/null @@ -1,47 +0,0 @@ -# Introduction - -This page attempts to explain the basic information you need to know to work with the QMK project. It assumes that you are familiar with navigating a UNIX shell, but does not assume you are familiar with C or with compiling using make. - -## Basic QMK structure - -QMK is a fork of @tmk's [tmk_keyboard](https://github.com/tmk/tmk_keyboard) project. The original TMK code, with modifications, can be found in the `tmk` folder. The QMK additions to the project may be found in the `quantum` folder. Keyboard projects may be found in the `handwired` and `keyboard` folders. - -### Keyboard project structure - -Within the `handwired` and `keyboard` folders is a directory for each keyboard project, for example `qmk_firmware/keyboards/clueboard`. Within you'll find the following structure: - -* `keymaps/`: Different keymaps that can be built -* `rules.mk`: The file that sets the default "make" options. Do not edit this file directly, instead use a keymap specific `Makefile`. -* `config.h`: The file that sets the default compile time options. Do not edit this file directly, instead use a keymap specific `config.h`. - -### Keymap structure - -In every keymap folder, the following files may be found. Only `keymap.c` is required, if the rest of the files are not found the default options will be chosen. - -* `config.h`: the options to configure your keymap -* `keymap.c`: all of your keymap code, required -* `rules.mk`: the features of QMK that are enabled -* `readme.md`: a description of your keymap, how others might use it, and explanations of features. Please upload images to a service like imgur. - -# The `config.h` file - -There are 2 `config.h` locations: - -* keyboard (`/keyboards/<keyboard>/config.h`) -* keymap (`/keyboards/<keyboard>/keymaps/<keymap>/config.h`) - -If the keymap `config.h` exists that file is included by the build system and the keyboard `config.h` is not included. If you wish to override settings in your keymap's `config.h` you will need to include some glue code: - -``` -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include "../../config.h" -``` - -If you want to override a setting from the parent `config.h` file, you need to `#undef` and then `#define` the setting again, like this: - -```c -#undef MY_SETTING -#define MY_SETTING 4 -``` |