aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/georgi/sten.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/georgi/sten.c')
-rw-r--r--keyboards/georgi/sten.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/georgi/sten.c b/keyboards/georgi/sten.c
index 1a84c7893..197abaf92 100644
--- a/keyboards/georgi/sten.c
+++ b/keyboards/georgi/sten.c
@@ -11,6 +11,18 @@ uint32_t pChord = 0; // Previous Chord
int pChordIndex = 0; // Keys in previousachord
uint32_t pChordState[32]; // Previous chord sate
uint32_t stickyBits = 0; // Or'd with every incoming press
+#ifndef NO_DEBUG
+char debugMsg[32];
+#endif
+
+// StenoLayer
+uint32_t releasedChord = 0; // Keys released from current chord
+uint32_t tChord = 0; // Protects state of cChord
+
+#ifndef STENOLAYERS
+uint32_t stenoLayers[] = { PWR };
+size_t stenoLayerCount = sizeof(stenoLayers)/sizeof(stenoLayers[0]);
+#endif
// Mode state
enum MODE { STENO = 0, QWERTY, COMMAND };