diff options
-rw-r--r-- | keyboards/boardsource/the_mark/keymaps/stanrc85/keymap.c | 3 | ||||
-rw-r--r-- | keyboards/boardsource/the_mark/keymaps/stanrc85/rules.mk | 1 | ||||
-rw-r--r-- | layouts/community/60_ansi/stanrc85-ansi/readme.md | 29 | ||||
-rw-r--r-- | layouts/community/alice/stanrc85-alice/readme.md | 57 | ||||
-rw-r--r-- | users/stanrc85/config.h | 1 | ||||
-rw-r--r-- | users/stanrc85/readme.md | 27 | ||||
-rw-r--r-- | users/stanrc85/rules.mk | 10 | ||||
-rw-r--r-- | users/stanrc85/stanrc85.c | 4 |
8 files changed, 98 insertions, 34 deletions
diff --git a/keyboards/boardsource/the_mark/keymaps/stanrc85/keymap.c b/keyboards/boardsource/the_mark/keymaps/stanrc85/keymap.c index bf75a284f..890d266b9 100644 --- a/keyboards/boardsource/the_mark/keymaps/stanrc85/keymap.c +++ b/keyboards/boardsource/the_mark/keymaps/stanrc85/keymap.c | |||
@@ -53,9 +53,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
53 | void rgb_matrix_indicators_user(void) { | 53 | void rgb_matrix_indicators_user(void) { |
54 | uint8_t layer = get_highest_layer(layer_state); | 54 | uint8_t layer = get_highest_layer(layer_state); |
55 | switch (layer) { | 55 | switch (layer) { |
56 | case _QWERTY: | ||
57 | rgb_matrix_set_color(10, 0, 0, 0); | ||
58 | break; | ||
59 | case _FN1_60: | 56 | case _FN1_60: |
60 | rgb_matrix_set_color(10, 0, 0, 255); | 57 | rgb_matrix_set_color(10, 0, 0, 255); |
61 | break; | 58 | break; |
diff --git a/keyboards/boardsource/the_mark/keymaps/stanrc85/rules.mk b/keyboards/boardsource/the_mark/keymaps/stanrc85/rules.mk deleted file mode 100644 index 1e5b99807..000000000 --- a/keyboards/boardsource/the_mark/keymaps/stanrc85/rules.mk +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | VIA_ENABLE = yes | ||
diff --git a/layouts/community/60_ansi/stanrc85-ansi/readme.md b/layouts/community/60_ansi/stanrc85-ansi/readme.md index 6b5b3ca9f..c68211bc0 100644 --- a/layouts/community/60_ansi/stanrc85-ansi/readme.md +++ b/layouts/community/60_ansi/stanrc85-ansi/readme.md | |||
@@ -1,4 +1,4 @@ | |||
1 | <!-- Copyright 2019 Stanrc85 | 1 | <!-- Copyright 2021 Stanrc85 |
2 | 2 | ||
3 | This program is free software: you can redistribute it and/or modify | 3 | This program is free software: you can redistribute it and/or modify |
4 | it under the terms of the GNU General Public License as published by | 4 | it under the terms of the GNU General Public License as published by |
@@ -13,21 +13,26 @@ GNU General Public License for more details. | |||
13 | You should have received a copy of the GNU General Public License | 13 | You should have received a copy of the GNU General Public License |
14 | along with this program. If not, see <http://www.gnu.org/licenses/>.--> | 14 | along with this program. If not, see <http://www.gnu.org/licenses/>.--> |
15 | 15 | ||
16 | # Stanrc85's Standard ANSI 60% Layout | 16 | # Stanrc85's Standard Layout |
17 | |||
18 | Shared keymap between 60%, 65%, Alice layouts: | ||
19 | - 1upkeyboards60HSE | ||
20 | - Mark65 | ||
21 | - Sneakbox Alice | ||
17 | 22 | ||
18 | ## Keymap Notes | 23 | ## Keymap Notes |
19 | - Layer 0 is default QWERTY layout with additional custom features: | 24 | - Layer 0 is default QWERTY layout with additional custom features: |
20 | - SpaceFN to function layer 2 on `Space` | 25 | - SpaceFN to function layer 2 on `Space` |
21 | - `CTRL` when held and `ESC` when tapped on `CAPS LOCK` | 26 | - `CTRL` when held and `ESC` when tapped on `CAPS LOCK` |
22 | - Tap Dance on `Fn1` for `CTRL+ALT+DEL` and `WIN+L` | 27 | - Tap Dance on `Fn1` for `CTRL+ALT+DEL` and `WIN+L` |
23 | - Tap Dance on `ESC` for `ESC` and ` ` ` | 28 | - Tap Dance on `ESC` for `ESC` and ` ` ` |
24 | 29 | ||
25 |  | 30 |  |
26 | 31 | ||
27 | - Layer 1 is default QWERTY with no custom features used mostly for gaming | 32 | - Layer 1 is default QWERTY with no custom features used mostly for gaming |
28 | - Enabled by `Fn2+CAPS` from base layer | 33 | - Enabled by `Fn2+RCTL` from base layer |
29 | 34 | ||
30 |  | 35 |  |
31 | 36 | ||
32 | - Layer 2 is Function layer: | 37 | - Layer 2 is Function layer: |
33 | - F keys | 38 | - F keys |
@@ -37,12 +42,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.--> | |||
37 | - AHK Mic is used to mute/unmute microphone | 42 | - AHK Mic is used to mute/unmute microphone |
38 | - AHK Speaker switches audio output between headphones and speakers | 43 | - AHK Speaker switches audio output between headphones and speakers |
39 | 44 | ||
40 |  | 45 |  |
46 | |||
47 | - Layer 3 is RGB Underglow control and RESET | ||
48 | - `Fn2+RCTL` used to toggle Default QWERTY layer on and off | ||
49 | - `qmk compile` command on `Fn2+Enter` | ||
50 | - `qmk flash` command on `Fn2+Shift+enter` | ||
51 | |||
52 |  | ||
41 | 53 | ||
42 | - Layer 3 is RGB control and RESET | ||
43 | - `Fn2+CAPS` used to toggle Default QWERTY layer on and off | ||
44 | 54 | ||
45 |  | ||
46 | 55 | ||
47 | ### Build | 56 | ### Build |
48 | To build the firmware file associated with this keymap, simply run `make your_keyboard:stanrc85-ansi`. | 57 | To build the firmware file associated with this keymap, simply run `make your_keyboard:stanrc85-ansi`. |
diff --git a/layouts/community/alice/stanrc85-alice/readme.md b/layouts/community/alice/stanrc85-alice/readme.md new file mode 100644 index 000000000..3c4d7ffc3 --- /dev/null +++ b/layouts/community/alice/stanrc85-alice/readme.md | |||
@@ -0,0 +1,57 @@ | |||
1 | <!-- Copyright 2021 Stanrc85 | ||
2 | |||
3 | This program is free software: you can redistribute it and/or modify | ||
4 | it under the terms of the GNU General Public License as published by | ||
5 | the Free Software Foundation, either version 2 of the License, or | ||
6 | (at your option) any later version. | ||
7 | |||
8 | This program is distributed in the hope that it will be useful, | ||
9 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | GNU General Public License for more details. | ||
12 | |||
13 | You should have received a copy of the GNU General Public License | ||
14 | along with this program. If not, see <http://www.gnu.org/licenses/>.--> | ||
15 | |||
16 | # Stanrc85's Standard Layout | ||
17 | |||
18 | Shared keymap between 60%, 65%, Alice layouts: | ||
19 | - 1upkeyboards60HSE | ||
20 | - Mark65 | ||
21 | - Sneakbox Alice | ||
22 | |||
23 | ## Keymap Notes | ||
24 | - Layer 0 is default QWERTY layout with additional custom features: | ||
25 | - SpaceFN to function layer 2 on `Space` | ||
26 | - `CTRL` when held and `ESC` when tapped on `CAPS LOCK` | ||
27 | - Tap Dance on `Fn1` for `CTRL+ALT+DEL` and `WIN+L` | ||
28 | - Tap Dance on `ESC` for `ESC` and ` ` ` | ||
29 | |||
30 |  | ||
31 | |||
32 | - Layer 1 is default QWERTY with no custom features used mostly for gaming | ||
33 | - Enabled by `Fn2+RCTL` from base layer | ||
34 | |||
35 |  | ||
36 | |||
37 | - Layer 2 is Function layer: | ||
38 | - F keys | ||
39 | - Arrows | ||
40 | - Volume and Media controls | ||
41 | - AutoHotkey shortcuts based on [Speaker Control](https://github.com/stanrc85/Speaker-Control) script | ||
42 | - AHK Mic is used to mute/unmute microphone | ||
43 | - AHK Speaker switches audio output between headphones and speakers | ||
44 | |||
45 |  | ||
46 | |||
47 | - Layer 3 is RGB Underglow control and RESET | ||
48 | - `Fn2+RCTL` used to toggle Default QWERTY layer on and off | ||
49 | - `qmk compile` command on `Fn2+Enter` | ||
50 | - `qmk flash` command on `Fn2+Shift+enter` | ||
51 | |||
52 |  | ||
53 | |||
54 | |||
55 | |||
56 | ### Build | ||
57 | To build the firmware file associated with this keymap, simply run `make your_keyboard:stanrc85-alice`. \ No newline at end of file | ||
diff --git a/users/stanrc85/config.h b/users/stanrc85/config.h index a45f9c861..60592c3c6 100644 --- a/users/stanrc85/config.h +++ b/users/stanrc85/config.h | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | #define TAPPING_TERM 250 | 3 | #define TAPPING_TERM 250 |
4 | #define RETRO_TAPPING | 4 | #define RETRO_TAPPING |
5 | #define FORCE_NKRO | ||
5 | 6 | ||
6 | #ifdef RGBLIGHT_ENABLE | 7 | #ifdef RGBLIGHT_ENABLE |
7 | #define RGBLIGHT_LAYERS | 8 | #define RGBLIGHT_LAYERS |
diff --git a/users/stanrc85/readme.md b/users/stanrc85/readme.md index 9009a71d5..8dff9c8e3 100644 --- a/users/stanrc85/readme.md +++ b/users/stanrc85/readme.md | |||
@@ -1,4 +1,4 @@ | |||
1 | <!-- Copyright 2019 Stanrc85 | 1 | <!-- Copyright 2021 Stanrc85 |
2 | 2 | ||
3 | This program is free software: you can redistribute it and/or modify | 3 | This program is free software: you can redistribute it and/or modify |
4 | it under the terms of the GNU General Public License as published by | 4 | it under the terms of the GNU General Public License as published by |
@@ -13,11 +13,12 @@ GNU General Public License for more details. | |||
13 | You should have received a copy of the GNU General Public License | 13 | You should have received a copy of the GNU General Public License |
14 | along with this program. If not, see <http://www.gnu.org/licenses/>.--> | 14 | along with this program. If not, see <http://www.gnu.org/licenses/>.--> |
15 | 15 | ||
16 | # Stanrc85's Standard ANSI 60% Layout | 16 | # Stanrc85's Standard Layout |
17 | 17 | ||
18 | Shared keymap between two 60% PCB: | 18 | Shared keymap between 60%, 65%, Alice layouts: |
19 | - 1upkeyboards60HSE | 19 | - 1upkeyboards60HSE |
20 | - DZ60 (hotswap) | 20 | - Mark65 |
21 | - Sneakbox Alice | ||
21 | 22 | ||
22 | ## Keymap Notes | 23 | ## Keymap Notes |
23 | - Layer 0 is default QWERTY layout with additional custom features: | 24 | - Layer 0 is default QWERTY layout with additional custom features: |
@@ -26,12 +27,12 @@ Shared keymap between two 60% PCB: | |||
26 | - Tap Dance on `Fn1` for `CTRL+ALT+DEL` and `WIN+L` | 27 | - Tap Dance on `Fn1` for `CTRL+ALT+DEL` and `WIN+L` |
27 | - Tap Dance on `ESC` for `ESC` and ` ` ` | 28 | - Tap Dance on `ESC` for `ESC` and ` ` ` |
28 | 29 | ||
29 |  | 30 |  |
30 | 31 | ||
31 | - Layer 1 is default QWERTY with no custom features used mostly for gaming | 32 | - Layer 1 is default QWERTY with no custom features used mostly for gaming |
32 | - Enabled by `Fn2+CAPS` from base layer | 33 | - Enabled by `Fn2+RCTL` from base layer |
33 | 34 | ||
34 |  | 35 |  |
35 | 36 | ||
36 | - Layer 2 is Function layer: | 37 | - Layer 2 is Function layer: |
37 | - F keys | 38 | - F keys |
@@ -41,12 +42,16 @@ Shared keymap between two 60% PCB: | |||
41 | - AHK Mic is used to mute/unmute microphone | 42 | - AHK Mic is used to mute/unmute microphone |
42 | - AHK Speaker switches audio output between headphones and speakers | 43 | - AHK Speaker switches audio output between headphones and speakers |
43 | 44 | ||
44 |  | 45 |  |
45 | 46 | ||
46 | - Layer 3 is RGB Underglow control and RESET | 47 | - Layer 3 is RGB Underglow control and RESET |
47 | - `Fn2+CAPS` used to toggle Default QWERTY layer on and off | 48 | - `Fn2+RCTL` used to toggle Default QWERTY layer on and off |
49 | - `qmk compile` command on `Fn2+Enter` | ||
50 | - `qmk flash` command on `Fn2+Shift+enter` | ||
51 | |||
52 |  | ||
53 | |||
48 | 54 | ||
49 |  | ||
50 | 55 | ||
51 | ### Build | 56 | ### Build |
52 | To build the firmware file associated with this keymap, simply run `make your_keyboard:stanrc85-ansi`. | 57 | To build the firmware file associated with this keymap, simply run `make your_keyboard:stanrc85-ansi` or `make your_keyboard:stanrc85-alice`. |
diff --git a/users/stanrc85/rules.mk b/users/stanrc85/rules.mk index 1406c6838..e88d605f5 100644 --- a/users/stanrc85/rules.mk +++ b/users/stanrc85/rules.mk | |||
@@ -6,7 +6,9 @@ BOOTMAGIC_ENABLE = no | |||
6 | MOUSEKEY_ENABLE = no | 6 | MOUSEKEY_ENABLE = no |
7 | AUDIO_ENABLE = no | 7 | AUDIO_ENABLE = no |
8 | CONSOLE_ENABLE = no | 8 | CONSOLE_ENABLE = no |
9 | NKRO_ENABLE = no | 9 | NKRO_ENABLE = yes |
10 | LTO_ENABLE = yes | ||
11 | VIA_ENABLE = yes | ||
10 | 12 | ||
11 | SRC += stanrc85.c | 13 | SRC += stanrc85.c |
12 | 14 | ||
@@ -14,8 +16,6 @@ ifeq ($(strip $(KEYBOARD)), projectkb/alice/rev2) | |||
14 | SRC += rgblight_layers.c | 16 | SRC += rgblight_layers.c |
15 | SRC += startup_fanfare.c | 17 | SRC += startup_fanfare.c |
16 | OPT_DEFS += -DHAS_INDICATORS | 18 | OPT_DEFS += -DHAS_INDICATORS |
17 | VIA_ENABLE = yes | ||
18 | LTO_ENABLE = no | ||
19 | VELOCIKEY_ENABLE=yes | 19 | VELOCIKEY_ENABLE=yes |
20 | endif | 20 | endif |
21 | ifeq ($(strip $(KEYBOARD)), sneakbox/aliceclone) | 21 | ifeq ($(strip $(KEYBOARD)), sneakbox/aliceclone) |
@@ -23,13 +23,9 @@ ifeq ($(strip $(KEYBOARD)), sneakbox/aliceclone) | |||
23 | SRC += startup_fanfare.c | 23 | SRC += startup_fanfare.c |
24 | OPT_DEFS += -DHAS_INDICATORS | 24 | OPT_DEFS += -DHAS_INDICATORS |
25 | OPT_DEFS += -DHAS_ROTARY | 25 | OPT_DEFS += -DHAS_ROTARY |
26 | VIA_ENABLE = yes | ||
27 | LTO_ENABLE = no | ||
28 | endif | 26 | endif |
29 | ifeq ($(strip $(KEYBOARD)), tkc/osav2) | 27 | ifeq ($(strip $(KEYBOARD)), tkc/osav2) |
30 | SRC += rgblight_layers_osa.c | 28 | SRC += rgblight_layers_osa.c |
31 | VIA_ENABLE = yes | ||
32 | LTO_ENABLE = no | ||
33 | VELOCIKEY_ENABLE=yes | 29 | VELOCIKEY_ENABLE=yes |
34 | endif | 30 | endif |
35 | ifeq ($(strip $(KEYBOARD)), boardsource/the_mark) | 31 | ifeq ($(strip $(KEYBOARD)), boardsource/the_mark) |
diff --git a/users/stanrc85/stanrc85.c b/users/stanrc85/stanrc85.c index 8bc52b0ff..d5e56571d 100644 --- a/users/stanrc85/stanrc85.c +++ b/users/stanrc85/stanrc85.c | |||
@@ -109,11 +109,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
109 | uint8_t mods = get_mods(); | 109 | uint8_t mods = get_mods(); |
110 | clear_mods(); | 110 | clear_mods(); |
111 | if (mods & MOD_MASK_SHIFT) { | 111 | if (mods & MOD_MASK_SHIFT) { |
112 | send_string_with_delay_P(PSTR("qmk flash -kb " QMK_KEYBOARD " -km " QMK_KEYMAP "\n"), 10); //New way | 112 | send_string_with_delay_P(PSTR("qmk flash -j 6 -kb " QMK_KEYBOARD " -km " QMK_KEYMAP "\n"), 10); //New way |
113 | reset_keyboard(); | 113 | reset_keyboard(); |
114 | } | 114 | } |
115 | else | 115 | else |
116 | send_string_with_delay_P(PSTR("qmk compile -kb " QMK_KEYBOARD " -km " QMK_KEYMAP "\n"), 10); //New way | 116 | send_string_with_delay_P(PSTR("qmk compile -j 6 -kb " QMK_KEYBOARD " -km " QMK_KEYMAP "\n"), 10); //New way |
117 | set_mods(mods); | 117 | set_mods(mods); |
118 | } | 118 | } |
119 | break; | 119 | break; |