diff options
Diffstat (limited to 'quantum/process_keycode/process_chording.h')
-rw-r--r-- | quantum/process_keycode/process_chording.h | 16 |
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 @@ | |||
1 | #ifndef PROCESS_CHORDING_H | ||
2 | #define PROCESS_CHORDING_H | ||
3 | |||
4 | #include "quantum.h" | ||
5 | |||
6 | // Chording stuff | ||
7 | #define CHORDING_MAX 4 | ||
8 | bool chording = false; | ||
9 | |||
10 | uint8_t chord_keys[CHORDING_MAX] = {0}; | ||
11 | uint8_t chord_key_count = 0; | ||
12 | uint8_t chord_key_down = 0; | ||
13 | |||
14 | bool process_chording(uint16_t keycode, keyrecord_t *record); | ||
15 | |||
16 | #endif \ No newline at end of file | ||