diff options
author | Christopher Browne <cbbrowne@ca.afilias.info> | 2016-06-30 12:38:48 -0400 |
---|---|---|
committer | Christopher Browne <cbbrowne@ca.afilias.info> | 2016-06-30 12:38:48 -0400 |
commit | 44a5f7630f18b40b36270d49449a43cd42b802f0 (patch) | |
tree | 9d29ee26496a458bf161eeb59dab5e12d85cb3aa /quantum/process_keycode/process_chording.h | |
parent | c9f509f0168f6d11e743a9d2e37964c05e45672b (diff) | |
parent | a8b55f8c858933a0f7641f7bf2dede640235aa70 (diff) | |
download | firmware-44a5f7630f18b40b36270d49449a43cd42b802f0.tar.gz firmware-44a5f7630f18b40b36270d49449a43cd42b802f0.tar.bz2 firmware-44a5f7630f18b40b36270d49449a43cd42b802f0.zip |
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
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 @@ +#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 |