summaryrefslogtreecommitdiff
path: root/keyboards/handwired/not_so_minidox/keymaps/mtdjr/keymap.c
blob: 01c64d8701b619be5f605e4cf34ba281767a1277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#include QMK_KEYBOARD_H
#include "mtdjr.h"

extern keymap_config_t keymap_config;

#define KC_LOCK TD(TD_ALTLOCK)

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

  [_QWERTY] = LAYOUT_kc(
  // ,----+-----+-----+-----+-----+-----,         ,----+-----+-----+-----+-----+-----,
       TAB,    Q,    W,    E,    R,    T,             Y,    U,    I,    O,    P, BSPC,
  // |----+-----+-----+-----+-----+-----|         |----+-----+-----+-----+-----+-----|
      LCTL,    A,    S,    D,    F,    G,             H,    J,    K,    L, SCLN, QUOT,
  // |----+-----+-----+-----+-----+-----|         |----+-----+-----+-----+-----+-----|
      LSFT,    Z,    X,    C,    V,    B,             N,    M, COMM,  DOT, SLSH,  ENT,
  // |----+-----+-----+-----+-----+-----|-,     ,-|----+-----+-----+-----+-----+-----|
                          LGUI, LOWR,  SPC,       SPC, RASE, LOCK
  //                     `----+-----+-----`     `----+-----+-----`
   ),

  [_LOWER] = LAYOUT_kc(
  // ,----+-----+-----+-----+-----+-----,         ,----+-----+-----+-----+-----+-----,
       ESC,    1,    2,    3,    4,    5,             6,    7,    8,    9,    0,  DEL,
  // |----+-----+-----+-----+-----+-----|         |----+-----+-----+-----+-----+-----|
          ,     ,     ,     ,     ,     ,              ,     ,     , LCBR, RCBR, BSLS,
  // |----+-----+-----+-----+-----+-----|         |----+-----+-----+-----+-----+-----|
          ,     ,     , XCPY, XINS,     ,              ,     ,     ,     ,     ,     ,
  // |----+-----+-----+-----+-----+-----|-,     ,-|----+-----+-----+-----+-----+-----|
                              ,     ,     ,          ,     ,
  //                     `----+-----+-----`     `----+-----+-----`
  ),

  [_RAISE] = LAYOUT_kc(
  // ,----+-----+-----+-----+-----+-----,         ,----+-----+-----+-----+-----+-----,
       GRV, EXLM,   AT, HASH,  DLR, PERC,          CIRC, AMPR, ASTR, LPRN, RPRN,  DEL,
  // |----+-----+-----+-----+-----+-----|         |----+-----+-----+-----+-----+-----|
          ,     ,     ,     , MINS,  EQL,              ,     ,   UP, LBRC, RBRC, PIPE,
  // |----+-----+-----+-----+-----+-----|         |----+-----+-----+-----+-----+-----|
          ,     ,     ,     ,     ,     ,              , LEFT, DOWN, RGHT,     ,     ,
  // |----+-----+-----+-----+-----+-----|-,     ,-|----+-----+-----+-----+-----+-----|
                              ,     ,     ,          ,     ,
  //                     `----+-----+-----`     `----+-----+-----`
   ),
  [_ADJUST] = LAYOUT_kc(
  // ,----+-----+-----+-----+-----+-----,         ,----+-----+-----+-----+-----+-----,
      STOG, xxxx, xxxx, xxxx,  RST, xxxx,          ROOT, PPLY, PSEF, xxxx, xxxx,  CAD,
  // |----+-----+-----+-----+-----+-----|         |----+-----+-----+-----+-----+-----|
      SDM,   SDP, SBOF, SBON, xxxx, xxxx,          xxxx, xxxx, xxxx, xxxx, xxxx, xxxx,
  // |----+-----+-----+-----+-----+-----|         |----+-----+-----+-----+-----+-----|
      xxxx, xxxx, xxxx, xxxx, xxxx, xxxx,          xxxx, xxxx, xxxx, xxxx, xxxx, xxxx,
  // |----+-----+-----+-----+-----+-----|-,     ,-|----+-----+-----+-----+-----+-----|
                          xxxx,     , xxxx,      xxxx,     , xxxx
  //                     `----+-----+-----`     `----+-----+-----`
  )
};