We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab689fd commit 5d4660bCopy full SHA for 5d4660b
src/shared/Eis.cpp
@@ -163,8 +163,8 @@ int EmulatedInputServer::onEvent(eis_event* e) {
163
if (virtualPointer != nullptr) {
164
int32_t dx = eis_event_scroll_get_discrete_dx(e);
165
int32_t dy = eis_event_scroll_get_discrete_dy(e);
166
- virtualPointer->sendAxisDiscrete(1, 0, dy*30, 1);
167
- virtualPointer->sendAxisDiscrete(0, 1, dx*30, 1);
+ virtualPointer->sendAxisDiscrete(1, 0, dy*30, dy > 0 ? 1 : -1);
+ virtualPointer->sendAxisDiscrete(0, 1, dx*30, dx > 0 ? 1 : -1);
168
}
169
break;
170
case EIS_EVENT_KEYBOARD_KEY:
0 commit comments