Changeset 3311
- Timestamp:
- Jul 19, 2009, 12:31:28 PM (15 years ago)
- Location:
- code/branches/core4/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/core/input/InputManager.cc
r3310 r3311 177 177 paramList.insert(std::make_pair(std::string("WINDOW"), windowHndStr.str())); 178 178 #if defined(ORXONOX_PLATFORM_WINDOWS) 179 paramList.insert(std::make_pair(std::string("w32_mouse"), std::string("DISCL_NONEXCLUSIVE")));180 paramList.insert(std::make_pair(std::string("w32_mouse"), std::string("DISCL_FOREGROUND")));181 paramList.insert(std::make_pair(std::string("w32_keyboard"), std::string("DISCL_NONEXCLUSIVE")));182 paramList.insert(std::make_pair(std::string("w32_keyboard"), std::string("DISCL_FOREGROUND")));179 //paramList.insert(std::make_pair(std::string("w32_mouse"), std::string("DISCL_NONEXCLUSIVE"))); 180 //paramList.insert(std::make_pair(std::string("w32_mouse"), std::string("DISCL_FOREGROUND"))); 181 //paramList.insert(std::make_pair(std::string("w32_keyboard"), std::string("DISCL_NONEXCLUSIVE"))); 182 //paramList.insert(std::make_pair(std::string("w32_keyboard"), std::string("DISCL_FOREGROUND"))); 183 183 #elif defined(ORXONOX_PLATFORM_LINUX) 184 184 paramList.insert(std::make_pair(std::string("XAutoRepeatOn"), std::string("true"))); -
code/branches/core4/src/orxonox/gui/GUIManager.cc
r3310 r3311 420 420 void GUIManager::mouseMoved(IntVector2 abs, IntVector2 rel, IntVector2 clippingSize) 421 421 { 422 //guiSystem_->injectMouseMove(static_cast<float>(rel.x), static_cast<float>(rel.y)); 423 guiSystem_->injectMousePosition(static_cast<float>(abs.x), static_cast<float>(abs.y)); 422 guiSystem_->injectMouseMove(static_cast<float>(rel.x), static_cast<float>(rel.y)); 424 423 } 425 424 void GUIManager::mouseScrolled(int abs, int rel)
Note: See TracChangeset
for help on using the changeset viewer.