From 50fe0fe059c0dd3af5acdfdfee144e10dc678157 Mon Sep 17 00:00:00 2001 From: bjarni Date: Sun, 11 Mar 2007 10:55:35 +0000 Subject: (svn r9111) -Feature: [OSX] mighty mice and touchpads can now scroll the map (in all directions) It has to be enabled first (in patches->interface) first and this will disable scrollwheel zooming Note: patch setting "Map scrollwheel speed" might need to be changed since the "correct" setting appears to depend on what kind of mouse is in use (mighty mouse or touchpad) --- src/settings_gui.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/settings_gui.cpp') diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 53cf59575..93b0cf78d 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -575,6 +575,13 @@ static const char *_patches_ui[] = { "link_terraform_toolbar", "liveries", "prefer_teamchat", +#if defined(__APPLE__) + /* While the horizontal scrollwheel scrolling is written as general code, only + * the cocoa (OSX) driver generates input for it. + * Until some other driver will read this input, we will hide the GUI to control this from other systems. */ + "scrollwheel_scrolling", + "scrollwheel_multiplier", +#endif }; static const char *_patches_construction[] = { -- cgit v1.2.3-54-g00ecf