|
|
@ -90,8 +90,7 @@ Key MouseKeys_::eventHandlerHook(Key mappedKey, byte row, byte col, uint8_t keyS
|
|
|
|
if (key_is_pressed(keyState)) {
|
|
|
|
if (key_is_pressed(keyState)) {
|
|
|
|
if (mappedKey.keyCode & KEY_MOUSE_WHEEL) {
|
|
|
|
if (mappedKey.keyCode & KEY_MOUSE_WHEEL) {
|
|
|
|
scrollWheel(mappedKey.keyCode);
|
|
|
|
scrollWheel(mappedKey.keyCode);
|
|
|
|
}
|
|
|
|
} else
|
|
|
|
else
|
|
|
|
|
|
|
|
mouseMoveIntent |= mappedKey.keyCode;
|
|
|
|
mouseMoveIntent |= mappedKey.keyCode;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if (key_toggled_on(keyState)) {
|
|
|
|
} else if (key_toggled_on(keyState)) {
|
|
|
|