add shorthand for KC_NO

This commit is contained in:
Kyle Brown 2021-07-07 04:04:30 -07:00 committed by Josh Klar
parent a77fee7f04
commit 7310bdd780
No known key found for this signature in database
GPG Key ID: A4A0C7B4E8EEE222

View File

@ -424,9 +424,9 @@ class KeyAttrDict(AttrDict):
# NO and TRNS are functionally identical in how they (don't) mutate
# the state, but are tracked semantically separately, so create
# two keys with the exact same functionality
elif key in ('NO',):
elif key in ('NO', 'XXXXXXX'):
make_key(
names=('NO',),
names=('NO', 'XXXXXXX'),
on_press=handlers.passthrough,
on_release=handlers.passthrough,
)