Merge pull request #256 from SjB/HorizontalMouseScrolling

Horizontal Mouse Scrolling Support in Kaleidoscope.
pull/258/head
Jesse Vincent 7 years ago committed by GitHub
commit e07cf70d4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -135,8 +135,8 @@ void initializeMouse() {
Mouse.begin(); Mouse.begin();
} }
void moveMouse(signed char x, signed char y, signed char wheel) { void moveMouse(signed char x, signed char y, signed char vWheel, signed char hWheel) {
Mouse.move(x, y, wheel); Mouse.move(x, y, vWheel, hWheel);
} }
void clickMouseButtons(uint8_t buttons) { void clickMouseButtons(uint8_t buttons) {

@ -34,7 +34,7 @@ void releaseSystemControl(Key mappedKey);
void initializeMouse(); void initializeMouse();
void moveMouse(signed char x, signed char y, signed char wheel); void moveMouse(signed char x, signed char y, signed char vWheel = 0, signed char hWheel = 0);
void clickMouseButtons(uint8_t buttons); void clickMouseButtons(uint8_t buttons);
void pressMouseButtons(uint8_t buttons); void pressMouseButtons(uint8_t buttons);
void releaseMouseButtons(uint8_t buttons); void releaseMouseButtons(uint8_t buttons);

Loading…
Cancel
Save