summaryrefslogtreecommitdiffstats
path: root/layouts/community/ergodox/supercoder/keymap.c
blob: 3aa34a8e42ddc2d528fc21abcaba86a912203f7d (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/*
 * SuperCoder 2000 layout
 */

#include QMK_KEYBOARD_H

/* Layers */

#define SC2K    0 // default layer

/* The Keymap */

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

  /* Keymap 0: Base Layer
   *
   * ,-----------------------------------------------------.           ,-----------------------------------------------------.
   * |         0 |   0  |   0  |   0  |   0  |   0  |   0  |           |  1   |   1  |   1  |   1  |   1  |  1   | 1         |
   * |-----------+------+------+------+------+-------------|           |------+------+------+------+------+------+-----------|
   * |         0 |   0  |   0  |   0  |   0  |   0  |   0  |           |  1   |   1  |   1  |   1  |   1  |  1   | 1         |
   * |-----------+------+------+------+------+------|      |           |      |------+------+------+------+------+-----------|
   * |         0 |   0  |   0  |   0  |   0  |   0  |------|           |------|   1  |   1  |   1  |   1  |  1   | 1         |
   * |-----------+------+------+------+------+------|   0  |           |  1   |------+------+------+------+------+-----------|
   * |         0 |   0  |   0  |   0  |   0  |   0  |      |           |      |   1  |   1  |   1  |   1  |  1   | 1         |
   * `-----------+------+------+------+------+-------------'           `-------------+------+------+------+------+-----------'
   *     |     0 |   0  |   0  |   0  |   0  |                                       |   1  |   1  |   1  |  1   | 1     |
   *     `-----------------------------------'                                       `-----------------------------------'
   *                                         ,-------------.           ,-------------.
   *                                         | DONE | DONE |           | DONE | DONE |
   *                                  ,------|------|------|           |------+------+------.
   *                                  |      |      | DONE |           | DONE |      |      |
   *                                  | DONE | DONE |------|           |------| DONE | DONE |
   *                                  |      |      | DONE |           | DONE |      |      |
   *                                  `--------------------'           `--------------------'
   */
[SC2K] = LAYOUT_ergodox(
 // left hand
 KC_0    ,KC_0    ,KC_0    ,KC_0    ,KC_0    ,KC_0    ,KC_0
,KC_0    ,KC_0    ,KC_0    ,KC_0    ,KC_0    ,KC_0    ,KC_0
,KC_0    ,KC_0    ,KC_0    ,KC_0    ,KC_0    ,KC_0
,KC_0    ,KC_0    ,KC_0    ,KC_0    ,KC_0    ,KC_0    ,KC_0
,KC_0    ,KC_0    ,KC_0    ,KC_0    ,KC_0

                                             ,KC_ENT  ,KC_ENT
                                                      ,KC_ENT
                                    ,KC_ENT  ,KC_ENT  ,KC_ENT

                                                                // right hand
                                                               ,KC_1    ,KC_1    ,KC_1    ,KC_1    ,KC_1    ,KC_1    ,KC_1
                                                               ,KC_1    ,KC_1    ,KC_1    ,KC_1    ,KC_1    ,KC_1    ,KC_1
                                                                        ,KC_1    ,KC_1    ,KC_1    ,KC_1    ,KC_1    ,KC_1
                                                               ,KC_1    ,KC_1    ,KC_1    ,KC_1    ,KC_1    ,KC_1    ,KC_1
                                                                                 ,KC_1    ,KC_1    ,KC_1    ,KC_1    ,KC_1

                                                               ,KC_ENT  ,KC_ENT
                                                               ,KC_ENT
                                                               ,KC_ENT  ,KC_ENT   ,KC_ENT
                  ),
};

const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
{
  return MACRO_NONE;
};

// Runs just one time when the keyboard initializes.
void matrix_init_user(void) {
};

// Runs constantly in the background, in a loop.
void matrix_scan_user(void) {
}