Skip to content

Instantly share code, notes, and snippets.

@johnmegahan
Last active December 18, 2016 04:08

Revisions

  1. johnmegahan revised this gist Dec 18, 2016. 1 changed file with 20 additions and 4 deletions.
    24 changes: 20 additions & 4 deletions jcm.h
    Original file line number Diff line number Diff line change
    @@ -3,12 +3,28 @@
    #define DEFAULT 0

    const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
    /*
    Layer 0 - Default
    ----------------------- -----------------------
    | = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - |
    ---+---+---+---+---+--- ---+---+---+---+---+---
    |ALT| Q | W | E | R | T | | Y | U | I | O | P | \ |
    ---+---+---+---+---+--- ---+---+---+---+---+---
    |TAB| A | S | D | F | G | | H | J | K | L | ; | ' |
    ---+---+---+---+---+---+--- ---+---+---+---+---+---+---
    |LSH| Z | X | C | V | B | | | | N | M | , | . | / |RSH|
    ---+---+---+---+---+--- BKS| |ENT ---+---+---+---+---+---
    |ESC| ` |GUI|LFT|RGT|CTL| | | |SPC|U P|DWN| [ | ] |LYR|
    --------------------------- ---------------------------
    */
    [DEFAULT] = {

    {KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_TRNS, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS},
    {KC_LALT, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_TRNS, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS},
    {KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_TRNS, 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_BSPC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT},
    {KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_TRNS, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS},
    {KC_LALT, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_TRNS, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS},
    {KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_TRNS, 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_BSPC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT},

    {KC_ESC, KC_GRV, KC_LGUI, KC_LEFT, KC_RIGHT, KC_LCTL,
    KC_ENT, KC_SPC, KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, KC_TRNS }
  2. johnmegahan created this gist Dec 15, 2016.
    16 changes: 16 additions & 0 deletions jcm.h
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    #include "atreus62.h"

    #define DEFAULT 0

    const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
    [DEFAULT] = {

    {KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_TRNS, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS},
    {KC_LALT, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_TRNS, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS},
    {KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_TRNS, 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_BSPC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT},

    {KC_ESC, KC_GRV, KC_LGUI, KC_LEFT, KC_RIGHT, KC_LCTL,
    KC_ENT, KC_SPC, KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, KC_TRNS }
    }
    };