- Timestamp:
- Oct 28, 2013, 4:07:58 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/wiimote/src/libraries/core/input/InputManager.cc
r9667 r9723 58 58 #include "Keyboard.h" 59 59 60 #include "WiiMote.h" 61 60 62 namespace orxonox 61 63 { … … 218 220 // Reorder states in case some joy sticks were added/removed 219 221 this->updateActiveStates(); 220 222 this->loadWiiMote(); 221 223 orxout(verbose, context::input) << "Input devices loaded." << endl; 222 224 } 223 225 void InputManager::loadWiiMote() 226 { 227 try 228 { 229 devices_.push_back(new WiiMote(234)); 230 } 231 catch(std::exception& e) //gotta catch em all 232 { 233 orxout()<<"Exception loading WiiMote!!!1!11!"; 234 } 235 } 224 236 //! Creates a new orxonox::Mouse 225 237 void InputManager::loadMouse()
Note: See TracChangeset
for help on using the changeset viewer.