You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk_firmware/keyboards/ergodox/keymaps
Gergely Nagy 29f64d7a93 tap-dance: Major rework, to make it more reliable
This reworks how the tap-dance feature works: instead of one global
state, we have a state for each tap-dance key, so we can cancel them
when another tap-dance key is in flight. This fixes #527.

Since we have a state for each key, we can avoid situation where a keyup
would mess with our global state. This fixes #563.

And while here, we also make sure to fire events only once, and this
fixes #574.

There is one breaking change, though: tap-dance debugging support was
removed, because dumping the whole state would increase the firmware
size too much. Any keymap that made use of this, will have to be
updated (but there's no such keymap in the repo).

Also, there's a nice trick used in this rework: we need to iterate
through tap_dance_actions in a few places, to check for timeouts, and so
on. For this, we'd need to know the size of the array. We can't discover
that at compile-time, because tap-dance gets compiled separately. We'd
like to avoid having to terminate the list with a sentinel value,
because that would require updates to all keymaps that use the feature.
So, we keep track of the highest tap-dance code seen so far, and iterate
until that index.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
..
ab All Ez keymaps compiles 8 years ago
adnw_k_o_y All Ez keymaps compiles 8 years ago
alexjj All Ez keymaps compiles 8 years ago
algernon tap-dance: Major rework, to make it more reliable 8 years ago
andrew_osx All Ez keymaps compiles 8 years ago
bepo All Ez keymaps compiles 8 years ago
coderkun_neo2 All Ez keymaps compiles 8 years ago
colemak All Ez keymaps compiles 8 years ago
colemak_osx_pc_no All Ez keymaps compiles 8 years ago
csharp_dev All Ez keymaps compiles 8 years ago
dave All Ez keymaps compiles 8 years ago
default Generate version information to version.h 8 years ago
default_osx All Ez keymaps compiles 8 years ago
dragon788 All Ez keymaps compiles 8 years ago
dvorak All Ez keymaps compiles 8 years ago
dvorak_intl_squisher All Ez keymaps compiles 8 years ago
dvorak_spanish All Ez keymaps compiles 8 years ago
emacs_osx_dk All Ez keymaps compiles 8 years ago
erez_experimental All Ez keymaps compiles 8 years ago
german All Ez keymaps compiles 8 years ago
german-kinergo All Ez keymaps compiles 8 years ago
german-manuneo All Ez keymaps compiles 8 years ago
j3rn Updated readme with recent changes 8 years ago
jack All Ez keymaps compiles 8 years ago
jacobono All Ez keymaps compiles 8 years ago
jgarr All Ez keymaps compiles 8 years ago
josh Generate version information to version.h 8 years ago
kastyle All Ez keymaps compiles 8 years ago
kines-ish All Ez keymaps compiles 8 years ago
maz All Ez keymaps compiles 8 years ago
mpiechotka All Ez keymaps compiles 8 years ago
msc All Ez keymaps compiles 8 years ago
naps62 All Ez keymaps compiles 8 years ago
ordinary All Ez keymaps compiles 8 years ago
osx_de All Ez keymaps compiles 8 years ago
osx_de_adnw_koy All Ez keymaps compiles 8 years ago
osx_de_experimental All Ez keymaps compiles 8 years ago
osx_fr All Ez keymaps compiles 8 years ago
osx_kinesis_pnut All Ez keymaps compiles 8 years ago
plover All Ez keymaps compiles 8 years ago
plums All Ez keymaps compiles 8 years ago
romanzolotarev-norman-osx All Ez keymaps compiles 8 years ago
romanzolotarev-norman-plover-osx All Ez keymaps compiles 8 years ago
romanzolotarev-norman-plover-osx-hjkl All Ez keymaps compiles 8 years ago
romanzolotarev-norman-qwerty-osx All Ez keymaps compiles 8 years ago
sethbc rebase 8 years ago
sneako All Ez keymaps compiles 8 years ago
software_neo2 All Ez keymaps compiles 8 years ago
supercoder Update some obsolete references 8 years ago
techtomas All Ez keymaps compiles 8 years ago
teckinesis All Ez keymaps compiles 8 years ago
tkuichooseyou All Ez keymaps compiles 8 years ago
tm2030 All Ez keymaps compiles 8 years ago
tonyabra_osx All Ez keymaps compiles 8 years ago
townk_osx Cleanup the townk_osx config.h and make files 8 years ago
twey All Ez keymaps compiles 8 years ago
workman_osx_mdw All Ez keymaps compiles 8 years ago
xyverz Adding my own layouts for the Phantom and Ergodox. My Ergodox layout adds persistent layers 8 years ago
zweihander-osx Thumb ⌫ into ⇥, numpad & into :, yank home/end 8 years ago