Skip to content

Commit

Permalink
Implemented changes to ergodox layout requested by drashna
Browse files Browse the repository at this point in the history
NOTE: `version.h` is still required.
  • Loading branch information
mrskug committed Aug 20, 2018
1 parent 65468b5 commit 6521436
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
8 changes: 1 addition & 7 deletions keyboards/ergodox_ez/keymaps/skug/config.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
#ifndef CONFIG_USER_H
#define CONFIG_USER_H
#pragma once

#include "../../config.h"

// Override SpaceCadet Settings
#undef LSPO_KEY
#undef RSPC_KEY
#define LSPO_KEY KC_8 // Nordic Left SpaceCadet
#define RSPC_KEY KC_9 // Nordic Right SpaceCadet

#endif
11 changes: 4 additions & 7 deletions keyboards/ergodox_ez/keymaps/skug/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,8 @@


#include QMK_KEYBOARD_H
#include "debug.h"
#include "action_layer.h"
#include "version.h"
#include "keymap_swedish.h"
#include "song_list.h"

#define _______ KC_TRNS

Expand Down Expand Up @@ -69,7 +66,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
*/
// If it accepts an argument (i.e, is a function), it doesn't need KC_
// Otherwise, it needs KC_*
[BASE] = KEYMAP_80( // layer 0 : default
[BASE] = LAYOUT_ergodox_80( // layer 0 : default
// left hand
NO_HALF, KC_1, KC_2, KC_3, KC_4, KC_5, KC_INS,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, TG(SYMB),
Expand Down Expand Up @@ -112,7 +109,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* `--------------------' `--------------------'
*/
// SYMBOLS
[SYMB] = KEYMAP_80(
[SYMB] = LAYOUT_ergodox_80(
// left hand
VRSN, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______,
_______,KC_EXLM,NO_AT, NO_LCBR,NO_RCBR,NO_PIPE,_______,
Expand Down Expand Up @@ -155,7 +152,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* `--------------------' `--------------------'
*/
// MEDIA AND MOUSE
[MDIA] = KEYMAP_80(
[MDIA] = LAYOUT_ergodox_80(
_______, _______, _______, _______, _______, _______, _______,
_______, _______, KC_MS_U, _______, _______, _______, _______,
_______, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______,
Expand All @@ -175,7 +172,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, KC_WBAK
),
// Keymap: Ducky Style arrows
[ARRW] = KEYMAP_80(
[ARRW] = LAYOUT_ergodox_80(
_______, _______, _______, _______, _______, _______, _______,
_______, _______, KC_UP , _______, _______, _______, _______,
_______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______,
Expand Down

0 comments on commit 6521436

Please sign in to comment.