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

17 lines
254 B
C++

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