From be80ed2ef3ca669cc8dcc3555c09da0a7defae8c Mon Sep 17 00:00:00 2001 From: tmk Date: Thu, 5 Jan 2017 21:17:29 +0900 Subject: [PATCH] core: Cancel removing IS_ANY() at c98e89f IS_ANY() is used in usb_usb --- tmk_core/common/keycode.h | 1 + 1 file changed, 1 insertion(+) 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)