1
0
Fork 0

Added default layer switch QWERTY to Colemak

This commit is contained in:
Joshua T 2016-07-15 17:49:14 -05:00
parent 77377e2784
commit 243ae75256
1 changed files with 5 additions and 3 deletions

View File

@ -15,6 +15,8 @@
* here: https://colemakmods.github.io/mod-dh/
*/
#include "atreus.h"
// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
// Layer names don't all need to be of the same length, obviously, and you can also skip them
@ -26,7 +28,7 @@
#define _QW 1 // QWERTY
#define _NU 2 // Numpad
#define _FN 3 // Function
#define _DV 4 // Dvorak
#define _DV 4 // Dvorak (not currently used)
// Quick alias for visual sake
#define _______ KC_TRNS
@ -64,7 +66,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
{KC_INS, KC_HOME, KC_UP, KC_END, KC_PGUP, _______, KC_UP, KC_F7, KC_F8, KC_F9, KC_F10},
{KC_DELT, KC_LEFT, KC_DOWN, KC_RGHT, KC_DOWN, _______, KC_DOWN, KC_F4, KC_F5, KC_F6, KC_F11},
{_______, _______, _______, _______, _______, KC_LCTL, _______, KC_F1, KC_F2, KC_F3, KC_F12},
{_______, _______, KC_LGUI, KC_LSFT, KC_BSPC, KC_LALT, KC_SPC, _______, _______, _______, RESET}
{_______, _______, KC_LGUI, KC_LSFT, KC_BSPC, KC_LALT, KC_SPC, _______, DF(_CO), DF(_QW), RESET}
}};
const uint16_t PROGMEM fn_actions[] = {