summaryrefslogtreecommitdiff
path: root/layouts/community/60_ansi/stanrc85-ansi/keymap.c
diff options
context:
space:
mode:
authorstanrc85 <47038504+stanrc85@users.noreply.github.com>2019-02-26 16:01:46 -0500
committerDrashna Jaelre <drashna@live.com>2019-02-26 13:01:46 -0800
commitbcaf66bd3238b5a69c7ec5910a116c5668e1695c (patch)
tree33005229644c7420b6f3b6ff0a92d4083cdceb30 /layouts/community/60_ansi/stanrc85-ansi/keymap.c
parent11bdf28001382239949541e0442aa170eb561c41 (diff)
downloadqmk_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 'layouts/community/60_ansi/stanrc85-ansi/keymap.c')
-rw-r--r--layouts/community/60_ansi/stanrc85-ansi/keymap.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/layouts/community/60_ansi/stanrc85-ansi/keymap.c b/layouts/community/60_ansi/stanrc85-ansi/keymap.c
index d8d79a581c..d3b4d4e55f 100644
--- a/layouts/community/60_ansi/stanrc85-ansi/keymap.c
+++ b/layouts/community/60_ansi/stanrc85-ansi/keymap.c
@@ -14,21 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
-
-#define DEFAULT 0 //Custom ANSI
-#define LAYER1 1 //Default ANSI (enable with Fn2+D)
-#define LAYER2 2 //Function keys, arrows, custom shortcuts, volume control
-#define LAYER3 3 //RGB Underglow controls and RESET
-
-//Aliases for longer keycodes
-#define KC_CAD LALT(LCTL(KC_DEL))
-#define KC_LOCK LGUI(KC_L)
-#define CA_QUOT LCA(KC_QUOT)
-#define CA_SCLN LCA(KC_SCLN)
-#define KC_CTLE LCTL_T(KC_ESC)
-#define LT_SPCF LT(2, KC_SPC)
-#define TD_TESC TD(TD_ESC)
-#define TD_TWIN TD(TD_WIN)
+#include "stanrc85.h"
//Tap Dance Declarations
enum {
@@ -66,7 +52,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[3] = LAYOUT_60_ansi(
_______, RGB_TOG, RGB_MOD, RGB_VAD, RGB_VAI, RGB_SAI, RGB_HUD, RGB_HUI, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET,
- _______, _______, _______, TG(1), _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ TG(1), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______)
};