add shorthand for KC_NO

This commit is contained in:
Kyle Brown 2021-07-07 04:04:30 -07:00
parent 6db2aa6d0c
commit 2e0db2262a

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,
)