summaryrefslogtreecommitdiffstats
path: root/users/sethBarberee/sethBarberee.h
diff options
context:
space:
mode:
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