X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Fusb_keycodes.h;h=04b398fa2a160beef5c8b7d274fc38cfe14daa07;hb=4e91374125b390eb12f8bf52eb791ce3461b2895;hp=9b6cce1532959ee11228549ef072fba50853fa05;hpb=f4125707399d11a7d80587659c464b9bcddb8c56;p=tmk_firmware.git diff --git a/common/usb_keycodes.h b/common/usb_keycodes.h index 9b6cce1..04b398f 100644 --- a/common/usb_keycodes.h +++ b/common/usb_keycodes.h @@ -24,6 +24,7 @@ along with this program. If not, see . #define IS_ERROR(code) (KB_ROLL_OVER <= (code) && (code) <= KB_UNDEFINED) +#define IS_ANY(code) (KB_A <= (code)) #define IS_KEY(code) (KB_A <= (code) && (code) <= KB_EXSEL) #define IS_MOD(code) (KB_LCTRL <= (code) && (code) <= KB_RGUI) #define IS_FN(code) (KB_FN0 <= (code) && (code) <= KB_FN7)