- Timestamp:
- Nov 25, 2013, 3:50:41 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/wiimote/src/libraries/core/input/InputManager.cc
r9813 r9816 252 252 CWiimote::LED_3, CWiimote::LED_4}; 253 253 wiimote.SetLEDs(LED_MAP[index]); 254 try 255 { 256 orxout()<< "Size of devices vector before wiimote insertion:" << devices_.size() << std::endl; 257 devices_.push_back(new WiiMote(devices_.size(), *i)); 258 //devices_[2] = new WiiMote(devices_.size(), *(new CWiimote())); 259 orxout()<< "Size of devices vector after wiimote insertion:" << devices_.size() << std::endl; 260 261 } 262 catch(std::exception& e) //gotta catch em all 263 { 264 orxout()<<"Exception loading WiiMote!!!1!11!"; 265 } 254 266 255 267 256 268 } 257 try 258 { 259 orxout()<< "Size of devices vector before wiimote insertion:" << devices_.size() << std::endl; 260 devices_.push_back(new WiiMote(devices_.size(), *(new CWiimote()))); 261 //devices_[2] = new WiiMote(devices_.size(), *(new CWiimote())); 262 orxout()<< "Size of devices vector after wiimote insertion:" << devices_.size() << std::endl; 263 264 } 265 catch(std::exception& e) //gotta catch em all 266 { 267 orxout()<<"Exception loading WiiMote!!!1!11!"; 268 } 269 269 270 270 271 }
Note: See TracChangeset
for help on using the changeset viewer.