1
0
Fork 0

[Keyboard] Georgi improvements (#5899)

* Georgi improvements

* The writing was in the -Wall
This commit is contained in:
Jeremy Bernhardt 2019-05-17 14:02:22 -06:00 committed by Drashna Jaelre
parent 7a0174f871
commit d0c9ad6433
8 changed files with 395 additions and 2 deletions

View file

@ -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 };