Final first pass of keys.py

This commit is contained in:
sofubi committed 2021-08-18 21:47:17 -04:00
1 parent 36ea0eec4e
commit 9fc431e0a7
2 files changed
+38 -17

No files matched your search

+4 -3
View File
@@ -1,5 +1,6 @@
from kmk.keys import KeyAttrDict
from typing import Any, Optional
from kmk.keys import Key, KeyAttrDict
from kmk.kmk_keyboard import KMKKeyboard
from kmk.kmktime import sleep_ms
@@ -9,7 +10,7 @@ def passthrough(key, keyboard, *args, **kwargs):
def default_pressed(
key: str,
key: Key,
keyboard: KMKKeyboard,
KC: KeyAttrDict,
coord_int: Optional[int] = None,
@@ -28,7 +29,7 @@ def default_pressed(
def default_released(
key: str,
key: Key,
keyboard: KMKKeyboard,
KC: KeyAttrDict,
coord_int: Optional[int] = None,