summaryrefslogtreecommitdiffstats
path: root/users/sethBarberee/sethBarberee.h
diff options
context:
space:
mode:
authorWilliam Chang <william@factual.com>2019-11-20 22:17:07 -0800
committerWilliam Chang <william@factual.com>2019-11-20 22:17:07 -0800
commite7f4d56592b3975c38af329e77b4efd9108495e8 (patch)
tree0a416bccbf70bfdbdb9ffcdb3bf136b47378c014 /users/sethBarberee/sethBarberee.h
parent71493b2f9bbd5f3d18373c518fa14ccafcbf48fc (diff)
parent8416a94ad27b3ff058576f09f35f0704a8b39ff3 (diff)
Merge remote-tracking branch 'upstream/master'
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