mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-26 19:31:39 -05:00
almost made the event handler into singleton having access problems
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1795 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@@ -89,7 +89,8 @@ void __Logv(int log, int v, const char *format, ...) {}
|
||||
bool registerKey(int nPad, int id, sf::Key::Code code, int mods) {
|
||||
|
||||
Keys key, oldKey;
|
||||
|
||||
EventHandler *eventHandler = EventHandler::GetInstance();
|
||||
|
||||
key.inputType = KeyboardInput;
|
||||
key.keyCode = code;
|
||||
key.mods = mods;
|
||||
|
||||
Reference in New Issue
Block a user