diff options
author | Gregory Montoir | 2005-11-01 13:56:04 +0000 |
---|---|---|
committer | Gregory Montoir | 2005-11-01 13:56:04 +0000 |
commit | 29722f03d377c990f5fb5715141553ebd874e2b9 (patch) | |
tree | 85db29551669a59db9d25e2a540209c0616099a5 | |
parent | ed8fb560b5d01e6761e3a3db1ab98cb111a08bed (diff) | |
download | scummvm-rg350-29722f03d377c990f5fb5715141553ebd874e2b9.tar.gz scummvm-rg350-29722f03d377c990f5fb5715141553ebd874e2b9.tar.bz2 scummvm-rg350-29722f03d377c990f5fb5715141553ebd874e2b9.zip |
updated mouse position whenever the user clicked or moved the mouse. This can be useful for systems with touchpad / pen.
svn-id: r19384
-rw-r--r-- | queen/input.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/queen/input.cpp b/queen/input.cpp index 8f84ea8742..d99262d898 100644 --- a/queen/input.cpp +++ b/queen/input.cpp @@ -111,18 +111,14 @@ void Input::delay(uint amount) { case OSystem::EVENT_LBUTTONDOWN: _mouseButton |= MOUSE_LBUTTON; -#if defined(_WIN32_WCE) || defined(__PALM_OS__) _mouse_x = event.mouse.x; _mouse_y = event.mouse.y; -#endif break; case OSystem::EVENT_RBUTTONDOWN: _mouseButton |= MOUSE_RBUTTON; -#if defined(_WIN32_WCE) || defined(__PALM_OS__) _mouse_x = event.mouse.x; _mouse_y = event.mouse.y; -#endif break; case OSystem::EVENT_QUIT: |