From 2e0db2262ac8c1f16408c646369c3e5b74a0f2d6 Mon Sep 17 00:00:00 2001 From: Kyle Brown Date: Wed, 7 Jul 2021 04:04:30 -0700 Subject: [PATCH] add shorthand for KC_NO --- kmk/keys.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kmk/keys.py b/kmk/keys.py index 4992d84..e8b8076 100644 --- a/kmk/keys.py +++ b/kmk/keys.py @@ -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, )