- Timestamp:
- Nov 24, 2013, 11:15:46 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/wiimote/src/libraries/core/input/InputManager.cc
r9790 r9805 254 254 255 255 } 256 try 257 { 258 orxout()<<devices_.size(); 259 devices_.push_back(new WiiMote(devices_.size(), *(new CWiimote()))); 260 //devices_[2] = new WiiMote(devices_.size(), *(new CWiimote())); 261 262 } 263 catch(std::exception& e) //gotta catch em all 264 { 265 orxout()<<"Exception loading WiiMote!!!1!11!"; 266 } 256 try 257 { 258 orxout()<< "Size of devices vector before wiimote insertion:" << devices_.size() << std::endl; 259 devices_.push_back(new WiiMote(devices_.size(), *(new CWiimote()))); 260 //devices_[2] = new WiiMote(devices_.size(), *(new CWiimote())); 261 orxout()<< "Size of devices vector after wiimote insertion:" << devices_.size() << std::endl; 262 263 } 264 catch(std::exception& e) //gotta catch em all 265 { 266 orxout()<<"Exception loading WiiMote!!!1!11!"; 267 } 267 268 268 269 } … … 475 476 if (rit->second->isInputDeviceEnabled(i) && (!occupied || rit->second->bAlwaysGetsInput_)) 476 477 { 477 478 orxout() << "Success with ID " << i <<std::endl; 478 479 states.push_back(rit->second); 479 480 if (!rit->second->bTransparent_)
Note: See TracChangeset
for help on using the changeset viewer.