mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-02 08:22:43 +00:00
add inputcommon and padsimpleEvnt to windows build. note: the plugin is disabled atm; it builds but isn't fit for general consumption. Also a bit of dolphin-style cleanup on inputcommon
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1768 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
96d6fc6e85
commit
34cad180e8
11 changed files with 788 additions and 1306 deletions
|
@ -2,16 +2,19 @@
|
|||
|
||||
EventHandler *eventHandler = NULL;
|
||||
|
||||
namespace InputCommon {
|
||||
void Init() {
|
||||
namespace InputCommon
|
||||
{
|
||||
void Init()
|
||||
{
|
||||
#if defined GLTEST && GLTEST
|
||||
// init the event handler
|
||||
eventHandler = new EventHandler();
|
||||
// init the event handler
|
||||
eventHandler = new EventHandler();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
void Shutdown() {
|
||||
if (eventHandler)
|
||||
delete eventHandler;
|
||||
}
|
||||
void Shutdown()
|
||||
{
|
||||
if (eventHandler)
|
||||
delete eventHandler;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue