[Orxonox-commit 2995] r7691 - code/branches/ois_update/src/external/ois/mac
youngk at orxonox.net
youngk at orxonox.net
Wed Dec 1 16:28:07 CET 2010
Author: youngk
Date: 2010-12-01 16:28:06 +0100 (Wed, 01 Dec 2010)
New Revision: 7691
Modified:
code/branches/ois_update/src/external/ois/mac/MacKeyboard.cpp
Log:
Marked output of OIS TODO section. Fixme.
Modified: code/branches/ois_update/src/external/ois/mac/MacKeyboard.cpp
===================================================================
--- code/branches/ois_update/src/external/ois/mac/MacKeyboard.cpp 2010-12-01 14:21:11 UTC (rev 7690)
+++ code/branches/ois_update/src/external/ois/mac/MacKeyboard.cpp 2010-12-01 15:28:06 UTC (rev 7691)
@@ -198,7 +198,7 @@
UniChar text[10];
char macChar;
- // TODO clean this up
+ // @TODO clean this up
if (mTextMode == Unicode)
{
//get string size
@@ -206,7 +206,7 @@
//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;
+ std::cout << "OIS: MacKeyboard::_keyDownCallback(): String length: " << stringsize << std::endl;
//wstring unitext;
//for (int i=0;i<10;i++) unitext += (wchar_t)text[i];
More information about the Orxonox-commit
mailing list