mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-03 11:31:46 +02:00
18 lines
286 B
C++
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;
|
||
|
}
|
||
|
}
|