From: tmk Date: Thu, 5 Jan 2017 12:17:29 +0000 (+0900) Subject: core: Cancel removing IS_ANY() at c98e89f X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=be80ed2ef3ca669cc8dcc3555c09da0a7defae8c;p=max%2Ftmk_keyboard.git core: Cancel removing IS_ANY() at c98e89f IS_ANY() is used in usb_usb --- 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)