[Orxonox-commit 5152] r9817 - code/branches/wiimote/src/libraries/core/input

georgr at orxonox.net georgr at orxonox.net
Mon Nov 25 15:57:49 CET 2013


Author: georgr
Date: 2013-11-25 15:57:49 +0100 (Mon, 25 Nov 2013)
New Revision: 9817

Modified:
   code/branches/wiimote/src/libraries/core/input/InputManager.cc
Log:
Test


Modified: code/branches/wiimote/src/libraries/core/input/InputManager.cc
===================================================================
--- code/branches/wiimote/src/libraries/core/input/InputManager.cc	2013-11-25 14:50:41 UTC (rev 9816)
+++ code/branches/wiimote/src/libraries/core/input/InputManager.cc	2013-11-25 14:57:49 UTC (rev 9817)
@@ -233,7 +233,7 @@
     	int index;
 
     	// Find and connect to the wiimotes
-    	std::vector<CWiimote>& wiimotes = wii.FindAndConnect(30);
+    	std::vector<CWiimote>& wiimotes = wii.FindAndConnect(10);
     	if (!wiimotes.size())
     	{
     		cout << "No wiimotes found." << endl;
@@ -264,6 +264,7 @@
     	                 orxout()<<"Exception loading WiiMote!!!1!11!";
     	               }
 
+    	               exit(0);
 
     	}
 




More information about the Orxonox-commit mailing list