summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/InputCommon.cpp
blob: 2d2188477d1dfd09c2e369e65ff9d20a9de5d2b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "EventHandler.h"

EventHandler *eventHandler = NULL;

namespace InputCommon
{
    void Init() {
	// init the event handler
	eventHandler = new EventHandler();
    }
    
    void Shutdown() {
	if (eventHandler)
	    delete eventHandler;
    }
}