aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/community/60_ansi/stanrc85-ansi/config.h4
-rw-r--r--layouts/community/60_ansi/stanrc85-ansi/keymap.c18
-rw-r--r--layouts/community/60_ansi/stanrc85-ansi/rules.mk11
-rw-r--r--users/stanrc85/config.h8
-rw-r--r--users/stanrc85/readme.md52
-rw-r--r--users/stanrc85/rules.mk10
-rw-r--r--users/stanrc85/stanrc85.h18
7 files changed, 91 insertions, 30 deletions
diff --git a/layouts/community/60_ansi/stanrc85-ansi/config.h b/layouts/community/60_ansi/stanrc85-ansi/config.h
deleted file mode 100644
index 904a7f524..000000000
--- a/layouts/community/60_ansi/stanrc85-ansi/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
1#pragma once
2
3#define TAPPING_TERM 200
4#define RETRO_TAPPING
diff --git a/layouts/community/60_ansi/stanrc85-ansi/keymap.c b/layouts/community/60_ansi/stanrc85-ansi/keymap.c
index d8d79a581..d3b4d4e55 100644
--- a/layouts/community/60_ansi/stanrc85-ansi/keymap.c
+++ b/layouts/community/60_ansi/stanrc85-ansi/keymap.c
@@ -14,21 +14,7 @@
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#include QMK_KEYBOARD_H 16#include QMK_KEYBOARD_H
17 17#include "stanrc85.h"
18#define DEFAULT 0 //Custom ANSI
19#define LAYER1 1 //Default ANSI (enable with Fn2+D)
20#define LAYER2 2 //Function keys, arrows, custom shortcuts, volume control
21#define LAYER3 3 //RGB Underglow controls and RESET
22
23//Aliases for longer keycodes
24#define KC_CAD LALT(LCTL(KC_DEL))
25#define KC_LOCK LGUI(KC_L)
26#define CA_QUOT LCA(KC_QUOT)
27#define CA_SCLN LCA(KC_SCLN)
28#define KC_CTLE LCTL_T(KC_ESC)
29#define LT_SPCF LT(2, KC_SPC)
30#define TD_TESC TD(TD_ESC)
31#define TD_TWIN TD(TD_WIN)
32 18
33//Tap Dance Declarations 19//Tap Dance Declarations
34enum { 20enum {
@@ -66,7 +52,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
66 [3] = LAYOUT_60_ansi( 52 [3] = LAYOUT_60_ansi(
67 _______, RGB_TOG, RGB_MOD, RGB_VAD, RGB_VAI, RGB_SAI, RGB_HUD, RGB_HUI, _______, _______, _______, _______, _______, _______, 53 _______, RGB_TOG, RGB_MOD, RGB_VAD, RGB_VAI, RGB_SAI, RGB_HUD, RGB_HUI, _______, _______, _______, _______, _______, _______,
68 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET, 54 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET,
69 _______, _______, _______, TG(1), _______, _______, _______, _______, _______, _______, _______, _______, _______, 55 TG(1), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
70 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, 56 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
71 _______, _______, _______, _______, _______, _______, _______, _______) 57 _______, _______, _______, _______, _______, _______, _______, _______)
72}; 58};
diff --git a/layouts/community/60_ansi/stanrc85-ansi/rules.mk b/layouts/community/60_ansi/stanrc85-ansi/rules.mk
index 324e52674..89d03e8c1 100644
--- a/layouts/community/60_ansi/stanrc85-ansi/rules.mk
+++ b/layouts/community/60_ansi/stanrc85-ansi/rules.mk
@@ -1,10 +1 @@
1TAP_DANCE_ENABLE = yes USER_NAME := stanrc85
2EXTRAKEY_ENABLE = yes
3RGBLIGHT_ENABLE = yes
4BACKLIGHT_ENABLE = no
5COMMAND_ENABLE = no
6BOOTMAGIC_ENABLE = no
7MOUSEKEY_ENABLE = no
8AUDIO_ENABLE = no
9CONSOLE_ENABLE = no
10NKRO_ENABLE = no
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
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7
8This program is distributed in the hope that it will be useful,
9but WITHOUT ANY WARRANTY; without even the implied warranty of
10MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11GNU General Public License for more details.
12
13You should have received a copy of the GNU General Public License
14along with this program. If not, see <http://www.gnu.org/licenses/>.-->
15
16# Stanrc85's Standard ANSI 60% Layout
17
18Shared 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![Base QWERTY Layer](https://imgur.com/lGcyLJx.png)
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![Default ANSI Layer](https://imgur.com/M7T9PNT.png)
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![Function Layer](https://imgur.com/YPl0JrU.png)
45
46- Layer 3 is RGB Underglow control and RESET
47 - `Fn2+CAPS` used to toggle Default QWERTY layer on and off
48
49![RGB and RESET Layer](https://imgur.com/PyB8z7k.png)
50
51### Build
52To 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 @@
1TAP_DANCE_ENABLE = yes
2EXTRAKEY_ENABLE = yes
3RGBLIGHT_ENABLE = yes
4BACKLIGHT_ENABLE = no
5COMMAND_ENABLE = no
6BOOTMAGIC_ENABLE = no
7MOUSEKEY_ENABLE = no
8AUDIO_ENABLE = no
9CONSOLE_ENABLE = no
10NKRO_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)