summaryrefslogtreecommitdiffstats
path: root/usb_keycodes.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2011-01-06 15:37:14 +0900
committertmk <nobody@nowhere>2011-01-06 15:37:14 +0900
commit3e56e80c7d938c2b03bafb0606978b715c2ee0ee (patch)
tree670aa9f1c1a3710a743e882ceae75f8df54c2c83 /usb_keycodes.h
parentfd49c69d1a173b9d273b2b53eb6a22eda920223a (diff)
changed signature of keymap_fn_layer() in keymap_skel.h.
FIX: name of mousekey macros usb_keycodes.h.
Diffstat (limited to 'usb_keycodes.h')
-rw-r--r--usb_keycodes.h8
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))