forked from mirrors/qmk_userspace
changed signature of keymap_fn_layer() in keymap_skel.h.
FIX: name of mousekey macros usb_keycodes.h.
This commit is contained in:
parent
fd49c69d1a
commit
3e56e80c7d
4 changed files with 15 additions and 17 deletions
2
layer.c
2
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue