kmk_firmware/kmk/modules
xs5871 a62d39a252
make TapDance a module (#281)
* extract tapdance logic into a module

* clean out old tapdance code

* canonicalize key variable names

* split _process_tap_dance into td_pressed and td_released

* implement consistent argument order

* update documentation

* implement Module.process_key for key interception and modification

* fix tapdance realesing instead of pressing

* fix: default parameters in key handler

* cleanup holdtap

* add error handling to modules process_key

* fix: key released too late

Tapped keys didn't release on a "key released" event, but waited for a
timeout. Resulted in, for example, modifiers applying to keys after the
modifier was released.

* fix lint/formatting

* fix tap_time reference in modtap + minimal documentation

* fix lint
2022-01-18 05:21:05 +00:00
..
__init__.py make TapDance a module (#281) 2022-01-18 05:21:05 +00:00
adns9800.py Moved firmware to an external file 2021-09-17 15:31:40 +08:00
encoder.py Allow declaring encoders without a button 2022-01-17 21:19:51 -08:00
holdtap.py make TapDance a module (#281) 2022-01-18 05:21:05 +00:00
layers.py Fix LT() doesn't work 2021-09-27 13:47:07 +09:00
modtap.py Fix the issue #256 by changing the timing to set True fo the hid_pending flag. 2021-10-24 14:13:15 -07:00
mouse_keys.py Fixed formatting, unused import 2021-09-16 19:54:37 +08:00
power.py Convert to supervisor ticks 2021-09-14 07:56:38 -07:00
split.py Convert to supervisor ticks 2021-09-14 07:56:38 -07:00
tapdance.py make TapDance a module (#281) 2022-01-18 05:21:05 +00:00