summaryrefslogtreecommitdiff
path: root/layer.c
diff options
context:
space:
mode:
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;