aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode/process_chording.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/process_keycode/process_chording.h')
-rw-r--r--quantum/process_keycode/process_chording.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_chording.h b/quantum/process_keycode/process_chording.h
new file mode 100644
index 000000000..49c97db3b
--- /dev/null
+++ b/quantum/process_keycode/process_chording.h
@@ -0,0 +1,16 @@
+#ifndef PROCESS_CHORDING_H
+#define PROCESS_CHORDING_H
+
+#include "quantum.h"
+
+// Chording stuff
+#define CHORDING_MAX 4
+bool chording = false;
+
+uint8_t chord_keys[CHORDING_MAX] = {0};
+uint8_t chord_key_count = 0;
+uint8_t chord_key_down = 0;
+
+bool process_chording(uint16_t keycode, keyrecord_t *record);
+
+#endif \ No newline at end of file