mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
More files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1767 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
90560511c9
commit
96d6fc6e85
17
Source/Core/InputCommon/Src/InputCommon.cpp
Normal file
17
Source/Core/InputCommon/Src/InputCommon.cpp
Normal file
@ -0,0 +1,17 @@
|
||||
#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;
|
||||
}
|
||||
}
|
8
Source/Core/InputCommon/Src/InputCommon.h
Normal file
8
Source/Core/InputCommon/Src/InputCommon.h
Normal file
@ -0,0 +1,8 @@
|
||||
#include "EventHandler.h"
|
||||
|
||||
extern EventHandler *eventHandler;
|
||||
|
||||
namespace InputCommon {
|
||||
void Init();
|
||||
void Shutdown();
|
||||
}
|
Loading…
Reference in New Issue
Block a user