]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
core: Cancel removing IS_ANY() at c98e89f
authortmk <hasu@tmk-kbd.com>
Thu, 5 Jan 2017 12:17:29 +0000 (21:17 +0900)
committertmk <hasu@tmk-kbd.com>
Thu, 5 Jan 2017 12:17:29 +0000 (21:17 +0900)
IS_ANY() is used in usb_usb

tmk_core/common/keycode.h

index 3ac1b55b7da849491d5da2a57d2c8e49e0a1ae60..63d52e892efb013dd3460306437a66d654acdc63 100644 (file)
@@ -24,6 +24,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
 #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)