Skip to content

Instantly share code, notes, and snippets.

@bottilabo
bottilabo / modtap-filter.c
Last active July 10, 2020 19:58
MOD TAP filtering without modifing QMK firmware
#define ssend_string(...) {char ssendbuf[32];sprintf(ssendbuf,__VA_ARGS__);send_string(ssendbuf);}
static int8_t cntPressing = 0;
static uint16_t timeReleased = 0;
static bool fTappable = false;
static bool fTapping = false;
static uint16_t valTimeMODTAP = 300;
static uint16_t selParam = (uint16_t)SEL_MODTAP;