aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ckeys/obelus/keymaps/default/keymap.c
diff options
context:
space:
mode:
authorAkshay <[email protected]>2022-04-10 12:13:40 +0100
committerAkshay <[email protected]>2022-04-10 12:13:40 +0100
commitdc90387ce7d8ba7b607d9c48540bf6d8b560f14d (patch)
tree4ccb8fa5886b66fa9d480edef74236c27f035e16 /keyboards/ckeys/obelus/keymaps/default/keymap.c
Diffstat (limited to 'keyboards/ckeys/obelus/keymaps/default/keymap.c')
-rw-r--r--keyboards/ckeys/obelus/keymaps/default/keymap.c111
1 files changed, 111 insertions, 0 deletions
diff --git a/keyboards/ckeys/obelus/keymaps/default/keymap.c b/keyboards/ckeys/obelus/keymaps/default/keymap.c
new file mode 100644
index 000000000..5d5bfc6d2
--- /dev/null
+++ b/keyboards/ckeys/obelus/keymaps/default/keymap.c
@@ -0,0 +1,111 @@
1#include QMK_KEYBOARD_H
2
3
4const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
5 /* LAYERS
6 * ,-----------------------.
7 * | | | |RESET|
8 * |-----+-----+-----+-----|
9 * |MUSIC| | | |
10 * |-----+-----+-----+-----|
11 * |NUMPD| NAV |GAMES| |
12 * |-----+-----+-----+-----|
13 * | | | | |
14 * `---------------------- '
15 */
16 [0] = LAYOUT_ortho_4x4( /* LAYER SELECT */
17 _______, _______, _______, RESET,
18 TO(4), _______, _______, _______,
19 TO(1), TO(2), TO(3), _______,
20 _______, _______, _______, _______
21 ),
22 /* NUMPAD
23 * ,-----------------------.
24 * | 7 | 8 | 9 | * |
25 * |-----+-----+-----+-----|
26 * | 4 | 5 | 6 | - |
27 * |-----+-----+-----+-----|
28 * | 1 | 2 | 3 | + |
29 * |-----+-----+-----+-----|
30 * | 0 | . | / | = |
31 * `---------------------- '
32 */
33 [1] = LAYOUT_ortho_4x4( /* NUMPAD */
34 KC_P7, KC_P8, KC_P9, KC_PAST,
35 KC_P4, KC_P5, KC_P6, KC_PMNS,
36 KC_P1, KC_P2, KC_P3, KC_PPLS,
37 KC_P0, KC_PDOT, KC_PSLS, LT(5, KC_PENT)
38 ),
39 /* NUMPAD SUPPLEMENT
40 * ,-----------------------.
41 * |NUMLK| | | |
42 * |-----+-----+-----+-----|
43 * | | | | |
44 * |-----+-----+-----+-----|
45 * | | | | |
46 * |-----+-----+-----+-----|
47 * | | | | |
48 * `---------------------- '
49 */
50 [5] = LAYOUT_ortho_4x4( /* NUMPAD SUPPLEMENT */
51 KC_NLCK, _______, _______, TO(0),
52 _______, _______, _______, _______,
53 _______, _______, _______, _______,
54 _______, _______, _______, _______
55 ),
56 /* NAV
57 * ,-----------------------.
58 * | INS |PGUP | TAB |PRSCR|
59 * |-----+-----+-----+-----|
60 * | DEL |PGDN |VOLD |VOLU |
61 * |-----+-----+-----+-----|
62 * |HOME | UP | END | |
63 * |-----+-----+-----+-----|
64 * |LEFT |DOWN |RIGHT|ENTER|
65 * `---------------------- '
66 */
67 [2] = LAYOUT_ortho_4x4( /* NAV CLUSTER */
68 KC_INS, KC_PGUP, KC_TAB, KC_PSCR,
69 KC_DEL, KC_PGDN, KC_VOLD, KC_VOLU,
70 KC_HOME, KC_UP, KC_END, TO(0),
71 KC_LEFT, KC_DOWN, KC_RGHT, KC_ENT
72 ),
73 /* GAMING
74 * ,-----------------------.
75 * | ESC | 1 | 2 | 3 |
76 * |-----+-----+-----+-----|
77 * | TAB | Q | W | E |
78 * |-----+-----+-----+-----|
79 * |SHIFT| A | S | D |
80 * |-----+-----+-----+-----|
81 * |CTRL | C | R |SPACE|
82 * `---------------------- '
83 */
84 [3] = LAYOUT_ortho_4x4( /* GAMING */
85 LT(4, KC_ESC), KC_1, KC_2, KC_3,
86 KC_TAB, KC_Q, KC_W, KC_E,
87 KC_LSFT, KC_A, KC_S, KC_D,
88 KC_LCTL, KC_C, KC_R, KC_SPC
89 ),
90 /* MUSIC
91 * ,-----------------------.
92 * | | | | |
93 * |-----+-----+-----+-----|
94 * | | | | |
95 * |-----+-----+-----+-----|
96 * | | | | |
97 * |-----+-----+-----+-----|
98 * |TOGGL|MODE | | |
99 * `---------------------- '
100 */
101 [4] = LAYOUT_ortho_4x4( /* NUMPAD SUPPLEMENT */
102 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
103 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
104 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
105 MU_TOG, MU_MOD, XXXXXXX, TO(0)
106 ),
107};
108
109bool process_record_user(uint16_t keycode, keyrecord_t *record) {
110 return true;
111}