diff --git a/tmk_core/common/keycode.h b/tmk_core/common/keycode.h index 3ac1b55b..63d52e89 100644 --- a/tmk_core/common/keycode.h +++ b/tmk_core/common/keycode.h @@ -24,6 +24,7 @@ along with this program. If not, see . #define IS_ERROR(code) (KC_ROLL_OVER <= (code) && (code) <= KC_UNDEFINED) +#define IS_ANY(code) (KC_A <= (code) && (code) <= 0xFF) #ifndef ACTIONMAP_ENABLE #define IS_KEY(code) (KC_A <= (code) && (code) <= KC_EXSEL)