pull/365/head
Jesse Vincent 7 years ago
parent b87014c544
commit b19fd73f1f
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -14,17 +14,17 @@ boolean MouseWrapper_::is_warping;
uint8_t MouseWrapper_::accelStep; uint8_t MouseWrapper_::accelStep;
MouseWrapper_::MouseWrapper_(void) { MouseWrapper_::MouseWrapper_(void) {
kaleidoscope::hid::initializeMouse(); kaleidoscope::hid::initializeMouse();
kaleidoscope::hid::initializeAbsoluteMouse(); kaleidoscope::hid::initializeAbsoluteMouse();
} }
void MouseWrapper_::pressButton(uint8_t button) { void MouseWrapper_::pressButton(uint8_t button) {
kaleidoscope::hid::pressMouseButtons(button); kaleidoscope::hid::pressMouseButtons(button);
end_warping(); end_warping();
} }
void MouseWrapper_::release_button(uint8_t button) { void MouseWrapper_::release_button(uint8_t button) {
kaleidoscope::hid::releaseMouseButtons(button); kaleidoscope::hid::releaseMouseButtons(button);
} }
void MouseWrapper_::warp_jump(uint16_t left, uint16_t top, uint16_t height, uint16_t width) { void MouseWrapper_::warp_jump(uint16_t left, uint16_t top, uint16_t height, uint16_t width) {

Loading…
Cancel
Save