change ModTap to allow for activating mod on hold, rolling key presses and fix stuck mod

This commit is contained in:
Christian Tu committed 2021-09-19 16:21:42 +02:00
1 parent 27cf8e7d4d
commit 0a61cbd4af
3 files changed
+151 -111

No files matched your search

+1 -1
View File
@@ -258,7 +258,7 @@ class KMKKeyboard:
self._timeouts[timeout_key] = callback
return timeout_key
def _cancel_timeout(self, timeout_key):
def cancel_timeout(self, timeout_key):
if timeout_key in self._timeouts:
del self._timeouts[timeout_key]