Skip to content

Commit 6e9b4a8

Browse files
authored
[Keymap] niclake keymap for Boardwalk (qmk#10488)
* Initializing Boardwalk layout * rules.mk newline * config.h newline * qwerty num toggle -> tap-toggle * errant K, and _LOWER momentary toggles * Lack of autosave sucks * Converting to HHKB layout * TT(_NUM) added to num layer * Final updates for Boardwalk initialization * Final refinements * newline * Removal of extra includes * Update keyboards/boardwalk/keymaps/niclake/config.h #pragma once * Removing comment block from rules * Updates to my layout
1 parent 1e5df71 commit 6e9b4a8

File tree

4 files changed

+179
-0
lines changed

4 files changed

+179
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* This program is free software: you can redistribute it and/or modify
3+
* it under the terms of the GNU General Public License as published by
4+
* the Free Software Foundation, either version 2 of the License, or
5+
* (at your option) any later version.
6+
*
7+
* This program is distributed in the hope that it will be useful,
8+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10+
* GNU General Public License for more details.
11+
*
12+
* You should have received a copy of the GNU General Public License
13+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
14+
*/
15+
16+
#pragma once
17+
18+
#define TAPPING_TOGGLE 2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
/*
2+
* This program is free software: you can redistribute it and/or modify
3+
* it under the terms of the GNU General Public License as published by
4+
* the Free Software Foundation, either version 2 of the License, or
5+
* (at your option) any later version.
6+
*
7+
* This program is distributed in the hope that it will be useful,
8+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10+
* GNU General Public License for more details.
11+
*
12+
* You should have received a copy of the GNU General Public License
13+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
14+
*/
15+
16+
#include QMK_KEYBOARD_H
17+
18+
enum layer_names {
19+
_BASE,
20+
_QWERTY,
21+
_FN,
22+
_NUM,
23+
_ADJ,
24+
};
25+
26+
enum custom_keycodes {
27+
QWERTY = SAFE_RANGE,
28+
COLEMAK,
29+
FN,
30+
NUM,
31+
ADJ,
32+
MACWIN
33+
};
34+
35+
#define QWERTY DF(_QWERTY)
36+
#define COLEMAK DF(_BASE)
37+
#define FN MO(_FN)
38+
#define NUM TT(_NUM)
39+
#define ADJ MO(_ADJ)
40+
#define MACWIN AG_TOGG
41+
#define RGB_ON RGB_MODE_PLAIN
42+
43+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
44+
45+
/* Base Layer (Colemak)
46+
* .-----------------------------------------------------------------------------------------------------------------------------.
47+
* | ` | 1 | 2 | 3 | 4 | 5 | - | = | 6 | 7 | 8 | 9 | 0 | BACKSP |
48+
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------|
49+
* | TAB | Q | W | F | P | G | [ | ] | J | L | U | Y | ; | \ |
50+
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------|
51+
* | _FN | A | R | S | T | D | HOME | PG UP | H | N | E | I | O | ' |
52+
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------------------------+--------|
53+
* | LSHIFT | Z | X | C | V | B | END | PG DN | K | M | , | . | / | RSHIFT |
54+
* '--------+--------+--------+--------+--------+-----------------+--------+--------+--------+-----------------+--------+--------'
55+
* | LCTRL | LALT | LGUI | TG_NUM | ENTER | SPACE | LEFT | DOWN | UP | RIGHT |
56+
* '-----------------------------------------------------------------------------------------------------------'
57+
*/
58+
[_BASE] = LAYOUT_ortho_hhkb(
59+
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
60+
KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_LBRC, KC_RBRC, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS,
61+
FN, KC_A, KC_R, KC_S, KC_T, KC_D, KC_HOME, KC_PGUP, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT,
62+
KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_END, KC_PGDN, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC,
63+
KC_LCTL, KC_LALT, KC_LGUI, NUM, KC_ENT, KC_SPC, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
64+
),
65+
66+
/* QWERTY
67+
* .-----------------------------------------------------------------------------------------------------------------------------.
68+
* | ` | 1 | 2 | 3 | 4 | 5 | - | = | 6 | 7 | 8 | 9 | 0 | BACKSP |
69+
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------|
70+
* | TAB | Q | W | E | R | T | [ | ] | Y | U | I | O | P | \ |
71+
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------|
72+
* | _FN | A | S | D | F | G | HOME | PG UP | H | J | K | L | ; | ' |
73+
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------------------------+--------|
74+
* | LSHIFT | Z | X | C | V | B | END | PG DN | N | M | , | . | / | RSHIFT |
75+
* '--------+--------+--------+--------+--------+-----------------+--------+--------+--------+-----------------+--------+--------'
76+
* | LCTRL | LALT | LGUI | TG_NUM | ENTER | SPACE | LEFT | DOWN | UP | RIGHT |
77+
* '-----------------------------------------------------------------------------------------------------------'
78+
*/
79+
[_QWERTY] = LAYOUT_ortho_hhkb(
80+
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
81+
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
82+
FN, KC_A, KC_S, KC_D, KC_F, KC_G, KC_HOME, KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
83+
KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_END, KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC,
84+
KC_LCTL, KC_LALT, KC_LGUI, NUM, KC_ENT, KC_SPC, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
85+
),
86+
87+
/* FN
88+
* .-----------------------------------------------------------------------------------------------------------------------------.
89+
* | ESC | F1 | F2 | F3 | F4 | F5 | F11 | F12 | F6 | F7 | F8 | F9 | F10 | DEL |
90+
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------|
91+
* | | Prev | Play | Next | | | | | | Pg Up | Up | Pg Dn | PRT SC | |
92+
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------|
93+
* | XXXXXX | | Mute | Vol Dn | Vol Up | | | | | Left | Down | Right | | |
94+
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------------------------+--------|
95+
* | | | | | | | | | | Home | | End | | CapsLk |
96+
* '--------+--------+--------+--------+--------+-----------------+--------+--------+--------+-----------------+--------+--------'
97+
* | | | | _ADJ | | | | | | |
98+
* '-----------------------------------------------------------------------------------------------------------'
99+
*/
100+
[_FN] = LAYOUT_ortho_hhkb(
101+
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F11, KC_F12, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL,
102+
_______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, _______, _______, KC_PGUP, KC_UP, KC_PGDN, KC_PSCR, _______,
103+
_______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______,
104+
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, _______, KC_END, _______, KC_CAPS,
105+
_______, _______, _______, ADJ, _______, _______, _______, _______, _______, _______
106+
),
107+
108+
/* Num Pad (NUM)
109+
* .-----------------------------------------------------------------------------------------------------------------------------.
110+
* | | | | | | | | | Num Lk | KP / | KP * | KP - | Scr Lk | Pause |
111+
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------|
112+
* | | | | | | | | | KP 7 | KP 8 | KP 9 | KP + | | |
113+
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------|
114+
* | _ADJ | | | | | | | | KP 4 | KP 5 | KP 6 | KP + | | |
115+
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------------------------+--------|
116+
* | | | | | | | | | KP 1 | KP 2 | KP 3 | KP Ent | | |
117+
* '--------+--------+--------+--------+--------+-----------------+--------+--------+--------+-----------------+--------+--------'
118+
* | | | | XXXXXX | | KP 0 | KP 0 | KP . | KP Ent | |
119+
* '-----------------------------------------------------------------------------------------------------------'
120+
*/
121+
[_NUM] = LAYOUT_ortho_hhkb(
122+
_______, _______, _______, _______, _______, _______, _______, _______, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, KC_SLCK, KC_PAUS,
123+
_______, _______, _______, _______, _______, _______, _______, _______, KC_KP_7, KC_KP_8, KC_KP_9, KC_PPLS, _______, _______,
124+
ADJ, _______, _______, _______, _______, _______, _______, _______, KC_KP_4, KC_KP_5, KC_KP_6, KC_PPLS, _______, _______,
125+
_______, _______, _______, _______, _______, _______, _______, _______, KC_KP_1, KC_KP_2, KC_KP_3, KC_PENT, _______, _______,
126+
_______, _______, _______, _______, _______, KC_KP_0, KC_KP_0, KC_PDOT, KC_PENT, _______
127+
),
128+
129+
/* ADJUST + RGB Control
130+
* .-----------------------------------------------------------------------------------------------------------------------------.
131+
* | | Static | Breath | Rainbw | Swirl | Gradnt | Test | | | | | | | |
132+
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------|
133+
* | | On/Off | ModeUp | Hue Up | Sat Up | Val Up | | | | | | | RESET | |
134+
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------|
135+
* | XXXXXX | MACWIN | | Hue Dn | Sat Dn | Val Dn | | | | | | | | |
136+
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------------------------+--------|
137+
* | | Colemak| QWERTY | | | | | | | | | | | |
138+
* '--------+--------+--------+--------+--------+-----------------+--------+--------+--------+-----------------+--------+--------'
139+
* | | | | XXXXXX | | | | | | |
140+
* '-----------------------------------------------------------------------------------------------------------'
141+
*/
142+
[_ADJ] = LAYOUT_ortho_hhkb(
143+
_______, RGB_ON, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_G, RGB_M_T, _______, _______, _______, _______, _______, _______, _______,
144+
_______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, _______, _______, _______, _______, _______, _______, RESET, _______,
145+
_______, MACWIN, _______, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______,
146+
_______, COLEMAK, QWERTY, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
147+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
148+
)
149+
150+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Nic Lake's Boardwalk Layout
2+
3+
This is Nic's Boardwalk layout, which is based off of the default Pok3r layout.
4+
5+
- Colemak base layer w/ QWERTY support
6+
- Bottom row set up for Mac usage (use `MACWIN`/`AG_TOGG` to toggle)
7+
- Latching Numpad layer for data entry
8+
- Uses [Space Cadet shift keys](https://docs.qmk.fm/#/feature_space_cadet?id=usage)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
COMMAND_ENABLE = no
2+
RGBLIGHT_ENABLE = yes
3+
BOOTMAGIC_ENABLE = full

0 commit comments

Comments
 (0)