[Orxonox-commit 3385] r8072 - code/branches/mac_osx/src/external/ois/mac

rgrieder at orxonox.net rgrieder at orxonox.net
Mon Mar 14 04:05:14 CET 2011


Author: rgrieder
Date: 2011-03-14 04:05:13 +0100 (Mon, 14 Mar 2011)
New Revision: 8072

Modified:
   code/branches/mac_osx/src/external/ois/mac/MacKeyboard.cpp
Log:
Removed some debugging stuff.
Kevin, I hope this is OK?

Modified: code/branches/mac_osx/src/external/ois/mac/MacKeyboard.cpp
===================================================================
--- code/branches/mac_osx/src/external/ois/mac/MacKeyboard.cpp	2011-03-14 02:53:38 UTC (rev 8071)
+++ code/branches/mac_osx/src/external/ois/mac/MacKeyboard.cpp	2011-03-14 03:05:13 UTC (rev 8072)
@@ -198,20 +198,12 @@
 	UniChar text[10];
 	char macChar;
 	
-	// TODO clean this up
 	if (mTextMode == Unicode)
 	{
 		//get string size
 		UInt32 stringsize;
-		//status = GetEventParameter( theEvent, 'kuni', typeUnicodeText, NULL, 0, &stringsize, NULL);
-		//status = GetEventParameter( theEvent, 'kuni', typeUnicodeText, NULL, sizeof(UniChar)*10, NULL, &text );
 		status = GetEventParameter( theEvent, 'kuni', typeUnicodeText, NULL, sizeof(UniChar) * 10, &stringsize, &text );
-		std::cout << "String length: " << stringsize << std::endl;
 		
-		//wstring unitext;
-		//for (int i=0;i<10;i++) unitext += (wchar_t)text[i];
-		//wcout << "Unicode out: " << unitext << endl;
-		
 		if(stringsize > 0)
 		{
 			// for each unicode char, send an event




More information about the Orxonox-commit mailing list