diff options
author | Oystein Eftevaag | 2010-06-03 03:22:10 +0000 |
---|---|---|
committer | Oystein Eftevaag | 2010-06-03 03:22:10 +0000 |
commit | 90649938d2d70115967c45cdd1cbb8dab1635794 (patch) | |
tree | 4e74acce4ef2f45f6896d77655f63d7428d8c39a /backends/platform/iphone/osys_main.cpp | |
parent | 0d0abbc91a5fb0559e891a6f1f528a8c0dfa0b2f (diff) | |
download | scummvm-rg350-90649938d2d70115967c45cdd1cbb8dab1635794.tar.gz scummvm-rg350-90649938d2d70115967c45cdd1cbb8dab1635794.tar.bz2 scummvm-rg350-90649938d2d70115967c45cdd1cbb8dab1635794.zip |
We'll now default to non-touchpad mode on the iPad
svn-id: r49403
Diffstat (limited to 'backends/platform/iphone/osys_main.cpp')
-rw-r--r-- | backends/platform/iphone/osys_main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/platform/iphone/osys_main.cpp b/backends/platform/iphone/osys_main.cpp index b151688e4e..6c26b6ca8d 100644 --- a/backends/platform/iphone/osys_main.cpp +++ b/backends/platform/iphone/osys_main.cpp @@ -57,7 +57,7 @@ OSystem_IPHONE::OSystem_IPHONE() : _overlayVisible(false), _overlayBuffer(NULL), _fullscreen(NULL), _mouseHeight(0), _mouseWidth(0), _mouseBuf(NULL), _lastMouseTap(0), _secondaryTapped(false), _lastSecondaryTap(0), _screenOrientation(kScreenOrientationFlippedLandscape), - _needEventRestPeriod(false), _mouseClickAndDragEnabled(false), _touchpadModeEnabled(true), + _needEventRestPeriod(false), _mouseClickAndDragEnabled(false), _gestureStartX(-1), _gestureStartY(-1), _fullScreenIsDirty(false), _fullScreenOverlayIsDirty(false), _mouseDirty(false), _timeSuspended(0), _lastDragPosX(-1), _lastDragPosY(-1), _screenChangeCount(0) @@ -65,6 +65,7 @@ OSystem_IPHONE::OSystem_IPHONE() : _queuedInputEvent.type = (Common::EventType)0; _lastDrawnMouseRect = Common::Rect(0, 0, 0, 0); + _touchpadModeEnabled = !iPhone_isHighResDevice(); _fsFactory = new POSIXFilesystemFactory(); } |