summaryrefslogtreecommitdiff
path: root/layer.c
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 /layer.c
parentfd49c69d1a173b9d273b2b53eb6a22eda920223a (diff)
changed signature of keymap_fn_layer() in keymap_skel.h.
FIX: name of mousekey macros usb_keycodes.h.
Diffstat (limited to 'layer.c')
-rw-r--r--layer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layer.c b/layer.c
index 2d644c1a60..e9e44217b2 100644
--- a/layer.c
+++ b/layer.c
@@ -65,7 +65,7 @@ uint8_t layer_get_keycode(uint8_t row, uint8_t col)
{
uint8_t code = keymap_get_keycode(current_layer, row, col);
// normal key or mouse key
- if ((IS_KEY(code) || IS_MOUSE(code))) {
+ if ((IS_KEY(code) || IS_MOUSEKEY(code))) {
layer_used = true;
}
return code;