summaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode/process_chording.h
blob: 49c97db3bc2662acbeb1f1476b71ed63e39c40a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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