aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStick <8531041+nstickney@users.noreply.github.com>2019-02-26 01:26:39 -0500
committerDrashna Jaelre <drashna@live.com>2019-02-25 22:26:39 -0800
commit7ba2bc765be62f969668847797b7eb3e6665db48 (patch)
tree4cb809bd960e2afa6eb6998da8e2ac3d46d8f6ec
parent80ddb344152e4ef6663f9b079677b8154fcffbec (diff)
downloadqmk_firmware-7ba2bc765be62f969668847797b7eb3e6665db48.tar.gz
qmk_firmware-7ba2bc765be62f969668847797b7eb3e6665db48.zip
[Keymap] nstickney's layout for iris (#5045)
-rw-r--r--keyboards/keebio/iris/keymaps/nstickney/README.md46
-rw-r--r--keyboards/keebio/iris/keymaps/nstickney/config.h40
-rw-r--r--keyboards/keebio/iris/keymaps/nstickney/keymap.c165
-rw-r--r--keyboards/keebio/iris/keymaps/nstickney/rules.mk4
-rw-r--r--layouts/community/ergodox/familiar/README.md69
-rw-r--r--layouts/community/ergodox/familiar/keymap.c281
-rw-r--r--layouts/community/ergodox/nstickney/keymap.c213
-rw-r--r--layouts/community/ergodox/nstickney/rules.mk (renamed from layouts/community/ergodox/familiar/rules.mk)0
8 files changed, 468 insertions, 350 deletions
diff --git a/keyboards/keebio/iris/keymaps/nstickney/README.md b/keyboards/keebio/iris/keymaps/nstickney/README.md
new file mode 100644
index 000000000..1cafce67f
--- /dev/null
+++ b/keyboards/keebio/iris/keymaps/nstickney/README.md
@@ -0,0 +1,46 @@
1# nstickney's Iris Layout
2
3 > Familiar layout for users who regularly switch between Iris and more standard layouts.
4
5[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg)](https://github.com/RichardLitt/standard-readme)
6
7## Install
8
9For instructions on building and installing this keymap, see the [docs](https://docs.qmk.fm/#/getting_started_make_guide). Below is the command for me; it may be different for you.
10
11```sh
12$ make keebio/iris/rev2:nstickney:avrdude
13```
14
15## Usage
16
170. QWERTY `BASE` layer.
18 * `/`, `\\`, ` `, `[ENTER]`, `-`, and `=` on the thumb clusters.
19 * `CAPSLOCK` replaced by `ESC`; hold it down for `CTRL`. `'` can also be held for `CTRL`.
20 * [Space-Cadet Shift](/docs/docs/feature_space_cadet_shift.md) is enabled, so the `SHIFT` keys send `(` and `)` when tapped.
21 * Hold down `/` or `=` for `ALT`.
22 * Hold down `\\` or `-` to access the functions layer.
23 * Upper-center thumb keys are `GUI` and `MENU`.
24 * Tapping `GUI` 2, 3, or 4 times will toggle `NUMLOCK`, `CAPSLOCK`, or `SCROLLLOCK`, respectively.
25 * Tapping `MENU` 2, 3, or 4 times will toggle the `NUMP`, `SYMB`, and `SYSH` layers, respectively.
260. Unicode-input symbols on `SYMB` and `SYSH` layers. Based (loosely) on US-International layout.
270. `NUMP` layer has number pads on each hand. Number pad `7`-`8`-`9` align with QWERTY `7`-`8`-`9` on right hand.
280. Function, arrow, media, and miscellaneous keys on `FCTN` layer.
29 * `F1` through `F10` on `1`-`10`. `F11` is on `GUI` and `F12` is on `MENU`.
30 * Brackets (`[` and `]`) available on `U` and `I`; braces (`{` and `}`) on `O` and `P`.
31 * Arrow keys on `ESDF` and `HJKL`; familiar for both Vim users and FPS gamers.
32 * `W` is `HOME`; `R` is `END`. `T` is `PAGE UP` and `G` is `PAGE DOWN`.
33 * Music controls on lower row of left hand.
34 * Volume and screen brightness on lower row of right hand.
35 * `PRINT SCREEN`, `PAUSE`, `SYSREQ`, `INSERT`, and `CLEAR` also mapped, as intelligently as possible.
36 * `A` toggles the RGB underglow (which changes color to indicate active layer).
37 * `Q` toggles the Unicode input through Linux, WinCompose, and MacOS.
38
39## Contribute
40
41If you are using this layout and think you've found a better way to do something, I'd appreciate an [issue](https://github.com/nstickney/qmk_firmware/issues), or better yet a [pull request](https://github.com/nstickney/qmk_firmware/pulls).
42
43
44## License
45
46Copyright &copy; 2016-2019 @nstickney. Released under [GPL-2.0](/LICENSE).
diff --git a/keyboards/keebio/iris/keymaps/nstickney/config.h b/keyboards/keebio/iris/keymaps/nstickney/config.h
new file mode 100644
index 000000000..0aeb87e62
--- /dev/null
+++ b/keyboards/keebio/iris/keymaps/nstickney/config.h
@@ -0,0 +1,40 @@
1/*
2Copyright 2017 Danny Nguyen <danny@keeb.io>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20/* Use I2C or Serial, not both */
21
22#define USE_SERIAL
23// #define USE_I2C
24
25/* Select hand configuration */
26
27#define MASTER_LEFT
28// #define MASTER_RIGHT
29// #define EE_HANDS
30
31// #undef RGBLED_NUM
32// #define RGBLIGHT_ANIMATIONS
33// #define RGBLED_NUM 12
34// #define RGBLIGHT_HUE_STEP 8
35// #define RGBLIGHT_SAT_STEP 8
36// #define RGBLIGHT_VAL_STEP 8
37
38// Unicode input
39#undef UNICODE_SELECTED_MODES
40#define UNICODE_SELECTED_MODES UC_OSX, UC_LNX, UC_WINC
diff --git a/keyboards/keebio/iris/keymaps/nstickney/keymap.c b/keyboards/keebio/iris/keymaps/nstickney/keymap.c
new file mode 100644
index 000000000..609139985
--- /dev/null
+++ b/keyboards/keebio/iris/keymaps/nstickney/keymap.c
@@ -0,0 +1,165 @@
1#include QMK_KEYBOARD_H
2
3extern keymap_config_t keymap_config;
4
5// Layers
6#define BASE 0 // Base layer
7#define SYMB 1 // Symbols
8#define SYSH 2 // Symbols, shifted
9#define NUMP 4 // Numpad
10#define FCTN 8 // Functions
11
12// Tap Dancing
13void dance_lock (qk_tap_dance_state_t *state, void *user_data) {
14 switch (state->count){
15 case 1: // Press once for LGUI
16 tap_code(KC_LGUI);
17 break;
18 case 2: // Press twice for NUMLOCK
19 tap_code(KC_NLCK);
20 break;
21 case 3: // Press thrice for CAPSLOCK
22 tap_code(KC_CAPS);
23 break;
24 case 4: // Press four times for SCROLLOCK
25 tap_code(KC_SLCK);
26 break;
27 default:
28 break;
29 }
30};
31
32void dance_layer (qk_tap_dance_state_t *state, void *user_data) {
33 switch (state -> count) {
34 case 1: // Press once for MENU
35 tap_code(KC_APP);
36 break;
37 case 2: // Press twice for NUMPAD
38 layer_invert(NUMP);
39 break;
40 case 3: // Press thrice for SYMBOLS
41 layer_invert(SYMB);
42 break;
43 case 4: // Press four times for SYMBOLS, SHIFTED
44 layer_invert(SYSH);
45 break;
46 default:
47 break;
48 }
49};
50
51enum tap_dances {LOCKS = 0, LAYERS = 1};
52qk_tap_dance_action_t tap_dance_actions[] = {
53 [LOCKS] = ACTION_TAP_DANCE_FN(dance_lock),
54 [LAYERS] = ACTION_TAP_DANCE_FN(dance_layer)
55};
56
57// Make layering more clear
58#define CC_ESC LCTL_T(KC_ESC)
59#define CC_QUOT RCTL_T(KC_QUOT)
60#define AC_SLSH LALT_T(KC_SLSH)
61#define AC_EQL RALT_T(KC_EQL)
62#define FC_BSLS LT(FCTN, KC_BSLS)
63#define FC_MINS LT(FCTN, KC_MINS)
64
65const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
66
67 [BASE] = LAYOUT(
68// ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐ ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐
69 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
70// ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
71 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL,
72// ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
73 CC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, CC_QUOT,
74// ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┐ ┌──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
75 KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, TD(LOCKS), TD(LAYERS),KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC,
76// └──────────┴──────────┴──────────┴────┬─────┴────┬─────┴────┬─────┴────┬─────┘ └────┬─────┴────┬─────┴────┬─────┴────┬─────┴──────────┴──────────┴──────────┘
77 AC_SLSH, FC_BSLS, KC_SPC, KC_ENT, FC_MINS, AC_EQL
78// └──────────┴──────────┴──────────┘ └──────────┴──────────┴──────────┘
79 ),
80
81 [SYMB] = LAYOUT(
82// ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐ ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐
83 UC(0x00EF),UC(0x00A1),UC(0x00B2),UC(0x00B3),UC(0x00A4),UC(0x20AC), UC(0x00BC),UC(0x00BD),UC(0x00BE),UC(0x2018),UC(0x2019),_______,
84// ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
85 _______, UC(0x00E4),UC(0x00E5),UC(0x00E9),UC(0x00AE),UC(0x00FE), UC(0x00FC),UC(0x00FA),UC(0x00ED),UC(0x00F3),UC(0x00F6),_______,
86// ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
87 _______, UC(0x00E1),UC(0x00DF),UC(0x00F0),UC(0x00EC),UC(0x00ED), UC(0x00EE),UC(0x00E0),UC(0x00E2),UC(0x00F8),UC(0x00B6),UC(0x00B4),
88// ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┐ ┌──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
89 _______, UC(0x00E6),UC(0x00E8),UC(0x00A9),UC(0x00EA),UC(0x00EB),_______, _______, UC(0x00F1),UC(0x00FD),UC(0x00E7),UC(0x00F4),UC(0x00BF),_______,
90// └──────────┴──────────┴──────────┴────┬─────┴────┬─────┴────┬─────┴────┬─────┘ └────┬─────┴────┬─────┴────┬─────┴────┬─────┴──────────┴──────────┴──────────┘
91 UC(0x00BF),UC(0x00AC),_______, _______, UC(0x00B1),UC(0x00D7)
92// └──────────┴──────────┴──────────┘ └──────────┴──────────┴──────────┘
93 ),
94
95 [SYSH] = LAYOUT(
96// ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐ ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐
97 UC(0x00CF),UC(0x00B9),UC(0x2200),UC(0x2201),UC(0x00A3),UC(0x00A5), UC(0x00B5),UC(0x00AB),UC(0x00BB),UC(0x201C),UC(0x201D),_______,
98// ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
99 _______, UC(0x00C4),UC(0x00C5),UC(0x00C9),UC(0x2122),UC(0x00DE), UC(0x00DC),UC(0x00DA),UC(0x00CD),UC(0x00D3),UC(0x00D6),_______,
100// ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
101 _______, UC(0x00C1),UC(0x00A7),UC(0x00D0),UC(0x00CC),UC(0x00CD), UC(0x00CE),UC(0x00C1),UC(0x00C2),UC(0x00D8),UC(0x00B0),UC(0x00A8),
102// ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┐ ┌──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
103 _______, UC(0x00C6),UC(0x00C8),UC(0x00A2),UC(0x00CA),UC(0x00CB),_______, _______, UC(0x00D1),UC(0x00DD),UC(0x00C7),UC(0x00D4),UC(0x203D),_______,
104// └──────────┴──────────┴──────────┴────┬─────┴────┬─────┴────┬─────┴────┬─────┘ └────┬─────┴────┬─────┴────┬─────┴────┬─────┴──────────┴──────────┴──────────┘
105 UC(0x203D),UC(0x00A6),_______, _______, UC(0x00AA),UC(0x00F7)
106// └──────────┴──────────┴──────────┘ └──────────┴──────────┴──────────┘
107 ),
108
109 [NUMP] = LAYOUT(
110// ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐ ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐
111 _______, _______, KC_P7, KC_P8, KC_P9, KC_PSLS, _______, KC_P7, KC_P8, KC_P9, KC_PSLS, _______,
112// ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
113 _______, _______, KC_P4, KC_P5, KC_P6, KC_PAST, _______, KC_P4, KC_P5, KC_P6, KC_PAST, _______,
114// ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
115 _______, _______, KC_P1, KC_P2, KC_P3, KC_PMNS, _______, KC_P1, KC_P2, KC_P3, KC_PMNS, _______,
116// ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┐ ┌──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
117 _______, _______, KC_P0, KC_PCMM, KC_PDOT, KC_PPLS, _______, _______, _______, KC_P0, KC_PCMM, KC_PDOT, KC_PPLS, _______,
118// └──────────┴──────────┴──────────┴────┬─────┴────┬─────┴────┬─────┴────┬─────┘ └────┬─────┴────┬─────┴────┬─────┴────┬─────┴──────────┴──────────┴──────────┘
119 _______, _______, _______, KC_PENT, _______, _______
120// └──────────┴──────────┴──────────┘ └──────────┴──────────┴──────────┘
121 ),
122
123 [FCTN] = LAYOUT(
124// ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐ ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐
125 KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_SYSREQ,
126// ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
127 KC_PSCR, UC_MOD, KC_HOME, KC_UP, KC_END, KC_PGUP, UC(0x2014),KC_LBRC, KC_RBRC, S(KC_LBRC),S(KC_RBRC),KC_INS,
128// ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
129 KC_PAUS, RGB_TOG, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_BRIU, KC_CLR,
130// ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┐ ┌──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
131 _______, KC_MPRV, KC_MRWD, KC_MPLY, KC_MFFD, KC_MNXT, KC_F11, KC_F12, KC_MSTP, KC_MUTE, KC_VOLD, KC_VOLU, KC_BRID, _______,
132// └──────────┴──────────┴──────────┴────┬─────┴────┬─────┴────┬─────┴────┬─────┘ └────┬─────┴────┬─────┴────┬─────┴────┬─────┴──────────┴──────────┴──────────┘
133 _______, _______, _______, _______, _______, _______
134// └──────────┴──────────┴──────────┘ └──────────┴──────────┴──────────┘
135 )
136};
137
138// Initialize rgblight
139void keyboard_post_init_user(void) {
140 rgblight_enable_noeeprom();
141 for (int i = 360; i > 0; i--) {
142 rgblight_sethsv_noeeprom(i, 255, 255);
143 }
144 layer_state_set_user(layer_state);
145};
146
147// Turn on RGB underglow according to active layer
148uint32_t layer_state_set_user(uint32_t state) {
149 switch (biton32(state)) {
150 case FCTN:
151 rgblight_sethsv_noeeprom(136, 255, 255);
152 break;
153 case NUMP:
154 rgblight_sethsv_noeeprom(228, 255, 255);
155 break;
156 case SYMB:
157 case SYSH:
158 rgblight_sethsv_noeeprom(320, 255, 255);
159 break;
160 default: // for any other layers, or the default layer
161 rgblight_sethsv_noeeprom(19, 255, 255);
162 break;
163 }
164 return state;
165};
diff --git a/keyboards/keebio/iris/keymaps/nstickney/rules.mk b/keyboards/keebio/iris/keymaps/nstickney/rules.mk
new file mode 100644
index 000000000..851fc924e
--- /dev/null
+++ b/keyboards/keebio/iris/keymaps/nstickney/rules.mk
@@ -0,0 +1,4 @@
1BACKLIGHT_ENABLE = yes
2RGBLIGHT_ENABLE = yes
3TAP_DANCE_ENABLE=yes
4UNICODE_ENABLE = yes
diff --git a/layouts/community/ergodox/familiar/README.md b/layouts/community/ergodox/familiar/README.md
deleted file mode 100644
index 8d68af21a..000000000
--- a/layouts/community/ergodox/familiar/README.md
+++ /dev/null
@@ -1,69 +0,0 @@
1# ErgoDox Familiar Layout
2Familiar layout for those who regularly switch back and forth from ErgoDox to "normal" QWERTY.
3
4[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](../../../../license_GPLv3.md) [![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg)](https://github.com/RichardLitt/standard-readme)
5
6## Table of Contents
7
8- [Background](#background)
9- [Install](#install)
10- [Usage](#usage)
11 - [Layers](#layers)
12- [Contribute](#contribute)
13 - [Issues](#issues)
14- [License](#license)
15
16## Background
17
18This layout is built to be as familiar as possible for users coming directly from a default (QWERTY US) keyboard, while gaining as much advantage as possible from the ErgoDox and QMK featureset. I use an ErgoDoxEZ at home, but I don't have a regular office (CS grad student) so I regularly use either my laptop or a default-setup lab computer; I context switch daily so this layout is meant to reduce the mental overhead as much as possible.
19
20The default ErgoDoxEZ layout is probably more optimized as a solo daily driver - as are a lot of the others available keymaps. The focus of this layout is to get as much from the 'Dox as possible without overly disrupting long-established muscle memory.
21
22Key features of the familiar layout:
231. QWERTY default layout.
241. International symbols layer, mapped in the US-International layout default positions, through [UCIS](https://github.com/qmk/qmk_firmware/wiki/Unicode-and-additional-language-support#ucis_enable).
251. Numpad layer on right hand.
261. Thumb cluster holds spacebar and access to secondary layers.
271. Function-layer arrow keys in both the first-person-shooter (actually ESDF instead of WASD) and vim (HJKL) locations.
28
29## Install
30
31If you are on Windows or Mac, choose the proper line in [`keymap.c`](keymap.c) for [unicode/international character support](https://github.com/qmk/qmk_firmware/wiki/Unicode-and-additional-language-support#ucis_enable) (starts at line 253).
32```c
33void matrix_init_user(void) {
34 set_unicode_input_mode(UC_LNX); // Linux
35 //set_unicode_input_mode(UC_OSX); // Mac OSX
36 //set_unicode_input_mode(UC_WIN); // Windows (with registry key, see wiki)
37 //set_unicode_input_mode(UC_WINC); // Windows (with WinCompose, see wiki)
38};
39```
40
41For instructions on building and installing this keymap, [go to the wiki](https://github.com/qmk/qmk_firmware/tree/master/keyboards/ergodox#build-dependencies). Below is the command for me; it may be different for you.
42```sh
43$ make ergodox-ez-familiar-teensy
44```
45
46## Usage
47
48[![Familiar Layout](http://i.imgur.com/6nLN9UT.png)](https://gist.github.com/nstickney/13508a9f99cff381d58b7be6f7dcc644)
49
50### Layers
511. Base Layer: QWERTY, with arrow keys at bottom right.
521. UCIS Layer: US-International symbols layer, plus —. Accessed by toggling the `SYMB` layer using the UCIS key (bottom of left thumb cluster).
531. UCIS-Shifted Layer: Making shift work for UCIS characters. An ugly workaround. Any ideas? Accessed by holding shift while the `SYMB` layer is active (toggles the `CSYM` layer).
541. Numpad Layer: Right hand number pad. Accessed by toggling the `NUMP` layer using the NUMP key (bottom of right thumb cluster).
551. Function Layer: F1-F12, arrows on ESDF and HJKL, media player controls. Accessed by holding either FN key (center key of each thumb cluster), which toggles the `ARRW` layer. I know, I need to work on my naming conventions.
56
57## Contribute
58
59[Contributor Covenant](http://contributor-covenant.org/)
60
61I'm terrible at this; I have no background in human-computer interaction, kinesiology, or keyboard-ology. Please send comments/issues/pull requests/angry tweets/etc. If you think there is a better way to take advantage of the ErgoDox/QMK comination without straying far from 84/101-key QWERTY, I want to know it.
62
63### Issues
641. The `CSYM` layer is an ugly workaround. I should write a function for doing different things in the `SYMB` layer depending on whether SHIFT is being held. Or something. Ideas?
651. Right now, the thumb cluster function keys double as slash and whack... this really isnt a great solution.
661. `MENU` and `LEAD` are useless, at the moment.
67
68## License
69QMK is licensed ([mostly](https://github.com/qmk/qmk_firmware/issues/1038)) under the [GPLv2](../../../../license_GPLv2.md). Accordingly, to whatever extent applicable, this keymap is licensed under the [GPLv3](../../../../license_GPLv3.md).
diff --git a/layouts/community/ergodox/familiar/keymap.c b/layouts/community/ergodox/familiar/keymap.c
deleted file mode 100644
index b359a91d3..000000000
--- a/layouts/community/ergodox/familiar/keymap.c
+++ /dev/null
@@ -1,281 +0,0 @@
1#include QMK_KEYBOARD_H
2#include "debug.h"
3#include "action_layer.h"
4#include "version.h"
5
6// Layers
7#define BASE 0 // default layer
8#define SYMB 1 // international symbols
9#define CSYM 2 // international symbols shifted
10#define NUMP 3 // numpad
11#define ARRW 4 // function, media, arrow keys
12
13// Tap Dancing
14void dance_lock (qk_tap_dance_state_t *state, void *user_data) {
15 if (state->count == 1) { // Press once for NUMLOCK
16 register_code (KC_NLCK);
17 unregister_code (KC_NLCK);
18 } else if (state->count == 2) { // Press twice for CAPSLOCK
19 register_code (KC_CAPS);
20 unregister_code (KC_CAPS);
21 } else if (state->count == 3) { //Press thrice for SCROLLLOCK
22 register_code (KC_SLCK);
23 unregister_code (KC_SLCK);
24 }
25}
26enum {LOCKS = 0};
27qk_tap_dance_action_t tap_dance_actions[] = {
28 [LOCKS] = ACTION_TAP_DANCE_FN(dance_lock)
29};
30
31const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
32// If it accepts an argument (i.e, is a function), it doesn't need KC_.
33// Otherwise, it needs KC_*
34/* layer 0 : default
35 *
36 * ,--------------------------------------------------. ,--------------------------------------------------.
37 * | ` | 1 | 2 | 3 | 4 | 5 | 6 | | 7 | 8 | 9 | 0 | - | = | BCKSPC |
38 * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
39 * | TAB | Q | W | E | R | T | HOME | | PGUP | Y | U | I | O | P | DELETE |
40 * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
41 * | ' | A | S | D | F | G |------| |------| H | J | K | L | ; | ENTER |
42 * |--------+------+------+------+------+------| END | | PGDN |------+------+------+------+------+--------|
43 * | (/LSFT | Z | X | C | V | B | | | | N | M | , | . | UP | )/RSFT |
44 * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
45 * | LCTRL | LGUI | MENU | LEAD | LALT | |[/RALT|]/RCTL| LEFT | DOWN | RIGHT |
46 * `------------------------------------' `------------------------------------'
47 * ,-------------. ,-------------.
48 * |PRTSCR| ESC | | VOL- | VOL+ |
49 * ,------|------|------| |------+------+------.
50 * | |SLASH/| LOCKS| | MUTE |WHACK/| |
51 * | SPC | MO(4)|------| |------|MO(4) | SPC |
52 * | | | TO(1)| |TO(3) | | |
53 * `--------------------' `--------------------'
54 */
55[BASE] = LAYOUT_ergodox(
56 // left hand
57 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6,
58 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_HOME,
59 KC_QUOT, KC_A, KC_S, KC_D, KC_F, KC_G,
60 KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_END,
61 KC_LCTL, KC_LGUI, KC_MENU, KC_LEAD, KC_LALT,
62 KC_PSCR, KC_ESC,
63 TD(LOCKS),
64 KC_SPC, LT(ARRW, KC_SLSH), TG(SYMB),
65 // right hand
66 KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
67 KC_PGUP, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL,
68 KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENTER,
69 KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_RSPC,
70 MT(MOD_RALT, KC_LBRC), MT(MOD_RCTL, KC_RBRC), KC_LEFT, KC_DOWN, KC_RGHT,
71 KC_VOLD, KC_VOLU,
72 KC_MUTE,
73 TG(NUMP), LT(ARRW, KC_BSLS), KC_SPC
74 ),
75
76/* layer 1: International symbols, etc
77 *
78 * ,--------------------------------------------------. ,--------------------------------------------------.
79 * | | ¡ | ² | ³ | ¤ | € | ¼ | | ½ | ¾ | ‘ | ’ | ¥ | × | |
80 * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
81 * | | ä | å | é | ® | þ | | | | ü | ú | í | ó | ö | |
82 * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
83 * | ´ | á | ß | ð | | |------| |------| | | | ø | ¶ | |
84 * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
85 * |MO(CSYM)| æ | ¿ | © | ¬ | | | | | ñ | µ | ç | | |MO(CSYM)|
86 * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
87 * | | | | | | | « | » | | | |
88 * `------------------------------------' `------------------------------------'
89 * ,-------------. ,-------------.
90 * | | | | | |
91 * ,------|------|------| |------+------+------.
92 * | | | | | | | |
93 * | | |------| |------| | |
94 * | | | | | | | |
95 * `--------------------' `--------------------'
96 */
97[SYMB] = LAYOUT_ergodox(
98 // left hand
99 _______, UC(0x00A1), UC(0x00B2), UC(0x00B3), UC(0x00A4), UC(0x20AC), UC(0x00BC),
100 _______, UC(0x00E4), UC(0x00E5), UC(0x00E9), UC(0x00AE), UC(0x00FE), _______,
101 UC(0x00B4), UC(0x00E1), UC(0x00DF), UC(0x00F0), _______, _______,
102 MO(CSYM), UC(0x00E6), UC(0x00BF), _______, UC(0x00AC), UC(0x00A9), _______,
103 _______, _______, _______, _______, _______,
104 _______, _______,
105 _______,
106 _______, _______, _______,
107 // right hand
108 UC(0x00BD), UC(0x00BE), UC(0x2018), UC(0x2019), UC(0x00A5), UC(0x00D7), _______,
109 _______, UC(0x00FC), UC(0x00FA), UC(0x00ED), UC(0x00F3), UC(0x00F6), _______,
110 _______, _______, _______, UC(0x00F8), UC(0x00B6), _______,
111 _______, UC(0x00F1), UC(0x00B5), UC(0x00E7), _______, _______, MO(CSYM),
112 UC(0x00AB), UC(0x00BB), _______, _______, _______,
113 _______, _______,
114 _______,
115 _______, _______, _______
116 ),
117
118/* layer 2 : international symbols, shifted
119 * This layer is an ugly workaround; it pretends that SHIFT still works normally on keys
120 * which don't produce an "upper case" or "shifted" international symobol.
121 *
122 * ,--------------------------------------------------. ,--------------------------------------------------.
123 * | | ¹ | | | £ | | | | | | | | — | ÷ | |
124 * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
125 * | | Ä | Å | É | | Þ | | | | Ü | Ú | Í | Ó | Ö | |
126 * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
127 * | ¨ | Á | § | Ð | | |------| |------| | | | Ø | ° | |
128 * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
129 * | | Æ | | ¢ | ¦ | | | | | Ñ | | Ç | | | |
130 * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
131 * | | | | | | | “ | ” | | | |
132 * `------------------------------------' `------------------------------------'
133 * ,-------------. ,-------------.
134 * | | | | | |
135 * ,------|------|------| |------+------+------.
136 * | | | | | | | |
137 * | | |------| |------| | |
138 * | | | | | | | |
139 * `--------------------' `--------------------'
140 */
141[CSYM] = LAYOUT_ergodox(
142 // left hand
143 _______, UC(0x00B9), _______, _______, UC(0x00A3), _______, _______,
144 _______, UC(0x00C4), UC(0x00C5), UC(0x00C9), S(KC_R), UC(0x00DE), _______,
145 UC(0x00A8), UC(0x00C1), UC(0x00A7), UC(0x00D0), S(KC_F), S(KC_G),
146 _______, UC(0x00C6), UC(0x00A6), UC(0x00A2), S(KC_V), S(KC_B), _______,
147 _______, _______, _______, _______, _______,
148 _______, _______,
149 _______,
150 _______, _______, _______,
151 // right hand
152 _______, _______, _______, _______, UC(0x2014), UC(0x00F7), _______,
153 _______, UC(0x00DC), UC(0x00DA), UC(0x00CD), UC(0x00D3), UC(0x00D6), _______,
154 S(KC_H), S(KC_J), S(KC_K), UC(0x00D8), UC(0x00B0), _______,
155 _______, UC(0x00D1), _______, UC(0x00C7), S(KC_DOT), _______, _______,
156 UC(0x201C), UC(0x201D), _______, _______, _______,
157 _______, _______,
158 _______,
159 _______, _______, _______
160 ),
161
162/* layer 3: numberpad
163 *
164 * ,--------------------------------------------------. ,--------------------------------------------------.
165 * | | | | | | | | | | | ( | ) | / | * | |
166 * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
167 * | | | | | | | | | | | 7 | 8 | 9 | - | |
168 * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
169 * | | | | | | |------| |------| | 4 | 5 | 6 | + | |
170 * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
171 * | | | | | | | | | | | 1 | 2 | 3 | = | |
172 * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
173 * | | | | | | |0/RALT|./RCTL| , | ENTER| |
174 * `------------------------------------' `------------------------------------'
175 * ,-------------. ,-------------.
176 * | | | | | |
177 * ,------|------|------| |------+------+------.
178 * | | | | | | | |
179 * | | |------| |------| | |
180 * | | | | | | | |
181 * `--------------------' `--------------------'
182 */
183[NUMP] = LAYOUT_ergodox(
184 // left hand
185 _______, _______, _______, _______, _______, _______, _______,
186 _______, _______, _______, _______, _______, _______, _______,
187 _______, _______, _______, _______, _______, _______,
188 _______, _______, _______, _______, _______, _______, _______,
189 _______, _______, _______, _______, _______,
190 _______, _______,
191 _______,
192 _______, _______, _______,
193 // right hand
194 _______, _______, S(KC_9), S(KC_0), KC_PSLS, KC_PAST, _______,
195 _______, _______, KC_KP_7, KC_KP_8, KC_KP_9, KC_PMNS, _______,
196 _______, KC_KP_4, KC_KP_5, KC_KP_6, KC_PPLS, _______,
197 _______, _______, KC_KP_1, KC_KP_2, KC_KP_3, KC_PEQL, _______,
198 MT(MOD_RALT, KC_KP_0), MT(MOD_RCTL, KC_KP_DOT),KC_PCMM, KC_PENT, _______,
199 _______, _______,
200 _______,
201 _______, _______, _______
202 ),
203
204/* layer 4 : functions and arrows
205 * This layer is at the top so that the functions still work no matter what layers are active.
206 *
207 * ,--------------------------------------------------. ,--------------------------------------------------.
208 * | ESCAPE | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 | |
209 * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
210 * | | | | UP | | | | | | | | | | | INSERT |
211 * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
212 * | | | LEFT | DOWN |RIGHT | |------| |------| LEFT | DOWN | UP | RIGHT| | |
213 * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
214 * | |M_PREV|M_STOP|M_PLPS|M_NEXT| | | | | | | | | PGUP | |
215 * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
216 * | | | | | | | | | HOME | PGDN | END |
217 * `------------------------------------' `------------------------------------'
218 * ,-------------. ,-------------.
219 * | SYSRQ| PAUSE| | | |
220 * ,------|------|------| |------+------+------.
221 * | | | | | | | |
222 * | | |------| |------| | |
223 * | | | | | | | |
224 * `--------------------' `--------------------'
225 */
226[ARRW] = LAYOUT_ergodox(
227 // left hand
228 KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6,
229 _______, _______, _______, KC_UP, _______, _______, _______,
230 _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______,
231 _______, KC_MPRV, KC_MSTP, KC_MPLY, KC_MNXT, _______, _______,
232 _______, _______, _______, _______, _______,
233 KC_SYSREQ, KC_PAUSE,
234 _______,
235 _______, _______, _______,
236 // right hand
237 KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______,
238 _______, _______, _______, _______, _______, _______, KC_INS,
239 KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______,
240 _______, _______, _______, _______, _______, KC_PGUP, _______,
241 _______, _______, KC_HOME, KC_PGDN, KC_END,
242 _______, _______,
243 _______,
244 _______, _______, _______
245 ),
246};
247
248// Runs just one time when the keyboard initializes.
249void matrix_init_user(void) {
250 set_unicode_input_mode(UC_LNX); // Linux
251 //set_unicode_input_mode(UC_OSX); // Mac OSX
252 //set_unicode_input_mode(UC_WIN); // Windows (with registry key, see wiki)
253 //set_unicode_input_mode(UC_WINC); // Windows (with WinCompose, see wiki)
254};
255
256// Runs constantly in the background, in a loop.
257void matrix_scan_user(void) {
258
259 uint8_t layer = biton32(layer_state);
260
261 ergodox_board_led_off();
262 ergodox_right_led_1_off();
263 ergodox_right_led_2_off();
264 ergodox_right_led_3_off();
265 switch (layer) {
266 case SYMB:
267 case CSYM:
268 ergodox_right_led_1_on();
269 break;
270 case NUMP:
271 ergodox_right_led_2_on();
272 break;
273 case ARRW:
274 ergodox_right_led_3_on();
275 break;
276 default:
277 // none
278 break;
279 }
280
281};
diff --git a/layouts/community/ergodox/nstickney/keymap.c b/layouts/community/ergodox/nstickney/keymap.c
new file mode 100644
index 000000000..dc83c2f4d
--- /dev/null
+++ b/layouts/community/ergodox/nstickney/keymap.c
@@ -0,0 +1,213 @@
1#include QMK_KEYBOARD_H
2
3/*
4 * This keymap simulates the key limitations of an Iris on an ErgoDox. See the
5 * matching iris layout (/keyboards/iris/keymaps/nstickney) for further
6 * information.
7 */
8
9// Layers
10#define BASE 0 // Base layer
11#define SYMB 1 // Symbols
12#define SYSH 2 // Symbols, shifted
13#define NUMP 4 // Numpad
14#define FCTN 8 // Function
15
16// Tap Dancing
17void dance_lock (qk_tap_dance_state_t *state, void *user_data) {
18 switch (state->count){
19 case 1: // Press once for LGUI
20 tap_code(KC_LGUI);
21 break;
22 case 2: // Press twice for NUMLOCK
23 tap_code(KC_NLCK);
24 break;
25 case 3: // Press thrice for CAPSLOCK
26 tap_code(KC_CAPS);
27 break;
28 case 4: // Press four times for SCROLLOCK
29 tap_code(KC_SLCK);
30 break;
31 default:
32 break;
33 }
34};
35
36void dance_layer (qk_tap_dance_state_t *state, void *user_data) {
37 switch (state -> count) {
38 case 1: // Press once for MENU
39 tap_code(KC_APP);
40 break;
41 case 2: // Press twice for NUMPAD
42 layer_invert(NUMP);
43 break;
44 case 3: // Press thrice for SYMBOLS
45 layer_invert(SYMB);
46 break;
47 case 4: // Press four times for SYMBOLS, SHIFTED
48 layer_invert(SYSH);
49 break;
50 default:
51 break;
52 }
53};
54
55enum tap_dances {LOCKS = 0, LAYERS = 1};
56qk_tap_dance_action_t tap_dance_actions[] = {
57 [LOCKS] = ACTION_TAP_DANCE_FN(dance_lock),
58 [LAYERS] = ACTION_TAP_DANCE_FN(dance_layer)
59};
60
61// Make layering more clear
62enum custom_keycodes {
63 __________ = KC_TRNS,
64 XXX = KC_NO,
65 CC_ESC = LCTL_T(KC_ESC),
66 CC_QUOT = RCTL_T(KC_QUOT),
67 AC_SLSH = LALT_T(KC_SLSH),
68 AC_EQL = RALT_T(KC_EQL),
69 FC_BSLS = LT(FCTN, KC_BSLS),
70 FC_MINS = LT(FCTN, KC_MINS),
71};
72
73const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
74 [BASE] = LAYOUT_ergodox(
75 // left hand
76 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, XXX,
77 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, XXX,
78 CC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G,
79 KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, XXX,
80 XXX, XXX, XXX, XXX, AC_SLSH,
81 TD(LOCKS), XXX,
82 XXX,
83 FC_BSLS, KC_SPC, XXX,
84 // right hand
85 XXX, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
86 XXX, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL,
87 KC_H, KC_J, KC_K, KC_L, KC_SCLN, CC_QUOT,
88 XXX, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC,
89 AC_EQL, XXX, XXX, XXX, XXX,
90 XXX, TD(LAYERS),
91 XXX,
92 XXX, KC_ENT, FC_MINS
93 ),
94
95 [SYMB] = LAYOUT_ergodox(
96 // left hand
97 UC(0x00EF), UC(0x00A1), UC(0x00B2), UC(0x00B3), UC(0x00A4), UC(0x20AC), __________,
98 __________, UC(0x00E4), UC(0x00E5), UC(0x00E9), UC(0x00AE), UC(0x00FE), __________,
99 __________, UC(0x00E1), UC(0x00DF), UC(0x00F0), UC(0x00EC), UC(0x00ED),
100 __________, UC(0x00E6), UC(0x00E8), UC(0x00A9), UC(0x00EA), UC(0x00EB), __________,
101 __________, __________, __________, __________, UC(0x00BF),
102 __________, __________,
103 __________,
104 UC(0x00AC), __________, __________,
105 // right hand
106 __________, UC(0x00BC), UC(0x00BD), UC(0x00BE), UC(0x2018), UC(0x2019), __________,
107 __________, UC(0x00FC), UC(0x00FA), UC(0x00ED), UC(0x00F3), UC(0x00F6), __________,
108 UC(0x00EE), UC(0x00E0), UC(0x00E2), UC(0x00F8), UC(0x00B6), UC(0x00B4),
109 __________, UC(0x00F1), UC(0x00FD), UC(0x00E7), UC(0x00F4), UC(0x00BF), __________,
110 UC(0x00D7), __________, __________, __________, __________,
111 __________, __________,
112 __________,
113 __________, __________, UC(0x00B1)
114 ),
115
116 [SYSH] = LAYOUT_ergodox(
117 // left hand
118 UC(0x00CF), UC(0x00B9), UC(0x2200), UC(0x2201), UC(0x00A3), UC(0x00A5), __________,
119 __________, UC(0x00C4), UC(0x00C5), UC(0x00C9), UC(0x2122), UC(0x00DE), __________,
120 __________, UC(0x00C1), UC(0x00A7), UC(0x00D0), UC(0x00CC), UC(0x00CD),
121 __________, UC(0x00C6), UC(0x00C8), UC(0x00A2), UC(0x00CA), UC(0x00CB), __________,
122 __________, __________, __________, __________, UC(0x203D),
123 __________, __________,
124 __________,
125 UC(0x00A6), __________, __________,
126 // right hand
127 __________, UC(0x00B5), UC(0x00AB), UC(0x00BB), UC(0x201C), UC(0x201D), __________,
128 __________, UC(0x00DC), UC(0x00DA), UC(0x00CD), UC(0x00D3), UC(0x00D6), __________,
129 UC(0x00CE), UC(0x00C1), UC(0x00C2), UC(0x00D8), UC(0x00B0), UC(0x00A8),
130 __________, UC(0x00D1), UC(0x00DD), UC(0x00C7), UC(0x00D4), UC(0x203D), __________,
131 UC(0x00F7), __________, __________, __________, __________,
132 __________, __________,
133 __________,
134 __________, __________, UC(0x00AA)
135 ),
136
137 [NUMP] = LAYOUT_ergodox(
138 // left hand
139 __________, __________, KC_P7, KC_P8, KC_P9, KC_PSLS, __________,
140 __________, __________, KC_P4, KC_P5, KC_P6, KC_PAST, __________,
141 __________, __________, KC_P1, KC_P2, KC_P3, KC_PMNS,
142 __________, __________, KC_P0, KC_PCMM, KC_PDOT, KC_PPLS, __________,
143 __________, __________, __________, __________, __________,
144 __________, __________,
145 __________,
146 __________, __________, __________,
147 // right hand
148 __________, __________, KC_P7, KC_P8, KC_P9, KC_PSLS, __________,
149 __________, __________, KC_P4, KC_P5, KC_P6, KC_PAST, __________,
150 __________, KC_P1, KC_P2, KC_P3, KC_PMNS, __________,
151 __________, __________, KC_P0, KC_PCMM, KC_PDOT, KC_PPLS, __________,
152 __________, __________, __________, __________, __________,
153 __________, __________,
154 __________,
155 __________, KC_PENT, __________
156 ),
157
158 [FCTN] = LAYOUT_ergodox(
159 // left hand
160 KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, __________,
161 KC_PSCR, RGB_TOG, KC_HOME, KC_UP, KC_END, KC_PGUP, __________,
162 KC_PAUS, __________, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN,
163 __________, KC_MPRV, KC_MRWD, KC_MPLY, KC_MFFD, KC_MNXT, __________,
164 __________, __________, __________, __________, __________,
165 KC_F11, __________,
166 __________,
167 __________, __________, __________,
168 // right hand
169 __________, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_SYSREQ,
170 __________, UC(0x2014), KC_LBRC, KC_RBRC, S(KC_LBRC), S(KC_RBRC), KC_INS,
171 KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_BRIU, KC_CLR,
172 __________, KC_MSTP, KC_MUTE, KC_VOLD, KC_VOLU, KC_BRID, __________,
173 __________, __________, __________, __________, __________,
174 __________, KC_F12,
175 __________,
176 __________, __________, __________
177 ),
178};
179
180void eeconfig_init_user(void) {
181 set_unicode_input_mode(UC_LNX); // Linux
182 //set_unicode_input_mode(UC_OSX); // Mac OSX
183 //set_unicode_input_mode(UC_WIN); // Windows (with registry key, see wiki)
184 //set_unicode_input_mode(UC_WINC); // Windows (with WinCompose, see wiki)
185};
186
187// Runs just one time when the keyboard initializes.
188void matrix_init_user(void) {
189 ergodox_board_led_off();
190};
191
192// Runs constantly in the background, in a loop.
193void matrix_scan_user(void) {
194
195 if (IS_LAYER_ON(SYMB) || IS_LAYER_ON(SYSH)) {
196 ergodox_right_led_1_on();
197 } else {
198 ergodox_right_led_1_off();
199 }
200
201 if (IS_LAYER_ON(NUMP)) {
202 ergodox_right_led_2_on();
203 } else {
204 ergodox_right_led_2_off();
205 }
206
207 if (IS_LAYER_ON(FCTN)) {
208 ergodox_right_led_3_on();
209 } else {
210 ergodox_right_led_3_off();
211 }
212
213};
diff --git a/layouts/community/ergodox/familiar/rules.mk b/layouts/community/ergodox/nstickney/rules.mk
index 4a3c58621..4a3c58621 100644
--- a/layouts/community/ergodox/familiar/rules.mk
+++ b/layouts/community/ergodox/nstickney/rules.mk