Fix keymaps, add documentation

This commit is contained in:
Gabriel Diegel 2015-12-13 15:39:27 +01:00
parent d00b4238e3
commit 2deadfc7ff

View file

@ -1,6 +1,3 @@
// This is the canonical layout file for the Quantum project. If you want to add another keyboard,
// this is the style you want to emulate.
#include "planck.h"
// Each layer gets a name for readability, which is then used in the keymap matrix below.
@ -12,6 +9,9 @@
#define _RS 2
#define _FN 3
// This a slightly adapted 'default' keymap. I like the position of 'esc' and 'tab' better this way.
// I also git rid of the backlighting control key and the dvorak and colemak layers. I added a 'fn'
// layer that makes the 'bspc' a forward delete (like on OSX).
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* MIT Layout (QWERTY layer)
*
@ -22,7 +22,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* |-----------------------------------------------------------------------|
* |shift| z | x | c | v | b | n | m | , | . | / |enter|
* |-----------------------------------------------------------------------|
* | fn | ctl | alt | cmd |LOWER| spc |RAISE| left| down| up |right|
* | fn | ctl | alt | cmd |lower| spc |raise|left |down | up |right|
* `-----------------------------------------------------------------------'
*/
[_QW] = { /* QWERTY */