summaryrefslogtreecommitdiffstats
path: root/users/sethBarberee/sethBarberee.h
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2019-08-13 12:25:51 -0500
committerDrashna Jaelre <drashna@live.com>2019-08-13 10:25:51 -0700
commit0ec0d29e9f4d83af724d69efbaefeece57faddd9 (patch)
treea0334556fb16005ae2a98ffd1c5635c8d56476ac /users/sethBarberee/sethBarberee.h
parentd8d2a096742f611e3ade527e7224e8281867c563 (diff)
[Keymap] Adding my userspace and keymaps (#6496)
* add Userspace and keymaps * Adding keymaps for zeal60 and iris * Created my own tap dance that toggles RGB Mode based on whether I toggled caps lock or not * parent 578ed42a7f8f986147cad040d50d4ae1d24a32e2 author Seth Barberee <seth.barberee@gmail.com> 1565065903 -0500 committer Seth Barberee <seth.barberee@gmail.com> 1565065903 -0500 move to userspace add zeal60 * update based on review * move userspace to github name
Diffstat (limited to 'users/sethBarberee/sethBarberee.h')
-rw-r--r--users/sethBarberee/sethBarberee.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/users/sethBarberee/sethBarberee.h b/users/sethBarberee/sethBarberee.h
new file mode 100644
index 0000000000..23774ba4eb
--- /dev/null
+++ b/users/sethBarberee/sethBarberee.h
@@ -0,0 +1,20 @@
+#ifndef USERSPACE
+#define USERSPACE
+
+#include "quantum.h"
+
+#ifdef TAP_DANCE_ENABLE // only enable for tap dances
+ enum {
+ TD_ECAP = 0,
+ };
+
+ #define KC_ECAP TD(TD_ECAP)
+
+ typedef struct {
+ bool toggled; // store whether we have toggled caps lock
+ int toggle_mode; // idk why but maybe do something with this..
+ int normal_mode;
+ } tap;
+#endif
+
+#endif