dolphin/Source/Core/InputCommon/Src/InputCommon.cpp

18 lines
286 B
C++

#include "EventHandler.h"
EventHandler *eventHandler = NULL;
namespace InputCommon {
void Init() {
#if defined GLTEST && GLTEST
// init the event handler
eventHandler = new EventHandler();
#endif
}
void Shutdown() {
if (eventHandler)
delete eventHandler;
}
}