diff options
Diffstat (limited to 'usb_keycodes.h')
-rw-r--r-- | usb_keycodes.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usb_keycodes.h b/usb_keycodes.h index 87aa31ca8f..9c57598438 100644 --- a/usb_keycodes.h +++ b/usb_keycodes.h @@ -40,10 +40,10 @@ #define IS_KEY(code) (KB_A <= (code) && (code) <= KP_HEXADECIMAL) #define IS_MOD(code) (KB_LCTRL <= (code) && (code) <= KB_RGUI) #define IS_FN(code) (FN_0 <= (code) && (code) <= FN_7) -#define IS_MOUSE(code) (MS_UP <= (code) && (code) <= MS_WH_RIGHT) -#define IS_MOUSE_MOVE(code) (MS_UP <= (code) && (code) <= MS_RIGHT) -#define IS_MOUSE_BUTTON(code) (MS_BTN1 <= (code) && (code) <= MS_BTN5) -#define IS_MOUSE_WHEEL(code) (MS_WH_UP <= (code) && (code) <= MS_WH_RIGHT) +#define IS_MOUSEKEY(code) (MS_UP <= (code) && (code) <= MS_WH_RIGHT) +#define IS_MOUSEKEY_MOVE(code) (MS_UP <= (code) && (code) <= MS_RIGHT) +#define IS_MOUSEKEY_BUTTON(code) (MS_BTN1 <= (code) && (code) <= MS_BTN5) +#define IS_MOUSEKEY_WHEEL(code) (MS_WH_UP <= (code) && (code) <= MS_WH_RIGHT) #define MOD_BIT(code) (1<<((code) & 0x07)) #define FN_BIT(code) (1<<((code) - FN_0)) |