fixed two typos
I'm almost 100% sure "else if (state->count = 2) {" was a typo (it should have two ='s for a logical operator), and I'm *pretty* sure "if (state->interrupted || state->!pressed) return SINGLE_TAP;" has a typo. At least, it returns an error on my machine saying something about an unexpected '!'. I changed it to a slightly longer form (i.e., "state->pressed==0"), and that worked fine.subvendor_ids
parent
e555e42aae
commit
4c1164c469
Loading…
Reference in New Issue