From 2deadfc7ff503f4d068fcafce2fd0953f13543dc Mon Sep 17 00:00:00 2001 From: Gabriel Diegel Date: Sun, 13 Dec 2015 15:39:27 +0100 Subject: Fix keymaps, add documentation --- keyboard/planck/keymaps/keymap_gdl.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/keyboard/planck/keymaps/keymap_gdl.c b/keyboard/planck/keymaps/keymap_gdl.c index ad4296c022..963a4c8dda 100644 --- a/keyboard/planck/keymaps/keymap_gdl.c +++ b/keyboard/planck/keymaps/keymap_gdl.c @@ -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,14 +22,14 @@ 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 */ {KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC}, {KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT}, {KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT }, - {MO(_FN), KC_LCTL, KC_LALT, KC_LGUI, MO(_LW), KC_SPC, KC_SPC, MO(_RS), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT} + {MO(_FN), KC_LCTL, KC_LALT, KC_LGUI, MO(_LW), KC_SPC, KC_SPC, MO(_RS), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT} }, /* MIT Layout (Raised layer) * -- cgit v1.2.1