summaryrefslogtreecommitdiffstats
path: root/users/mechmerlin/mechmerlin.h
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-08-31 23:49:18 +0200
committerDrashna Jaelre <drashna@live.com>2018-08-31 23:49:18 +0200
commitfb79015049ebd1309cd4f69a7584db614f50d1db (patch)
treee298559d4a92e0123083d54d1e50df91debdb1bd /users/mechmerlin/mechmerlin.h
parentacc06a0848380fbeb2688d18bc19fee07797046c (diff)
downloadqmk_firmware-fb79015049ebd1309cd4f69a7584db614f50d1db.tar.gz
qmk_firmware-fb79015049ebd1309cd4f69a7584db614f50d1db.tar.xz
Keymap: Merlin Learns to QMK (#3820)
* Fix up my keymaps to use more QMK features * update 60_ansi readme * add the start of my userspace * begin to use my new userspace * use more of my userspace * spread userspace love to my clueboard * spread userspace love to 75 layout * add a fairly vanilla readme * put the FNX into a userspace incase I ever want to use it for something else * respond to drashna's code review comments
Diffstat (limited to 'users/mechmerlin/mechmerlin.h')
-rw-r--r--users/mechmerlin/mechmerlin.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/users/mechmerlin/mechmerlin.h b/users/mechmerlin/mechmerlin.h
new file mode 100644
index 000000000..c140ac70c
--- /dev/null
+++ b/users/mechmerlin/mechmerlin.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "quantum.h"
+
+enum userspace_layers {
+ _BL = 0, // Base Layer
+ _FL, // Function Layer
+ _AL // Arrow Layer
+};
+
+// Enum of custom keycodes defined in process_record_user
+enum keycodes {
+ KC_FNX, // Hold for FN layer, tap to toggle ARROWS layer.
+};
+
+// Custom #defined keycodes
+#define KC_CTCP MT(KC_LCTL, KC_CAPS)