Skip to content

Increase the mouse scroll speed #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions shell/platform/tizen/flutter_tizen.cc
Original file line number Diff line number Diff line change
Expand Up @@ -215,25 +215,25 @@ void FlutterRegisterViewFactory(

FlutterDesktopTextureRegistrarRef FlutterDesktopRegistrarGetTextureRegistrar(
FlutterDesktopPluginRegistrarRef registrar) {
FT_LOGE("Tizen DesktopTexture support is not implemented yet.");
FT_UNIMPLEMENTED();
return nullptr;
}

int64_t FlutterDesktopTextureRegistrarRegisterExternalTexture(
FlutterDesktopTextureRegistrarRef texture_registrar,
const FlutterDesktopTextureInfo* texture_info) {
FT_LOGE("Tizen DesktopTexture support is not implemented yet.");
FT_UNIMPLEMENTED();
return -1;
}

bool FlutterDesktopTextureRegistrarUnregisterExternalTexture(
FlutterDesktopTextureRegistrarRef texture_registrar, int64_t texture_id) {
FT_LOGE("Tizen DesktopTexture support is not implemented yet.");
FT_UNIMPLEMENTED();
return false;
}

bool FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable(
FlutterDesktopTextureRegistrarRef texture_registrar, int64_t texture_id) {
FT_LOGE("Tizen DesktopTexture support is not implemented yet.");
FT_UNIMPLEMENTED();
return false;
}
4 changes: 2 additions & 2 deletions shell/platform/tizen/touch_event_handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ void TouchEventHandler::SendFlutterPointerEvent(FlutterPointerPhase phase,
if (scroll_delta_x != 0 || scroll_delta_y != 0) {
event.signal_kind = kFlutterPointerSignalKindScroll;
}
event.scroll_delta_x = scroll_delta_x;
event.scroll_delta_y = scroll_delta_y;
event.scroll_delta_x = scroll_delta_x * 2;
event.scroll_delta_y = scroll_delta_y * 2;
event.timestamp = timestamp * 1000;
FlutterEngineSendPointerEvent(engine_->flutter_engine, &event, 1);
}
Expand Down