コード例 #1
0
ファイル: input.cpp プロジェクト: mvanderkolff/navi-misc
void COgreKeyboard::init ( RenderWindow *theWindow )
{
	if (eventProcessor)
		kill();

	eventProcessor = new EventProcessor();
	eventProcessor->initialise(theWindow);
	eventProcessor->addKeyListener(this);

	eventProcessor->startProcessingEvents();
}