diff options
author | stanrc85 <47038504+stanrc85@users.noreply.github.com> | 2019-02-26 16:01:46 -0500 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-02-26 13:01:46 -0800 |
commit | bcaf66bd3238b5a69c7ec5910a116c5668e1695c (patch) | |
tree | 33005229644c7420b6f3b6ff0a92d4083cdceb30 /users/stanrc85 | |
parent | 11bdf28001382239949541e0442aa170eb561c41 (diff) | |
download | qmk_firmware-bcaf66bd3238b5a69c7ec5910a116c5668e1695c.tar.gz qmk_firmware-bcaf66bd3238b5a69c7ec5910a116c5668e1695c.zip |
[Keymap] Converted stanrc85 community layout to userspace (#5244)
* Convert community layout to userspace for future use
* Big readme update
* Move layer toggle to CAPS
* Readme updates
* Deleted since unused
* Removed call to unused .c file
Diffstat (limited to 'users/stanrc85')
-rw-r--r-- | users/stanrc85/config.h | 8 | ||||
-rw-r--r-- | users/stanrc85/readme.md | 52 | ||||
-rw-r--r-- | users/stanrc85/rules.mk | 10 | ||||
-rw-r--r-- | users/stanrc85/stanrc85.h | 18 |
4 files changed, 88 insertions, 0 deletions
diff --git a/users/stanrc85/config.h b/users/stanrc85/config.h new file mode 100644 index 000000000..628ec994b --- /dev/null +++ b/users/stanrc85/config.h | |||
@@ -0,0 +1,8 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #define TAPPING_TERM 200 | ||
4 | #define RETRO_TAPPING | ||
5 | |||
6 | #ifdef RGBLIGHT_ENABLE | ||
7 | #define RGBLIGHT_SLEEP | ||
8 | #endif // RGBLIGHT_ENABLE | ||
diff --git a/users/stanrc85/readme.md b/users/stanrc85/readme.md new file mode 100644 index 000000000..9009a71d5 --- /dev/null +++ b/users/stanrc85/readme.md | |||
@@ -0,0 +1,52 @@ | |||
1 | <!-- Copyright 2019 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 ANSI 60% Layout | ||
17 | |||
18 | Shared keymap between two 60% PCB: | ||
19 | - 1upkeyboards60HSE | ||
20 | - DZ60 (hotswap) | ||
21 | |||
22 | ## Keymap Notes | ||
23 | - Layer 0 is default QWERTY layout with additional custom features: | ||
24 | - SpaceFN to function layer 2 on `Space` | ||
25 | - `CTRL` when held and `ESC` when tapped on `CAPS LOCK` | ||
26 | - Tap Dance on `Fn1` for `CTRL+ALT+DEL` and `WIN+L` | ||
27 | - Tap Dance on `ESC` for `ESC` and ` ` ` | ||
28 | |||
29 |  | ||
30 | |||
31 | - Layer 1 is default QWERTY with no custom features used mostly for gaming | ||
32 | - Enabled by `Fn2+CAPS` from base layer | ||
33 | |||
34 |  | ||
35 | |||
36 | - Layer 2 is Function layer: | ||
37 | - F keys | ||
38 | - Arrows | ||
39 | - Volume and Media controls | ||
40 | - AutoHotkey shortcuts based on [Speaker Control](https://github.com/stanrc85/Speaker-Control) script | ||
41 | - AHK Mic is used to mute/unmute microphone | ||
42 | - AHK Speaker switches audio output between headphones and speakers | ||
43 | |||
44 |  | ||
45 | |||
46 | - Layer 3 is RGB Underglow control and RESET | ||
47 | - `Fn2+CAPS` used to toggle Default QWERTY layer on and off | ||
48 | |||
49 |  | ||
50 | |||
51 | ### Build | ||
52 | To build the firmware file associated with this keymap, simply run `make your_keyboard:stanrc85-ansi`. | ||
diff --git a/users/stanrc85/rules.mk b/users/stanrc85/rules.mk new file mode 100644 index 000000000..324e52674 --- /dev/null +++ b/users/stanrc85/rules.mk | |||
@@ -0,0 +1,10 @@ | |||
1 | TAP_DANCE_ENABLE = yes | ||
2 | EXTRAKEY_ENABLE = yes | ||
3 | RGBLIGHT_ENABLE = yes | ||
4 | BACKLIGHT_ENABLE = no | ||
5 | COMMAND_ENABLE = no | ||
6 | BOOTMAGIC_ENABLE = no | ||
7 | MOUSEKEY_ENABLE = no | ||
8 | AUDIO_ENABLE = no | ||
9 | CONSOLE_ENABLE = no | ||
10 | NKRO_ENABLE = no | ||
diff --git a/users/stanrc85/stanrc85.h b/users/stanrc85/stanrc85.h new file mode 100644 index 000000000..7e581f993 --- /dev/null +++ b/users/stanrc85/stanrc85.h | |||
@@ -0,0 +1,18 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include "quantum.h" | ||
4 | |||
5 | #define DEFAULT 0 //Custom ANSI | ||
6 | #define LAYER1 1 //Default ANSI (enable with Fn2+CAPS) | ||
7 | #define LAYER2 2 //Function keys, arrows, custom shortcuts, volume control | ||
8 | #define LAYER3 3 //RGB Underglow controls and RESET | ||
9 | |||
10 | //Aliases for longer keycodes | ||
11 | #define KC_CAD LALT(LCTL(KC_DEL)) | ||
12 | #define KC_LOCK LGUI(KC_L) | ||
13 | #define CA_QUOT LCA(KC_QUOT) | ||
14 | #define CA_SCLN LCA(KC_SCLN) | ||
15 | #define KC_CTLE LCTL_T(KC_ESC) | ||
16 | #define LT_SPCF LT(2, KC_SPC) | ||
17 | #define TD_TESC TD(TD_ESC) | ||
18 | #define TD_TWIN TD(TD_WIN) | ||