summaryrefslogtreecommitdiff
path: root/users/stanrc85/stanrc85.h
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 /users/stanrc85/stanrc85.h
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 'users/stanrc85/stanrc85.h')
-rw-r--r--users/stanrc85/stanrc85.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/users/stanrc85/stanrc85.h b/users/stanrc85/stanrc85.h
new file mode 100644
index 0000000000..7e581f993e
--- /dev/null
+++ b/users/stanrc85/stanrc85.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include "quantum.h"
+
+#define DEFAULT 0 //Custom ANSI
+#define LAYER1 1 //Default ANSI (enable with Fn2+CAPS)
+#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)