diff options
Diffstat (limited to 'common/usb_keycodes.h')
-rw-r--r-- | common/usb_keycodes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/usb_keycodes.h b/common/usb_keycodes.h index 9b6cce153..04b398fa2 100644 --- a/common/usb_keycodes.h +++ b/common/usb_keycodes.h | |||
@@ -24,6 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
24 | 24 | ||
25 | 25 | ||
26 | #define IS_ERROR(code) (KB_ROLL_OVER <= (code) && (code) <= KB_UNDEFINED) | 26 | #define IS_ERROR(code) (KB_ROLL_OVER <= (code) && (code) <= KB_UNDEFINED) |
27 | #define IS_ANY(code) (KB_A <= (code)) | ||
27 | #define IS_KEY(code) (KB_A <= (code) && (code) <= KB_EXSEL) | 28 | #define IS_KEY(code) (KB_A <= (code) && (code) <= KB_EXSEL) |
28 | #define IS_MOD(code) (KB_LCTRL <= (code) && (code) <= KB_RGUI) | 29 | #define IS_MOD(code) (KB_LCTRL <= (code) && (code) <= KB_RGUI) |
29 | #define IS_FN(code) (KB_FN0 <= (code) && (code) <= KB_FN7) | 30 | #define IS_FN(code) (KB_FN0 <= (code) && (code) <= KB_FN7) |