Remove spurious third argument in call to `Mouse::move()`

Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
pull/1029/head
Michael Richters 4 years ago
parent 51fef2b33e
commit b16b47beaa
No known key found for this signature in database
GPG Key ID: 1288FD13E4EEF0C0

@ -131,7 +131,7 @@ void MouseWrapper_::move(int8_t x, int8_t y) {
end_warping(); end_warping();
// move by whole pixels, not subpixels // move by whole pixels, not subpixels
Kaleidoscope.hid().mouse().move(moveX / subpixelsPerPixel, moveY / subpixelsPerPixel, 0); Kaleidoscope.hid().mouse().move(moveX / subpixelsPerPixel, moveY / subpixelsPerPixel);
// save leftover subpixel movements for later // save leftover subpixel movements for later
remainderX = moveX - moveX / subpixelsPerPixel * subpixelsPerPixel; remainderX = moveX - moveX / subpixelsPerPixel * subpixelsPerPixel;
remainderY = moveY - moveY / subpixelsPerPixel * subpixelsPerPixel; remainderY = moveY - moveY / subpixelsPerPixel * subpixelsPerPixel;

Loading…
Cancel
Save